fix: remove duplicate middleware, add some docs content

This commit is contained in:
Waleed Latif
2025-03-14 17:06:57 -07:00
parent c3aa3261f5
commit 13134f801c
4 changed files with 10 additions and 55 deletions

View File

@@ -3,6 +3,7 @@ import Link from 'next/link'
import { DocsLayout } from 'fumadocs-ui/layouts/docs'
import { GithubIcon } from 'lucide-react'
import { source } from '@/lib/source'
import { AgentIcon } from '@/components/icons'
const GitHubLink = () => (
<div className="fixed bottom-4 left-4 z-50">
@@ -23,7 +24,12 @@ export default function Layout({ children }: { children: ReactNode }) {
<DocsLayout
tree={source.pageTree}
nav={{
title: 'Sim Studio',
title: (
<div className="flex items-center gap-2">
<AgentIcon className="h-4 w-4" />
Sim Studio
</div>
),
}}
>
{children}