From 096e916c0b1929a79d212da025312d4b48975f88 Mon Sep 17 00:00:00 2001 From: Saeid Doroudi Date: Sun, 15 Dec 2024 09:49:45 +0330 Subject: [PATCH] :refactor: do some ui refactoring --- src/components.d.ts | 10 +------- src/components/Navbar/BreadCrumb.vue | 17 +++++++++++++ src/components/Navbar/Navbar.vue | 34 +++++++++++++++----------- src/components/Sidebar.vue | 36 +--------------------------- src/layouts/home.vue | 28 ---------------------- 5 files changed, 39 insertions(+), 86 deletions(-) create mode 100644 src/components/Navbar/BreadCrumb.vue diff --git a/src/components.d.ts b/src/components.d.ts index de65ac5..324e0c3 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -10,6 +10,7 @@ declare module 'vue' { ArabicIcon: typeof import('./components/CountryIcons/ArabicIcon.vue')['default'] BarChart: typeof import('./components/BarChart.vue')['default'] BrandManagement: typeof import('./components/Brand/BrandManagement.vue')['default'] + BreadCrumb: typeof import('./components/Navbar/BreadCrumb.vue')['default'] Card: typeof import('./components/Card.vue')['default'] CategoryManagement: typeof import('./components/Category/CategoryManagement.vue')['default'] CategoryStatics: typeof import('./components/Category/CategoryStatics.vue')['default'] @@ -41,28 +42,19 @@ declare module 'vue' { NDrawer: typeof import('naive-ui')['NDrawer'] NDrawerContent: typeof import('naive-ui')['NDrawerContent'] NDropdown: typeof import('naive-ui')['NDropdown'] - NForm: typeof import('naive-ui')['NForm'] - NFormItem: typeof import('naive-ui')['NFormItem'] NIcon: typeof import('naive-ui')['NIcon'] - NInput: typeof import('naive-ui')['NInput'] NLayout: typeof import('naive-ui')['NLayout'] - NLayoutContent: typeof import('naive-ui')['NLayoutContent'] NLayoutSider: typeof import('naive-ui')['NLayoutSider'] NMenu: typeof import('naive-ui')['NMenu'] NMessageProvider: typeof import('naive-ui')['NMessageProvider'] - NModal: typeof import('naive-ui')['NModal'] NNotificationProvider: typeof import('naive-ui')['NNotificationProvider'] Notifications: typeof import('./components/Navbar/Notifications.vue')['default'] NPageHeader: typeof import('naive-ui')['NPageHeader'] NPopselect: typeof import('naive-ui')['NPopselect'] - NRadioButton: typeof import('naive-ui')['NRadioButton'] - NRadioGroup: typeof import('naive-ui')['NRadioGroup'] NSpace: typeof import('naive-ui')['NSpace'] NSwitch: typeof import('naive-ui')['NSwitch'] NTag: typeof import('naive-ui')['NTag'] NTooltip: typeof import('naive-ui')['NTooltip'] - NTreeSelect: typeof import('naive-ui')['NTreeSelect'] - NUpload: typeof import('naive-ui')['NUpload'] OrderManagement: typeof import('./components/Orders/OrderManagement.vue')['default'] PersianIcon: typeof import('./components/CountryIcons/PersianIcon.vue')['default'] ProductsManagement: typeof import('./components/Products/ProductsManagement.vue')['default'] diff --git a/src/components/Navbar/BreadCrumb.vue b/src/components/Navbar/BreadCrumb.vue new file mode 100644 index 0000000..87f67a8 --- /dev/null +++ b/src/components/Navbar/BreadCrumb.vue @@ -0,0 +1,17 @@ + + + diff --git a/src/components/Navbar/Navbar.vue b/src/components/Navbar/Navbar.vue index 12f16fc..a0c27c6 100644 --- a/src/components/Navbar/Navbar.vue +++ b/src/components/Navbar/Navbar.vue @@ -1,23 +1,29 @@ -