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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 MiB

16
src/pages/404.astro Normal file
View file

@ -0,0 +1,16 @@
---
export const prerender = true
import BaseLayout from '../layouts/base.astro'
---
<BaseLayout>
<div class='flex flex-1 flex-col bg-soc-green-dark py-6'>
<div class='text-md` text-center'>
<a class='text-blue-500 underline' href='https://twitter.com/i/status/1890946922908721317'>Boat Goes Binted</a>
</div>
<video class='mt-4' controls autoplay style={{ height: '350px', width: 'auto' }}>
<source src='/public/video/boat-goes-binted.mp4' type='video/mp4' />
</video>
</div>
</BaseLayout>

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>

View file

@ -0,0 +1,20 @@
---
export const prerender = true
import { Image } from 'astro:assets'
import BaseLayout from '../layouts/base.astro'
import GuraGif from '../img/assets/doggo-thumbs-up.gif'
import discord from 'img/socials/discord.png'
---
<BaseLayout>
<div class='flex flex-1 flex-col bg-soc-green-dark py-6'>
<div class='text-md` text-center'>
We got our best dogs improving the site. Join <a class='text-blue-600 underline' href='https://discord.gg/x23SFbE'
>our Discord Server</a
> for updates
</div>
<Image src={GuraGif} alt='Gawr Gura roomba' class='size-80 mx-auto mt-4' />
</div>
</BaseLayout>