feat: add 404 not found page
This commit is contained in:
parent
0cca11aec6
commit
ea000a2eca
1 changed files with 18 additions and 0 deletions
18
src/pages/404.astro
Normal file
18
src/pages/404.astro
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
import MainLayout from "~/layouts/main.astro"
|
||||
---
|
||||
|
||||
<MainLayout title="404" description="Error 404 page not found." noindex={true}>
|
||||
<section class="flex min-h-[60vh] items-center justify-center">
|
||||
<div class="mx-auto max-w-xl px-4 text-center">
|
||||
<h1 class="text-9xl font-bold text-gray-900 dark:text-gray-100">404</h1>
|
||||
|
||||
<div class="mt-4 text-gray-600 dark:text-gray-400">
|
||||
<div class="h2 mb-4">Oops! Page not found</div>
|
||||
<p class="text-lg">
|
||||
The page you're looking for doesn't exist or has been moved.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</MainLayout>
|
||||
Loading…
Add table
Reference in a new issue