"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { BookOpenCheck, CalendarDays, ClipboardCheck, DatabaseZap, Gauge, Library, ListChecks, Settings, ShieldAlert } from "lucide-react"; const navItems = [ { href: "/dashboard", label: "仪表盘", icon: Gauge }, { href: "/sessions", label: "答疑场次", icon: CalendarDays }, { href: "/review", label: "待审核", icon: ClipboardCheck }, { href: "/high-risk", label: "高风险", icon: ShieldAlert }, { href: "/standard-qa", label: "标准库", icon: Library }, { href: "/callable-qa", label: "可调用库", icon: DatabaseZap }, { href: "/logs", label: "运行日志", icon: ListChecks }, { href: "/settings", label: "系统设置", icon: Settings } ]; export default function Sidebar() { const pathname = usePathname(); return ( ); }