feat/ajout-de-fonctionnalites #2

Merged
tristan merged 46 commits from feat/ajout-de-fonctionnalites into develop 2026-04-06 14:29:04 +00:00
2 changed files with 9 additions and 2 deletions
Showing only changes of commit 75530ea46a - Show all commits

View File

@@ -38,12 +38,19 @@
</button>
</div>
<nav class="flex-1 overflow-hidden" :class="sidebarIsCollapsed ? 'px-1 pb-6' : 'px-4 pb-6'">
<SidebarLink
to="/dashboard"
icon="mdi:view-dashboard"
:label="$t('dashboard.title')"
:collapsed="sidebarIsCollapsed"
:class="sidebarIsCollapsed ? 'mt-4' : 'border-t border-secondary-500 pt-6'"
@click="ui.closeMobileSidebar()"
/>
<SidebarLink
to="/applications"
icon="mdi:apps"
:label="$t('applications.title')"
:collapsed="sidebarIsCollapsed"
:class="sidebarIsCollapsed ? 'mt-4' : 'border-t border-secondary-500 pt-6'"
@click="ui.closeMobileSidebar()"
/>
</nav>

View File

@@ -11,6 +11,6 @@ export default defineNuxtRouteMiddleware(async (to) => {
}
if (auth.isAuthenticated && (isLogin || to.path === '/')) {
return navigateTo('/applications')
return navigateTo('/dashboard')
}
})