"use client" import { X, LayoutDashboard, Database, Tags, LineChart, Brain, Package, Monitor, ChevronRight } from "lucide-react" import { cn } from "@/lib/utils" import Link from "next/link" import { usePathname } from "next/navigation" interface MobileSidebarProps { isOpen: boolean onClose: () => void } const NAV_ITEMS = [ { href: "/", label: "概览", icon: LayoutDashboard }, { href: "/data-governance", label: "数据治理", icon: Database }, { href: "/tag-portrait", label: "标签画像", icon: Tags }, { href: "/value-model", label: "价值模型", icon: LineChart }, { href: "/ai-insight", label: "AI洞察", icon: Brain }, { href: "/data-asset", label: "数据资产", icon: Package }, { href: "/monitoring", label: "系统监控", icon: Monitor }, ] export default function MobileSidebar({ isOpen, onClose }: MobileSidebarProps) { const pathname = usePathname() return (