mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-28 07:09:50 +00:00
Migrated 93 MDX pages from old Tamagui-based site to @hanzo/docs system: - 13 intro pages (installation, props, styles, themes, etc.) - 22 core pages (configuration, styled, variants, animations, etc.) - 48 component pages (button, dialog, select, toast, etc.) - 14 guide pages (next-js, expo, vite, webpack, metro, etc.) Zero tamagui references. Uses @hanzo/docs-base-ui + @hanzo/docs-mdx.
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 GUI</span>
|
|
</>
|
|
),
|
|
}}
|
|
>
|
|
{children}
|
|
</HomeLayout>
|
|
);
|
|
}
|