diff --git a/src/components/admin/AdminSidebar.tsx b/src/components/admin/AdminSidebar.tsx index d55e20b..29ee24b 100644 --- a/src/components/admin/AdminSidebar.tsx +++ b/src/components/admin/AdminSidebar.tsx @@ -11,6 +11,8 @@ import { TrendingUp, BookOpen, Settings, + FileText, + UserCheck, LogOut, } from "lucide-react"; @@ -24,6 +26,11 @@ const NAV_ITEMS = [ { href: "/admin/impostazioni", label: "Impostazioni", icon: Settings }, ]; +const APP_ITEMS = [ + { href: "/admin/quotes/new", label: "Nuovo Preventivo", icon: FileText }, + { href: "/admin/leads", label: "CRM Lead", icon: UserCheck }, +]; + export function AdminSidebar() { const pathname = usePathname(); @@ -58,8 +65,34 @@ export function AdminSidebar() { })} - {/* Logout */} + {/* Apps */}
+
+ App +
+
+ {APP_ITEMS.map(({ href, label, icon: Icon }) => { + const active = isActive(href); + return ( + + + {label} + + ); + })} +
+
+ + {/* Logout */} +