diff options
Diffstat (limited to 'src/pages/404.astro')
| -rw-r--r-- | src/pages/404.astro | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/pages/404.astro b/src/pages/404.astro new file mode 100644 index 0000000..5591bc7 --- /dev/null +++ b/src/pages/404.astro @@ -0,0 +1,29 @@ +--- +import Breadcrumbs from '@/components/Breadcrumbs.astro' +import Link from '@/components/Link.astro' +import PageHead from '@/components/PageHead.astro' +import { buttonVariants } from '@/components/ui/button' +import Layout from '@/layouts/Layout.astro' +import { cn } from '@/lib/utils' +--- + +<Layout class="max-w-3xl"> + <PageHead slot="head" title="404" /> + <Breadcrumbs items={[{ label: '???', icon: 'lucide:circle-help' }]} /> + + <section + class="flex flex-col items-center justify-center gap-y-4 text-center" + > + <div class="max-w-md"> + <h1 class="mb-4 text-3xl font-medium">404: Page not found</h1> + <p class="prose">Oops! The page you're looking for doesn't exist.</p> + </div> + <Link + href="/" + class={cn(buttonVariants({ variant: 'outline' }), 'flex gap-x-1.5 group')} + > + <span class="transition-transform group-hover:-translate-x-1">←</span + > Go to home page + </Link> + </section> +</Layout> |
