<script lang="ts">
  import { page } from '$app/state';
</script>

<svelte:head>
  <title>{page.status} | Squiggleverse</title>
</svelte:head>

<main class="error-page">
  <h1>{page.status}</h1>
  <p>{page.error?.message ?? 'This page is floating somewhere else.'}</p>
  <a href="/">Return home</a>
</main>
