From c7034e159e097739190b245fb73c0877d8db597e Mon Sep 17 00:00:00 2001 From: kevin olson Date: Sun, 8 Oct 2023 01:39:10 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20all=20components=20working=20well?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/app.config.ts | 3 +- client/app.vue | 3 +- client/components/dropdown/DropdownGroup.vue | 61 ---------------- client/components/header/HeaderBar.vue | 4 +- client/components/header/HeaderProfile.vue | 71 ++++++++++--------- .../components/layout/LayoutBreadCrumbs.vue | 4 +- client/components/layout/LayoutConfirm.vue | 24 +++++++ .../LayoutLoginModal.vue} | 4 +- client/composables/api.ts | 2 +- client/lib/api.ts | 27 ++++--- client/lib/menu.ts | 23 ------ client/middleware/auth.global.ts | 4 +- client/pages/gated.vue | 1 - client/pages/home.vue | 12 ---- 14 files changed, 89 insertions(+), 154 deletions(-) delete mode 100644 client/components/dropdown/DropdownGroup.vue create mode 100644 client/components/layout/LayoutConfirm.vue rename client/components/{header/HeaderLoginModal.vue => layout/LayoutLoginModal.vue} (97%) delete mode 100644 client/pages/home.vue diff --git a/client/app.config.ts b/client/app.config.ts index 18d98c2..aa52ca8 100644 --- a/client/app.config.ts +++ b/client/app.config.ts @@ -1,10 +1,11 @@ export default defineAppConfig({ ui: { primary: 'emerald', + strategy: 'override', gray: 'slate', notifications: { // Show toasts at the top right of the screen for desktop - // position: 'lg:top-0 lg:right-0 lg:justify-start', + position: 'lg:top-0 lg:right-0 lg:justify-start', }, button: { diff --git a/client/app.vue b/client/app.vue index 45a983d..d6ecbee 100644 --- a/client/app.vue +++ b/client/app.vue @@ -21,7 +21,8 @@ useApi().setNuxtApp(useNuxtApp()) - + + diff --git a/client/components/dropdown/DropdownGroup.vue b/client/components/dropdown/DropdownGroup.vue deleted file mode 100644 index 0a966dd..0000000 --- a/client/components/dropdown/DropdownGroup.vue +++ /dev/null @@ -1,61 +0,0 @@ - - - diff --git a/client/components/header/HeaderBar.vue b/client/components/header/HeaderBar.vue index 191e649..0b9ed95 100644 --- a/client/components/header/HeaderBar.vue +++ b/client/components/header/HeaderBar.vue @@ -39,7 +39,9 @@ const menu = new Menu(api) - + + + diff --git a/client/components/header/HeaderProfile.vue b/client/components/header/HeaderProfile.vue index a4e0c7a..b2ec1da 100644 --- a/client/components/header/HeaderProfile.vue +++ b/client/components/header/HeaderProfile.vue @@ -1,6 +1,4 @@ diff --git a/client/components/layout/LayoutBreadCrumbs.vue b/client/components/layout/LayoutBreadCrumbs.vue index 146e1ec..89fc260 100644 --- a/client/components/layout/LayoutBreadCrumbs.vue +++ b/client/components/layout/LayoutBreadCrumbs.vue @@ -4,7 +4,7 @@ const { list, actions } = useCrumbs()