Skip to content

Commit

Permalink
Add: 404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
esadek committed Nov 3, 2024
1 parent b003f92 commit 7c56065
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/pages/404.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
import Layout from "../layouts/Layout.astro";
---

<Layout title="Page Not Found">
<div>
<p>404</p>
<p class="heading">
Page not found
</p>
<p class="link">
<a href="/">&larr; Back to home</a>
</p>
</div>
</Layout>

<style>
div {
@apply flex flex-col justify-center text-center py-8;
}
.heading {
@apply text-5xl font-medium mt-4 mb-8;
}
</style>

0 comments on commit 7c56065

Please sign in to comment.