feat: add authenticated layout with navigation menu for core application modules

This commit is contained in:
jeremy bayse
2026-06-22 16:34:32 +02:00
parent 0987587a72
commit 07b75bb233
+9 -9
View File
@@ -42,6 +42,12 @@ const showingNavigationDropdown = ref(false);
>
Commandes
</NavLink>
<NavLink
:href="route('devis.index')"
:active="route().current('devis.*')"
>
Devis
</NavLink>
<NavLink
:href="route('materiels.index')"
:active="route().current('materiels.*')"
@@ -52,13 +58,7 @@ const showingNavigationDropdown = ref(false);
:href="route('besoins-informatiques.index')"
:active="route().current('besoins-informatiques.*')"
>
Besoins Informatiques
</NavLink>
<NavLink
:href="route('devis.index')"
:active="route().current('devis.*')"
>
Gestion des Devis
Fiches Actions
</NavLink>
<NavLink
v-if="$page.props.auth.user.role === 'chef_service'"
@@ -102,14 +102,14 @@ const showingNavigationDropdown = ref(false);
<DropdownLink
:href="route('profile.edit')"
>
Profile
{{ __('Profile') }}
</DropdownLink>
<DropdownLink
:href="route('logout')"
method="post"
as="button"
>
Log Out
{{ __('Logout') }}
</DropdownLink>
</template>
</Dropdown>