diff --git a/frontend/src/router/index.js b/frontend/src/router/index.js index eb638a2..32d97df 100644 --- a/frontend/src/router/index.js +++ b/frontend/src/router/index.js @@ -2,38 +2,39 @@ import { createRouter, createWebHistory } from 'vue-router' import DashboardView from '../views/DashboardView.vue' import AnalysisCreateView from '../views/AnalysisCreateView.vue' import AnalysisDetailView from '../views/AnalysisDetailView.vue' +import ScriptsView from '../views/ScriptsView.vue' +import SettingsView from '../views/SettingsView.vue' const routes = [ - { - path: '/', + { + path: '/', name: 'Dashboard', - component: DashboardView + component: DashboardView }, - { - path: '/new-analysis', + { + path: '/new-analysis', name: 'AnalysisCreate', - component: AnalysisCreateView + component: AnalysisCreateView }, - { - path: '/analysis/:id', + { + path: '/analysis/:id', name: 'AnalysisDetail', - component: AnalysisDetailView + component: AnalysisDetailView }, - // Placeholders for sidebar consistency - { - path: '/analysis', + { + path: '/analysis', name: 'AnalysisList', - redirect: '/' + redirect: '/scripts' }, - { - path: '/scripts', + { + path: '/scripts', name: 'Scripts', - component: () => import('../views/DashboardView.vue') // Placeholder + component: ScriptsView }, - { - path: '/settings', + { + path: '/settings', name: 'Settings', - component: () => import('../views/DashboardView.vue') // Placeholder + component: SettingsView } ] diff --git a/frontend/src/views/ScriptsView.vue b/frontend/src/views/ScriptsView.vue new file mode 100644 index 0000000..2b01214 --- /dev/null +++ b/frontend/src/views/ScriptsView.vue @@ -0,0 +1,224 @@ + + + diff --git a/frontend/src/views/SettingsView.vue b/frontend/src/views/SettingsView.vue new file mode 100644 index 0000000..d5c67f3 --- /dev/null +++ b/frontend/src/views/SettingsView.vue @@ -0,0 +1,141 @@ + + +