diff --git a/frontend/src/components/Sidebar.vue b/frontend/src/components/Sidebar.vue index 10428c0..b6dd9dc 100644 --- a/frontend/src/components/Sidebar.vue +++ b/frontend/src/components/Sidebar.vue @@ -33,6 +33,12 @@ Admin + diff --git a/frontend/src/router.js b/frontend/src/router.js index 6db5b83..0a3432b 100644 --- a/frontend/src/router.js +++ b/frontend/src/router.js @@ -17,6 +17,8 @@ import Files from '@/views/Files.vue'; const routes = [ {path: '/', component: Dashboard, meta: {requiresAuth: true}}, + {path: '/profile', component: Profile, meta: {requiresAuth: true}}, + {path: '/settings', component: Settings, meta: {requiresAuth: true}}, {path: '/inventory', component: Inventory, meta: {requiresAuth: true}}, {path: '/inventory/:id', component: InventoryDetail, meta: {requiresAuth: true}, props: true}, {path: '/inventory/:id/edit', component: InventoryEdit, meta: {requiresAuth: true}, props: true}, @@ -48,4 +50,4 @@ router.beforeEach((to/*, from*/) => { } }) -export default router \ No newline at end of file +export default router diff --git a/frontend/src/views/Admin.vue b/frontend/src/views/Admin.vue index f2db343..53ff1ba 100644 --- a/frontend/src/views/Admin.vue +++ b/frontend/src/views/Admin.vue @@ -92,7 +92,7 @@ import * as BIcons from "bootstrap-icons-vue"; import BaseLayout from "@/components/BaseLayout.vue"; export default { - name: "Inventory", + name: "Admin", components: { BaseLayout, ...BIcons diff --git a/frontend/src/views/Swatch.vue b/frontend/src/views/Swatch.vue new file mode 100644 index 0000000..a88d38c --- /dev/null +++ b/frontend/src/views/Swatch.vue @@ -0,0 +1,4907 @@ + + + + + \ No newline at end of file