diff --git a/src/App.jsx b/src/App.jsx index 418f09d..bd42e24 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -5,13 +5,10 @@ import Footer from './components/Footer' import LoginPage from './pages/LoginPage' import TicketsPage from './pages/TicketsPage' import DashboardPage from './pages/DashboardPage' -import AssetsPage from './pages/AssetsPage' import PlanboardPage from './pages/PlanboardPage' import ProjectsPage from './pages/ProjectsPage' import RoadmapsPage from './pages/RoadmapsPage' import RoadmapDetailPage from './pages/RoadmapDetailPage' -import ReportsPage from './pages/ReportsPage' -import DocsPage from './pages/DocsPage' import AdminPage from './pages/AdminPage' import CustomersPage from './pages/CustomersPage' import LeadsPage from './pages/LeadsPage' @@ -52,14 +49,13 @@ function AppRoutes() { } /> } /> } /> - } /> } /> } /> } /> } /> - } /> - } /> } /> + {/* Alte Links (z. B. die entfernten Seiten Assets, Reports, Docs) landen bei den Tickets */} + } /> ) } diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx index cfed9a5..1561366 100644 --- a/src/components/Navbar.jsx +++ b/src/components/Navbar.jsx @@ -11,10 +11,7 @@ import { IconCalendar, IconRoute, IconLayoutDashboard, - IconReport, - IconDeviceDesktop, IconSettings, - IconBook, IconLogout, IconLayoutSidebarLeftCollapse, IconLayoutSidebarLeftExpand, @@ -60,15 +57,12 @@ export default function Sidebar() { label: 'Auswertung', links: [ { label: 'Dashboard', href: '/dashboard', icon: }, - { label: 'Reports', href: '/reports', icon: }, ], }, { label: 'System', links: [ - { label: 'Assets', href: '/assets', icon: }, ...(isAdmin ? [{ label: 'Admin', href: '/admin', icon: }] : []), - { label: 'Docs', href: '/docs', icon: }, ], }, ] @@ -87,7 +81,8 @@ export default function Sidebar() {