From 67aefb8bd91c62c495febb30e68f367f053354f0 Mon Sep 17 00:00:00 2001 From: Alexis <35.alexis.pele@gmail.com> Date: Thu, 29 Aug 2024 17:41:58 +0200 Subject: [PATCH] Revamped main layout --- app.vue | 12 ++++- assets/main.css | 18 +++---- components/global/sidebar/Sidebar.vue | 70 +++++++++++++-------------- components/global/user/CTA.vue | 35 ++++++++++---- pages/my/index.vue | 28 ++++++++++- public/images/galaxy.svg | 28 +++++++++++ tailwind.config.js | 4 ++ 7 files changed, 136 insertions(+), 59 deletions(-) create mode 100644 public/images/galaxy.svg diff --git a/app.vue b/app.vue index f3eb9f3..4d46a85 100644 --- a/app.vue +++ b/app.vue @@ -38,12 +38,20 @@ const useIdFunction = () => useId() -
+
- +
+ +
+ + diff --git a/assets/main.css b/assets/main.css index 381e89a..ae68938 100644 --- a/assets/main.css +++ b/assets/main.css @@ -37,28 +37,28 @@ } .dark { - --background: 222.2 84% 4.9%; + --background: 180 0 4.9%; --foreground: 210 40% 98%; - --muted: 217.2 32.6% 17.5%; + --muted: 250 40% 17.5%; --muted-foreground: 215 20.2% 65.1%; - --popover: 222.2 84% 4.9%; + --popover: 180 0 4.9%; --popover-foreground: 210 40% 98%; - --card: 222.2 84% 4.9%; + --card: 180 0 4.9%; --card-foreground: 210 40% 98%; - --border: 217.2 32.6% 17.5%; - --input: 217.2 32.6% 17.5%; + --border: 217 0 10%; + --input: 250 40% 17.5%; --primary: 210 40% 98%; - --primary-foreground: 222.2 47.4% 11.2%; + --primary-foreground: 180 47.4% 11.2%; - --secondary: 217.2 32.6% 17.5%; + --secondary: 250 40% 17.5%; --secondary-foreground: 210 40% 98%; - --accent: 217.2 32.6% 17.5%; + --accent: 250 40% 17.5%; --accent-foreground: 210 40% 98%; --destructive: 0 62.8% 30.6%; diff --git a/components/global/sidebar/Sidebar.vue b/components/global/sidebar/Sidebar.vue index 8b62724..2485eb8 100644 --- a/components/global/sidebar/Sidebar.vue +++ b/components/global/sidebar/Sidebar.vue @@ -15,7 +15,7 @@ function handleMenuItemAction(actionType: SidebarMenuActionType) {