mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-27 09:19:53 +00:00
- New Fumadocs-based docs app at apps/dev-docs/ (port 3003) - Ported 16+ markdown docs from hanzoai/dev as MDX with navigation - Landing page with terminal preview, features grid, quick start - 28 docs pages: getting-started, usage, config, integrations, reference - Static export to out/ with shiki code highlighting - CI: add GITHUB_PAGES env, NODE_OPTIONS, SKIP_DTS for faster builds
23 lines
516 B
TypeScript
23 lines
516 B
TypeScript
import type { ReactNode } from 'react';
|
|
import { HomeLayout } from '@hanzo/docs/ui/layouts/home';
|
|
import { baseOptions, linkItems, logo } from '@/lib/layout.shared';
|
|
|
|
export default function Layout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<HomeLayout
|
|
{...baseOptions()}
|
|
links={linkItems}
|
|
nav={{
|
|
title: (
|
|
<>
|
|
{logo}
|
|
<span className="font-bold">Hanzo Dev</span>
|
|
</>
|
|
),
|
|
}}
|
|
>
|
|
{children}
|
|
</HomeLayout>
|
|
);
|
|
}
|