|
|
@@ -1,75 +1,77 @@
|
|
|
<template>
|
|
|
- <v-app class="navigation-sm">
|
|
|
- <!-- Top bar -->
|
|
|
- <v-app-bar app>
|
|
|
- <v-app-bar-nav-icon
|
|
|
- @click="toggleMenu"
|
|
|
- />
|
|
|
-
|
|
|
- <nuxt-link to="/">
|
|
|
- <v-img class="logo-md" src="/images/logo/navigation-logo.png" />
|
|
|
- </nuxt-link>
|
|
|
-
|
|
|
- <v-spacer />
|
|
|
-
|
|
|
- <div class="mx-4">
|
|
|
- <v-btn
|
|
|
- href="https://admin.opentalent.fr/#/login/"
|
|
|
- icon="fas fa-user"
|
|
|
- class="icon"
|
|
|
+ <div class="app-container">
|
|
|
+ <v-app class="navigation-sm">
|
|
|
+ <!-- Top bar -->
|
|
|
+ <v-app-bar app>
|
|
|
+ <v-app-bar-nav-icon
|
|
|
+ @click="toggleMenu"
|
|
|
/>
|
|
|
|
|
|
- <v-btn
|
|
|
- to="/nous-contacter"
|
|
|
- icon="fas fa-phone"
|
|
|
- class="icon"
|
|
|
- />
|
|
|
+ <nuxt-link to="/">
|
|
|
+ <v-img class="logo-md" src="/images/logo/navigation-logo.png" />
|
|
|
+ </nuxt-link>
|
|
|
+
|
|
|
+ <v-spacer />
|
|
|
|
|
|
- <AgendaLink href="/agenda-culturel">
|
|
|
+ <div class="mx-4">
|
|
|
<v-btn
|
|
|
- icon="fas fa-calendar"
|
|
|
+ href="https://admin.opentalent.fr/#/login/"
|
|
|
+ icon="fas fa-user"
|
|
|
class="icon"
|
|
|
/>
|
|
|
- </AgendaLink>
|
|
|
- </div>
|
|
|
- </v-app-bar>
|
|
|
-
|
|
|
- <!-- Tiroir de navigation principal -->
|
|
|
- <v-navigation-drawer
|
|
|
- v-model="isMenuOpen"
|
|
|
- app
|
|
|
- temporary
|
|
|
- >
|
|
|
- <v-list nav dense>
|
|
|
- <v-list-item
|
|
|
- v-if="isSubMenu"
|
|
|
- class="menuItem back-item"
|
|
|
- @click="onBackItemClick"
|
|
|
- >
|
|
|
- <v-list-item-title>
|
|
|
- <v-icon icon="fas fa-caret-left" class="mr-1"/> Retour
|
|
|
- </v-list-item-title>
|
|
|
- </v-list-item>
|
|
|
-
|
|
|
- <v-list-item
|
|
|
- v-for="(item, index) in activeMenu"
|
|
|
- :key="item.label"
|
|
|
- :to="item.to"
|
|
|
- class="menuItem"
|
|
|
- @click="onMenuItemClick(index, item)"
|
|
|
- >
|
|
|
- <v-list-item-title class="d-flex flex-row w-100">
|
|
|
- <span class="flex-grow-1">
|
|
|
- {{ item.label }}
|
|
|
- </span>
|
|
|
- <span v-if="item.children?.length! > 0">
|
|
|
- <v-icon icon="fa fa-angle-right" />
|
|
|
- </span>
|
|
|
- </v-list-item-title>
|
|
|
- </v-list-item>
|
|
|
- </v-list>
|
|
|
- </v-navigation-drawer>
|
|
|
- </v-app>
|
|
|
+
|
|
|
+ <v-btn
|
|
|
+ to="/nous-contacter"
|
|
|
+ icon="fas fa-phone"
|
|
|
+ class="icon"
|
|
|
+ />
|
|
|
+
|
|
|
+ <AgendaLink href="/agenda-culturel">
|
|
|
+ <v-btn
|
|
|
+ icon="fas fa-calendar"
|
|
|
+ class="icon"
|
|
|
+ />
|
|
|
+ </AgendaLink>
|
|
|
+ </div>
|
|
|
+ </v-app-bar>
|
|
|
+
|
|
|
+ <!-- Tiroir de navigation principal -->
|
|
|
+ <v-navigation-drawer
|
|
|
+ v-model="isMenuOpen"
|
|
|
+ app
|
|
|
+ temporary
|
|
|
+ >
|
|
|
+ <v-list nav dense>
|
|
|
+ <v-list-item
|
|
|
+ v-if="isSubMenu"
|
|
|
+ class="menuItem back-item"
|
|
|
+ @click="onBackItemClick"
|
|
|
+ >
|
|
|
+ <v-list-item-title>
|
|
|
+ <v-icon icon="fas fa-caret-left" class="mr-1"/> Retour
|
|
|
+ </v-list-item-title>
|
|
|
+ </v-list-item>
|
|
|
+
|
|
|
+ <v-list-item
|
|
|
+ v-for="(item, index) in activeMenu"
|
|
|
+ :key="item.label"
|
|
|
+ :to="item.to"
|
|
|
+ class="menuItem"
|
|
|
+ @click="onMenuItemClick(index, item)"
|
|
|
+ >
|
|
|
+ <v-list-item-title class="d-flex flex-row w-100">
|
|
|
+ <span class="flex-grow-1">
|
|
|
+ {{ item.label }}
|
|
|
+ </span>
|
|
|
+ <span v-if="item.children?.length! > 0">
|
|
|
+ <v-icon icon="fa fa-angle-right" />
|
|
|
+ </span>
|
|
|
+ </v-list-item-title>
|
|
|
+ </v-list-item>
|
|
|
+ </v-list>
|
|
|
+ </v-navigation-drawer>
|
|
|
+ </v-app>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
@@ -135,6 +137,10 @@ const withAnimation = (callback: () => void) => {
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
+.app-container {
|
|
|
+ height: 54px;
|
|
|
+}
|
|
|
+
|
|
|
.navigation-sm {
|
|
|
background-color: var(--neutral-color);
|
|
|
position: fixed;
|
|
|
@@ -158,6 +164,6 @@ const withAnimation = (callback: () => void) => {
|
|
|
}
|
|
|
|
|
|
.icon {
|
|
|
- color: var(--on-neutral-color);
|
|
|
+ color: var(--on-neutral-color-light);
|
|
|
}
|
|
|
</style>
|