src: add nav bar and error page

This commit is contained in:
notohh 2025-01-27 16:59:58 -05:00
parent 699ad02b81
commit 24f76ace4a
Signed by: notohh
GPG key ID: BD47506D475EE86D
3 changed files with 18 additions and 1 deletions

View file

@ -6,6 +6,6 @@
<div
class="font-display flex flex-col items-center justify-center h-screen bg-eerie-black text-floral-white"
>
<img src={fdm} alt="feelsdankman" />
<img class="mb-4" src={fdm} alt="feelsdankman" />
<h1>{page.status}: {page.error?.message}</h1>
</div>

View file

@ -2,4 +2,16 @@
import "../app.css";
</script>
<div
class="font-display flex items-center h-10 justify-center bg-eerie-black text-floral-white"
>
<nav class="space-x-4">
<a href="/" class="hover:text-timber-wolf">home</a>
<a href="/about" class="hover:text-timber-wolf">about</a>
<a href="https://status.flake.sh/status/kumo" class="hover:text-timber-wolf"
>status</a
>
</nav>
</div>
<slot />

View file

@ -0,0 +1,5 @@
<div
class="font-display flex flex-col items-center justify-center h-screen bg-eerie-black text-floral-white"
>
<h1>nothing here yet lol</h1>
</div>