Add static error pages

This commit is contained in:
Jorge Vargas 2025-02-16 16:43:19 -06:00
parent b91335a999
commit 32ddb3324b
7 changed files with 52 additions and 0 deletions

15
src/pages/500.astro Normal file
View file

@ -0,0 +1,15 @@
---
export const prerender = true
import { Image } from 'astro:assets'
import BaseLayout from '../layouts/base.astro'
import GuraGif from '../img/assets/doggo-thumbs-up.gif'
---
<BaseLayout>
<div class='flex flex-1 flex-col bg-soc-green-dark py-6'>
<div class='text-md` text-center'>Something went wrong.... yubi yubi</div>
<Image src={GuraGif} alt='Gawr Gura roomba' class='size-80 mx-auto mt-4' />
</div>
</BaseLayout>