generated from autonomic-cooperative/astro-payload-template
Create 404 page
This commit is contained in:
18
astro/src/pages/404.astro
Normal file
18
astro/src/pages/404.astro
Normal 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>
|
||||
Reference in New Issue
Block a user