diff --git a/frontend/src/components/layout/AppBottomNav.vue b/frontend/src/components/layout/AppBottomNav.vue index bbaae61..052c342 100644 --- a/frontend/src/components/layout/AppBottomNav.vue +++ b/frontend/src/components/layout/AppBottomNav.vue @@ -13,7 +13,6 @@ const navItems = computed(() => { { label: 'Дашборд', icon: 'chart-bar', to: '/teacher' }, { label: 'Лекции', icon: 'book-2', to: '/teacher/lectures' }, { label: 'Аналитика', icon: 'chart-line', to: '/teacher/analytics' }, - { label: 'Профиль', icon: 'user', to: '/profile' }, ] if (role === 'admin') return [ { label: 'Дашборд', icon: 'shield', to: '/admin' }, @@ -25,7 +24,6 @@ const navItems = computed(() => { { label: 'Главная', icon: 'home', to: '/' }, { label: 'Лекции', icon: 'books', to: '/catalog' }, { label: 'Мои', icon: 'clipboard-list', to: '/my-lectures' }, - { label: 'Профиль', icon: 'user', to: '/profile' }, ] }) diff --git a/frontend/src/components/layout/AppSidebar.vue b/frontend/src/components/layout/AppSidebar.vue index faf05b2..0599500 100644 --- a/frontend/src/components/layout/AppSidebar.vue +++ b/frontend/src/components/layout/AppSidebar.vue @@ -13,12 +13,10 @@ const navItems: NavItem[] = [ { label: 'Главная', icon: 'home', to: '/', roles: ['student'] }, { label: 'Каталог', icon: 'books', to: '/catalog', roles: ['student'] }, { label: 'Мои записи', icon: 'clipboard-list', to: '/my-lectures', roles: ['student'] }, - { label: 'Профиль', icon: 'user', to: '/profile', roles: ['student'] }, // Teacher { label: 'Дашборд', icon: 'chart-bar', to: '/teacher', roles: ['teacher'] }, { label: 'Лекции', icon: 'book-2', to: '/teacher/lectures', roles: ['teacher'] }, { label: 'Аналитика', icon: 'chart-line', to: '/teacher/analytics', roles: ['teacher'] }, - { label: 'Профиль', icon: 'user', to: '/profile', roles: ['teacher'] }, // Admin { label: 'Дашборд', icon: 'shield', to: '/admin', roles: ['admin'] }, { label: 'Пользователи', icon: 'users', to: '/admin/users', roles: ['admin'] },