import { Gauge, ShoppingCart, Warehouse, BarChart3, ScanEye, Boxes, Tags } from "lucide-react"; import { NavLink } from "react-router-dom"; import { Sidebar, SidebarContent, SidebarGroup, SidebarGroupContent, SidebarMenu, SidebarMenuButton, SidebarMenuItem, SidebarFooter } from "@/components/ui/sidebar"; import { ThemeToggle } from "@/components/ThemeToggle"; import { cn } from "@/lib/utils"; // Remove this line: const menuItems = [{ title: "Dashboard", url: "/", icon: Gauge }, { title: "Operation Intelligence", url: "/operation-intelligence", icon: ScanEye }, { title: "Inventory", url: "/inventory", icon: Boxes }, { title: "Warehouse Operations", url: "/warehouse", icon: Warehouse }, { title: "Orders", url: "/orders", icon: ShoppingCart }, { title: "Analytics", url: "/analytics", icon: BarChart3 }, { title: "Products", url: "/product", icon: Tags }]; export function AppSidebar() { return
DroneX Logo

Aerostack

DroneX Delivery Solutions

{menuItems.map(item => cn("flex items-center gap-3 rounded-lg px-3 py-2 text-muted-foreground transition-all hover:text-primary", { "text-primary bg-muted": isActive })}> {item.title} )}
; }