From 92d835980315c831da9ce75ce3977c9dbe38b84c Mon Sep 17 00:00:00 2001 From: Abizrh Date: Fri, 8 Aug 2025 11:08:35 +0700 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat=20(dashboard):=20add=20initial?= =?UTF-8?q?=20dashboard=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/layout/AppSidebar.vue | 7 +- app/components/layout/SidebarNavHeader.vue | 2 +- app/pages/index.vue | 180 ++++++++++++++++++++- nuxt.config.ts | 4 + 4 files changed, 190 insertions(+), 3 deletions(-) diff --git a/app/components/layout/AppSidebar.vue b/app/components/layout/AppSidebar.vue index 2f0fcd52..ef70fd93 100644 --- a/app/components/layout/AppSidebar.vue +++ b/app/components/layout/AppSidebar.vue @@ -8,6 +8,11 @@ const navMenu: any[] = [ icon: 'i-lucide-home', link: '/', }, + { + title: 'Home', + icon: 'i-lucide-home', + link: '/', + }, ], }, ] @@ -33,7 +38,7 @@ const teams: { }[] = [ { name: 'SIMRS - RSSA', - logo: 'i-lucide-gallery-vertical-end', + logo: '/rssa-logo.png', plan: 'Saiful Anwar Hospital', }, ] diff --git a/app/components/layout/SidebarNavHeader.vue b/app/components/layout/SidebarNavHeader.vue index e4a8575a..351f7d83 100644 --- a/app/components/layout/SidebarNavHeader.vue +++ b/app/components/layout/SidebarNavHeader.vue @@ -22,7 +22,7 @@ const activeTeam = ref(props.teams[0])
- +
diff --git a/app/pages/index.vue b/app/pages/index.vue index 17da3ef8..5c7c6c81 100644 --- a/app/pages/index.vue +++ b/app/pages/index.vue @@ -1,4 +1,62 @@ - + diff --git a/nuxt.config.ts b/nuxt.config.ts index d234719a..3694c42a 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -16,6 +16,10 @@ export default defineNuxtConfig({ css: ['@unocss/reset/tailwind.css'], + colorMode: { + classSuffix: '', + }, + features: { // For UnoCSS inlineStyles: false,