m0e.space/frontend/src/routes/__error.svelte

16 lines
380 B
Svelte

<script context="module" lang="ts">
// @ts-ignore
export const load = ({ status }) => ({ props: { status } });
</script>
<script lang="ts">
export let status: number;
</script>
<svelte:head>
<title>{status}</title>
</svelte:head>
<h1 class="text-white font-title error">{status}</h1>
<a class="text-white text-opacity-50 underline font-sans" href="/">Back to main page</a>