feat (dashboard): add initial dashboard page

This commit is contained in:
Abizrh
2025-08-08 11:08:35 +07:00
parent cd202434c6
commit 92d8359803
4 changed files with 190 additions and 3 deletions

No files matched your search

+6 -1
View File
@@ -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',
},
]
+1 -1
View File
@@ -22,7 +22,7 @@ const activeTeam = ref(props.teams[0])
<div
class="bg-sidebar-primary text-sidebar-primary-foreground flex aspect-square size-8 items-center justify-center rounded-lg"
>
<Icon :name="activeTeam.logo" class="size-4" />
<img :src="activeTeam.logo" class="h-full w-full" />
</div>
<div class="grid flex-1 text-left text-sm leading-tight">
<span class="truncate font-semibold">