diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx new file mode 100644 index 0000000..576d477 --- /dev/null +++ b/src/components/Sidebar.tsx @@ -0,0 +1,72 @@ +import { useState } from "react"; +import { Link, useLocation } from "react-router-dom"; +import { LayoutDashboard, BarChart3, Users, Settings, Layers, Menu } from "lucide-react"; +import { Sheet, SheetTrigger, SheetContent } from "@/components/ui/sheet"; +import { Button } from "@/components/ui/button"; + +const navItems = [ + { label: "Dashboard", to: "/dashboard", icon: LayoutDashboard }, + { label: "Analytics", to: "/analytics", icon: BarChart3 }, + { label: "Customers", to: "/customers", icon: Users }, + { label: "Settings", to: "/settings", icon: Settings }, +]; + +function SidebarContent({ activePath }: { activePath: string }) { + return ( +