"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { BookOpen, Rocket, Upload, FileText, Plug, BarChart3, HelpCircle, Wrench, LifeBuoy, ArrowRight, } from "lucide-react"; import { Button } from "@/components/ui/button"; import { cn } from "@/lib/utils"; import { openContactSupport } from "@/components/support/contact-support-dialog"; const SECTIONS = [ { href: "/docs", label: "Overview", icon: BookOpen, exact: true }, { href: "/docs/getting-started", label: "Getting Started", icon: Rocket }, { href: "/docs/uploading-cards", label: "Uploading Cards", icon: Upload }, { href: "/docs/forms-templates", label: "Forms & Templates", icon: FileText }, { href: "/docs/integrations", label: "Integrations", icon: Plug }, { href: "/docs/reports-exports", label: "Reports & Exports", icon: BarChart3 }, { href: "/docs/faq", label: "FAQ", icon: HelpCircle }, { href: "/docs/troubleshooting", label: "Troubleshooting", icon: Wrench }, ]; export default function DocsLayout({ children, }: { children: React.ReactNode; }) { const pathname = usePathname(); return (
{children}
); }