Create 404 page

This commit is contained in:
tobias
2024-05-20 08:17:31 +02:00
parent f017fa28dc
commit 386b5c17f9
2 changed files with 54 additions and 0 deletions

18
astro/src/pages/404.astro Normal file
View File

@ -0,0 +1,18 @@
---
import ContentLayout from "@/layouts/ContentLayout.astro"
import { Image } from "@astrojs/image/components";
import notFound from "@/assets/404.svg"
---
<ContentLayout>
<div class="flex flex-col justify-center items-center gap-8">
<Image
src={notFound}
width={360}
aspectRatio={1}
format="svg"
alt={"404"}
/>
<h1>404: Page not found</h1>
</div>
</ContentLayout>