From 31144148d1d46ddd9a8a8c67c02c444909b59671 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 27 Sep 2026 16:19:10 +0000 Subject: [PATCH] =?UTF-8?q?Men=C3=BC=20als=20flache=20Liste=20(Paket=20E)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Acht Einträge ohne Gruppenüberschriften: Tickets, Planboard, Roadmaps, Projekte, Kunden, Leads, Finanzen und für Admins Admin. Co-Authored-By: Claude Opus 5.5 --- src/components/Navbar.jsx | 67 ++++++++++++++------------------------- 1 file changed, 23 insertions(+), 44 deletions(-) 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() {