mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-28 07:09:50 +00:00
Merges upstream commits 1ad82416..20cf96d42 from fuma-nama/fumadocs dev branch, including: - Core/UI/Base-UI version bump 16.5.3 -> 16.6.5 - OpenAPI version bump 10.3.4 -> 10.3.9 (3.2 support, server selector) - TypeScript version bump 5.1.3 -> 5.1.4 (tag parser, type table ID) - Markdown search improvements (inline elements, codeblocks, Vietnamese) - CSS performance improvements and accessibility fixes - MDX stringification using mdast-util-to-markdown - Sidebar active link items support - Mixedbread search moved to server-side - Tailwind CSS plugin forwarding for module resolution - Cursor integration replacing T3 Chat in templates - Template cleanup (removed deprecated mdx-remote example) All fumadocs-* packages renamed to @hanzo/docs-* namespace. Removed duplicate +next+fuma-docs-mdx templates (using hanzo-docs-mdx). Upstream metadata (homepage, repository) updated to Hanzo.
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>
|
|
);
|
|
}
|