mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-29 07:01:44 +00:00
23 lines
518 B
TypeScript
23 lines
518 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 Tasks</span>
|
|
</>
|
|
),
|
|
}}
|
|
>
|
|
{children}
|
|
</HomeLayout>
|
|
);
|
|
}
|