diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx index 0bb54fc..aa9df30 100644 --- a/src/components/Navbar.jsx +++ b/src/components/Navbar.jsx @@ -26,33 +26,16 @@ export default function Sidebar() { navigate('/login') } - const groups = [ - { - label: 'Betrieb', - links: [ - { label: 'Tickets', href: '/tickets', icon: }, - { label: 'Planboard', href: '/planboard', icon: }, - { label: 'Roadmaps', href: '/roadmaps', icon: }, - { label: 'Projekte', href: '/projects', icon: }, - ], - }, - { - label: 'CRM', - links: [ - { label: 'Kunden', href: '/customers', icon: }, - { label: 'Leads', href: '/leads', icon: }, - ], - }, - { - label: 'Finanzen', - links: [{ label: 'Finanzen', href: '/finance', icon: }], - }, - { - label: 'System', - links: [ - ...(isAdmin ? [{ label: 'Admin', href: '/admin', icon: }] : []), - ], - }, + // Eine flache Liste: fuer ein kleines Team reichen acht Eintraege ohne Gruppen + const links = [ + { label: 'Tickets', href: '/tickets', icon: }, + { label: 'Planboard', href: '/planboard', icon: }, + { label: 'Roadmaps', href: '/roadmaps', icon: }, + { label: 'Projekte', href: '/projects', icon: }, + { label: 'Kunden', href: '/customers', icon: }, + { label: 'Leads', href: '/leads', icon: }, + { label: 'Finanzen', href: '/finance', icon: }, + ...(isAdmin ? [{ label: 'Admin', href: '/admin', icon: }] : []), ] const isActive = (href) => @@ -69,23 +52,19 @@ export default function Sidebar() {