"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { BookOpen, Layers, ArrowRightLeft, Database, FileCode, Settings, Server, } from "lucide-react"; const sections = [ { title: "Getting Started", items: [{ title: "Overview", href: "/docs", icon: BookOpen }], }, { title: "Architecture", items: [ { title: "System Overview", href: "/docs/architecture", icon: Layers }, { title: "Data Flow", href: "/docs/architecture/data-flow", icon: ArrowRightLeft, }, { title: "Database Schema", href: "/docs/architecture/database", icon: Database, }, ], }, { title: "API", items: [ { title: "API Reference", href: "/docs/api", icon: FileCode }, { title: "Configuration", href: "/docs/configuration", icon: Settings }, ], }, { title: "Deployment", items: [ { title: "Self-Hosting", href: "/docs/self-hosting", icon: Server }, ], }, ]; export function DocsSidebar() { const pathname = usePathname(); return ( ); }