"use client"; import { cn } from "@/lib/utils"; import { Activity, AppWindow, Globe, LayoutDashboard, Shield, ShieldAlert, Server, Zap, Radio, Lock, Search } from "lucide-react"; import Link from "next/link"; import { usePathname } from "next/navigation"; const navigation = [ { name: "Summary", href: "/", icon: LayoutDashboard }, { name: "Agents", href: "/agents", icon: Server }, { name: "Devices", href: "/devices", icon: Server }, { name: "Flows", href: "/flows", icon: Activity }, { name: "Apps", href: "/apps", icon: AppWindow }, { name: "App Database", href: "/lookup", icon: Search }, { name: "Threats", href: "/threats", icon: ShieldAlert }, { name: "Geography", href: "/geography", icon: Globe }, { name: "DNS", href: "/dns", icon: Radio }, { name: "Events", href: "/events", icon: Zap }, { name: "Network Intelligence", href: "/network-intelligence", icon: Activity }, { name: "Security Audit", href: "/security-audit", icon: Lock }, { name: "Intelligence", href: "/intelligence", icon: Shield }, { name: "Network Infra", href: "/network-infrastructure", icon: Server }, { name: "DPI Analytics", href: "/dpi-analytics", icon: Activity }, ]; export function Sidebar() { const pathname = usePathname(); return (