diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 1aa2455..a6753d5 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -11,6 +11,7 @@ import ClubsPage from './pages/ClubsPage' import SkillsPage from './pages/SkillsPage' import TrainingPlanningPage from './pages/TrainingPlanningPage' import AdminCatalogsPage from './pages/AdminCatalogsPage' +import TrainerContextsPage from './pages/TrainerContextsPage' import './app.css' // Bottom Navigation (Mobile) @@ -189,6 +190,14 @@ function AppRoutes() { } /> + + + + } + /> {/* Catch all - redirect to dashboard or login */} } /> diff --git a/frontend/src/config/appNav.js b/frontend/src/config/appNav.js index 0aa93a7..ea87dd6 100644 --- a/frontend/src/config/appNav.js +++ b/frontend/src/config/appNav.js @@ -4,7 +4,8 @@ import { Calendar, Building2, Settings, - Shield + Shield, + Target } from 'lucide-react' /** @@ -21,6 +22,7 @@ function baseItems() { { to: '/exercises', label: 'Übungen', shortLabel: 'Übungen' }, { to: '/planning', label: 'Planung' }, { to: '/clubs', label: 'Vereine' }, + { to: '/trainer-contexts', label: 'Meine Bereiche', shortLabel: 'Bereiche' }, { to: '/settings', label: 'Einstellungen', shortLabel: 'Einst.' } ] } @@ -32,6 +34,7 @@ export function getMainNavItems(isAdmin) { BookOpen, Calendar, Building2, + Target, Settings ]