import { DocsLayout } from 'fumadocs-ui/layouts/docs';
import { baseOptions } from '@/lib/layout.shared';
import { source } from '@/lib/source';
import { CodeXmlIcon, CompassIcon, ServerIcon } from 'lucide-react';
function TabIcon({
color = 'var(--color-fd-foreground)',
children,
}: {
color?: string;
children: React.ReactNode;
}) {
return (
{children}
);
}
function TabTitle({ children }: { children: React.ReactNode }) {
return {children};
}
export default function Layout({ children }: LayoutProps<'/'>) {
return (
// @ts-ignore
前端开发文档,
url: '/frontend',
icon: (
),
},
{
title: 'OpenIsle 后端',
description: 后端开发文档,
url: '/backend',
icon: (
),
},
{
title: 'OpenIsle API',
description: 后端 API 文档,
url: '/openapi',
icon: (
),
},
],
}}
{...baseOptions()}
>
{children}
);
}