feat: add a 'not found' page

This commit is contained in:
Ayo Ayco 2024-08-16 15:53:00 +02:00
parent 9456a11732
commit bc55f3f39e

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

@ -0,0 +1,19 @@
---
import AddressBar from "../components/AddressBar.astro";
import Layout from "../layouts/Layout.astro";
import Library from "../components/Library.astro";
import Footer from "../components/Footer.astro";
export const prerender = false;
---
<Layout article={null}>
<AddressBar url="" />
<div slot="post">
<h1>
404: Not Found
</h1>
</div>
<Library slot="library" skipSave />
<Footer slot="footer" />
</Layout>