Explorar o código

chore(left_menu): altera posicao dos itens e ajusta imagem

ebagabee hai 1 mes
pai
achega
065ecd6fc3
Modificáronse 2 ficheiros con 22 adicións e 13 borrados
  1. 1 1
      src/components/layout/LeftMenuLayout.vue
  2. 21 12
      src/stores/navigation.js

+ 1 - 1
src/components/layout/LeftMenuLayout.vue

@@ -328,7 +328,7 @@ onMounted(() => {
 }
 
 .q-drawer-container {
-  background-image: url("images/background-opacity.png");
+  background-image: url("/images/background-opacity.png");
   background-position: 15%;
 }
 </style>

+ 21 - 12
src/stores/navigation.js

@@ -6,22 +6,13 @@ export const navigationStore = defineStore("navigation", () => {
   const navigationStructure = Object.freeze([
     {
       type: "single",
-      title: "ui.navigation.dashboard",
+      title: "Dashboard",
       name: "DashboardPage",
       icon: "mdi-poll",
       disable: false,
       permission: false,
       permissionScope: "dashboard",
     },
-    {
-      type: "single",
-      title: "Usuários",
-      name: "UserPage",
-      icon: "mdi-account-multiple-outline",
-      disable: false,
-      permission: false,
-      permissionScope: "dashboard",
-    },
     {
       type: "single",
       title: "Franqueados",
@@ -29,7 +20,7 @@ export const navigationStore = defineStore("navigation", () => {
       icon: "mdi-home-variant-outline",
       disable: false,
       permission: false,
-      permissionScope: "dashboard"
+      permissionScope: "dashboard",
     },
     {
       type: "single",
@@ -40,6 +31,15 @@ export const navigationStore = defineStore("navigation", () => {
       permission: false,
       permissionScope: "dashboard",
     },
+    {
+      type: "single",
+      title: "Produtos",
+      name: "ProductsPage",
+      icon: "mdi-cart-outline",
+      disable: false,
+      permission: false,
+      permissionScope: "dashboard",
+    },
     {
       type: "single",
       title: "TBR",
@@ -47,7 +47,16 @@ export const navigationStore = defineStore("navigation", () => {
       icon: "mdi-database-outline",
       disable: false,
       permission: false,
-      permissionScope: "dashboard"
+      permissionScope: "dashboard",
+    },
+    {
+      type: "single",
+      title: "Cadastros",
+      name: "UserPage",
+      icon: "mdi-account-multiple-outline",
+      disable: false,
+      permission: false,
+      permissionScope: "dashboard",
     },
   ]);