mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-29 07:01:44 +00:00
- Bump @hanzo/docs-mdx 14.2.11 -> 14.3.1 (surpass orphaned 14.3.0 on npm) - Bump @hanzo/docs-docgen 3.0.8 -> 3.1.1 (surpass orphaned 3.1.0 on npm) - Set changeset access to public for scoped @hanzo/* packages - Update create-app templates to use getPageMarkdownUrl() helper
26 lines
829 B
TypeScript
26 lines
829 B
TypeScript
import type { Route } from './+types/not-found';
|
|
import { HomeLayout } from '@hanzo/docs-ui/layouts/home';
|
|
import { Link } from 'react-router';
|
|
import { baseOptions } from '@/lib/layout.shared';
|
|
|
|
export function meta({}: Route.MetaArgs) {
|
|
return [{ title: 'Not Found' }];
|
|
}
|
|
|
|
export default function NotFound() {
|
|
return (
|
|
<HomeLayout {...baseOptions()}>
|
|
<div className="p-4 flex flex-col items-center justify-center text-center flex-1">
|
|
<h1 className="text-xl font-bold mb-2">Not Found</h1>
|
|
<p className="text-fd-muted-foreground mb-4">This page could not be found.</p>
|
|
<Link
|
|
className="text-sm bg-fd-primary text-fd-primary-foreground rounded-full font-medium px-4 py-2.5"
|
|
to="/docs"
|
|
>
|
|
Back to Docs
|
|
</Link>
|
|
</div>
|
|
</HomeLayout>
|
|
);
|
|
}
|