diff options
| author | Dawid Rycerz <dawid@rycerz.xyz> | 2025-07-21 21:56:55 +0300 |
|---|---|---|
| committer | Dawid Rycerz <dawid@rycerz.xyz> | 2025-07-21 21:56:55 +0300 |
| commit | c735556726e75428550a3d28a2cf58e2c8490b7d (patch) | |
| tree | fd0ae29d1636b825abeedff6b99d3376bb383135 /src/pages/404.astro | |
Initial template
Diffstat (limited to 'src/pages/404.astro')
| -rw-r--r-- | src/pages/404.astro | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/pages/404.astro b/src/pages/404.astro new file mode 100644 index 0000000..9ef7a08 --- /dev/null +++ b/src/pages/404.astro @@ -0,0 +1,24 @@ +--- +import Layout from '~/layouts/Layout.astro'; +import { getHomePermalink } from '~/utils/permalinks'; + +const title = `Error 404`; +--- + +<Layout metadata={{ title }}> + <section class="flex items-center h-full p-16"> + <div class="container flex flex-col items-center justify-center px-5 mx-auto my-8"> + <div class="max-w-md text-center"> + <h2 class="mb-8 font-bold text-9xl"> + <span class="sr-only">Error</span> + <span class="text-primary">404</span> + </h2> + <p class="text-3xl font-semibold md:text-3xl">Sorry, we couldn't find this page.</p> + <p class="mt-4 mb-8 text-lg text-muted dark:text-slate-400"> + But dont worry, you can find plenty of other things on our homepage. + </p> + <a rel="noopener noreferrer" href={getHomePermalink()} class="btn ml-4">Back to homepage</a> + </div> + </div> + </section> +</Layout> |
