diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 7965574..f142ac1 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -13,7 +13,7 @@ const accountUrl = ref('') const navItems = computed(() => [ - { id: 'home', label: t('nav.home'), icon: 'ph-house', to: '/stack' }, + { id: 'home', label: t('nav.home'), icon: 'ph-house', to: '/' }, { id: 'list', label: t('nav.list'), icon: 'ph-list-bullets', to: '/list' }, { id: 'projects', label: t('nav.projects'), icon: 'ph-folders', to: '/projects' }, { id: 'options', label: t('nav.options'), icon: 'ph-shuffle', to: '/options' }, diff --git a/frontend/src/main.ts b/frontend/src/main.ts index 52bf09f..005ec27 100644 --- a/frontend/src/main.ts +++ b/frontend/src/main.ts @@ -19,8 +19,9 @@ const router = createRouter({ history: createWebHistory(), routes: [ - { path: '/', redirect: '/stack' }, - { path: '/stack', component: StackView, meta: { title: 'nav.home' } }, + { path: '/', component: StackView, meta: { title: 'nav.home' } }, + // слаг stack устарел (страница теперь главная) — старые ссылки ведём на / + { path: '/stack', redirect: '/' }, { path: '/list', component: ListView, meta: { title: 'nav.list' } }, { path: '/projects', component: ProjectsView, meta: { title: 'nav.projects' } }, // название проекта/задачи в тайтл подставляет вид после загрузки данных