added settings

This commit is contained in:
2025-12-08 18:28:15 +00:00
parent 8f8c7d895c
commit a4d97c4ef2

View File

@@ -5,7 +5,6 @@ const nav : NavigationMenuItem[][] = [[
{ {
label: 'Home', label: 'Home',
icon: 'i-lucide-house', icon: 'i-lucide-house',
active: true,
to: "/dashboard" to: "/dashboard"
}, { }, {
label: 'Inbox', label: 'Inbox',
@@ -16,7 +15,11 @@ const nav : NavigationMenuItem[][] = [[
label: 'Contacts', label: 'Contacts',
icon: 'i-lucide-users', icon: 'i-lucide-users',
to: "/contacts" to: "/contacts"
}]]; }, {
label: 'Settings',
icon: 'i-lucide-settings',
to: '/settings'
}]];
/*[ /*[
{ {
label: "Feedback" label: "Feedback"
@@ -28,6 +31,11 @@ const nav : NavigationMenuItem[][] = [[
<DashboardSidebar collapsible resizable :items="nav"/> <DashboardSidebar collapsible resizable :items="nav"/>
<UDashboardSidebarCollapse /> <UDashboardSidebarCollapse />
<UContainer class="overflow-auto">
<!-- in my case I want the button to be the same everywhere.
if you wanna customize it per page, place it per page inside UContainer -->
<!--<UDashboardSidebarToggle variant="subtle" class="absolute z-20 top-3 left-2.5"/>-->
<slot /> <slot />
</UContainer>
</UDashboardGroup> </UDashboardGroup>
</template> </template>