"use client"; import { useState } from "react"; interface NavItem { title: string; href: string; } interface NavSection { heading: string; items: NavItem[]; } const navigation: NavSection[] = [ { heading: "Overview", items: [ { title: "Introduction", href: "/docs" }, { title: "Getting Started", href: "/docs/getting-started" }, { title: "Core Concepts", href: "/docs/concepts" }, ], }, { heading: "SDKs", items: [ { title: "Python SDK", href: "/docs/python-sdk" }, { title: "TypeScript SDK", href: "/docs/typescript-sdk" }, ], }, { heading: "Integrations", items: [ { title: "OpenAI", href: "/docs/integrations/openai" }, { title: "Anthropic", href: "/docs/integrations/anthropic" }, { title: "LangChain", href: "/docs/integrations/langchain" }, ], }, { heading: "Tools", items: [{ title: "OpenCode Plugin", href: "/docs/opencode-plugin" }], }, { heading: "Reference", items: [ { title: "REST API", href: "/docs/api-reference" }, { title: "Self-Hosting", href: "/docs/self-hosting" }, ], }, ]; function SidebarContent() { return ( ); } export function DocsSidebar() { const [mobileOpen, setMobileOpen] = useState(false); return ( <> {mobileOpen && (