src: add error page

This commit is contained in:
notohh 2025-01-27 16:37:03 -05:00
parent b8349affef
commit 699ad02b81
Signed by: notohh
GPG key ID: BD47506D475EE86D
2 changed files with 11 additions and 0 deletions
src
lib/images
routes

BIN
src/lib/images/fdm.png Normal file

Binary file not shown.

After

(image error) Size: 20 KiB

11
src/routes/+error.svelte Normal file
View file

@ -0,0 +1,11 @@
<script lang="ts">
import { page } from "$app/state";
import fdm from "$lib/images/fdm.png";
</script>
<div
class="font-display flex flex-col items-center justify-center h-screen bg-eerie-black text-floral-white"
>
<img src={fdm} alt="feelsdankman" />
<h1>{page.status}: {page.error?.message}</h1>
</div>