import { cn } from "@/common/utils"; import { Activity, BookOpen, ChevronLeft, ChevronRight, Crosshair, LayoutDashboard, Lock, MessageSquare, Monitor, ScrollText, Search, Settings, Wrench, } from "lucide-react"; import { Link, useLocation } from "react-router-dom"; interface SidebarProps { collapsed: boolean; onToggle: () => void; } export function Sidebar({ collapsed, onToggle }: SidebarProps) { const location = useLocation(); const navItems = [ { href: "/", label: "Overview", icon: LayoutDashboard }, { href: "/windows", label: "Windows", icon: LayoutDashboard }, { href: "/elements", icon: Monitor, label: "UI Elements" }, { href: "/crawler", icon: Search, label: "App Crawler" }, { href: "/tools", label: "Tools Hub", icon: Wrench }, { href: "/targets", label: "Targets", icon: Crosshair }, { href: "/chat", label: "Local LLM", icon: MessageSquare }, { href: "/help", label: "Help", icon: BookOpen }, { href: "/biometrics", label: "Biometrics", icon: Lock }, { href: "/logs", label: "Logs", icon: ScrollText }, { href: "/settings", label: "Settings", icon: Settings }, ]; return ( ); }