feat: add a 'not found' page
This commit is contained in:
parent
9456a11732
commit
bc55f3f39e
1 changed files with 19 additions and 0 deletions
19
src/pages/404.astro
Normal file
19
src/pages/404.astro
Normal 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>
|
Loading…
Reference in a new issue