Navigation.vue 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. <template>
  2. <LayoutContainer>
  3. <v-row
  4. class="menu"
  5. v-if="!mdAndDown"
  6. >
  7. <!-- Logo Column -->
  8. <v-col cols="2">
  9. <nuxt-link to="/">
  10. <v-img class="logo" src="/images/logo/navigation-logo.png" />
  11. </nuxt-link>
  12. </v-col>
  13. <!-- Colored Square for Mobile -->
  14. <v-col v-if="mdAndDown" cols="3">
  15. <div class="colored-square"></div>
  16. </v-col>
  17. <!-- Menu Links -->
  18. <v-col cols="6">
  19. <!-- Menu déroulant logiciels -->
  20. <v-menu open-on-hover>
  21. <template v-slot:activator="{ props }">
  22. <nuxt-link v-bind="props" class="link-style"
  23. >Nos logiciels
  24. </nuxt-link>
  25. </template>
  26. <v-list class="menu-list">
  27. <nuxt-link
  28. v-for="software in softwareLinks"
  29. :key="software.name"
  30. :to="software.href"
  31. class="link-styles"
  32. >
  33. <v-list-item>
  34. <v-list-item-title>{{ software.name }}</v-list-item-title>
  35. </v-list-item>
  36. </nuxt-link>
  37. </v-list>
  38. </v-menu>
  39. <!-- Menu déroulant services -->
  40. <v-menu open-on-hover>
  41. <template v-slot:activator="{ props }">
  42. <nuxt-link v-bind="props" class="link-style"
  43. >Nos services
  44. </nuxt-link>
  45. </template>
  46. <v-list>
  47. <nuxt-link
  48. v-for="service in serviceLinks"
  49. :key="service.name"
  50. :to="service.href"
  51. class="link-styles"
  52. >
  53. <v-list-item>
  54. <v-list-item-title>{{ service.name }}</v-list-item-title>
  55. </v-list-item>
  56. </nuxt-link>
  57. </v-list>
  58. </v-menu>
  59. <!-- Menu déroulant à propos -->
  60. <v-menu open-on-hover>
  61. <template v-slot:activator="{ props }">
  62. <nuxt-link v-bind="props" class="link-style"
  63. >A propos</nuxt-link
  64. >
  65. </template>
  66. <v-list>
  67. <nuxt-link
  68. v-for="info in aboutLinks"
  69. :key="info.name"
  70. :to="info.href"
  71. class="link-styles"
  72. >
  73. <v-list-item>
  74. <v-list-item-title>{{ info.name }}</v-list-item-title>
  75. </v-list-item>
  76. </nuxt-link>
  77. </v-list>
  78. </v-menu>
  79. <nuxt-link class="link-style" to="/actualites">Actualités</nuxt-link>
  80. </v-col>
  81. <!-- Buttons Column -->
  82. <!-- <v-col v-if="!mdAndDown" cols="3" class="buttons-col" >
  83. <v-btn class="btn btn-common btn-login" text>
  84. <v-icon left class="fas fa-user mr-4"></v-icon> Se connecter
  85. </v-btn>
  86. <div class="vertical-bar" />
  87. <v-btn class="btn btn-common btn-subscribe ml-4" text>
  88. <v-icon left class="fas fa-calendar mr-4"></v-icon>Agenda Culturel
  89. </v-btn>
  90. </v-col> -->
  91. <v-col cols="2" class="buttons-col">
  92. <nuxt-link to="https://admin.opentalent.fr/#/login/">
  93. <v-btn class="btn btn-common btn-login" text>
  94. <v-icon left class="fas fa-user mr-4"></v-icon> Se connecter<br />aux
  95. logiciels
  96. </v-btn>
  97. </nuxt-link>
  98. <div class="vertical-bar" />
  99. <v-btn class="btn btn-common btn-subscribe ml-4" text>
  100. <v-icon left class="fas fa-calendar mr-4"></v-icon> Agenda Culturel
  101. </v-btn>
  102. </v-col>
  103. </v-row>
  104. </LayoutContainer>
  105. </template>
  106. <script setup>
  107. import { useDisplay } from "vuetify";
  108. const { mdAndDown } = useDisplay();
  109. const softwareLinks = ref([
  110. { name: "Opentalent Artist", href: "/opentalent_artist" },
  111. { name: "Opentalent School", href: "/opentalent_school" },
  112. { name: "Opentalent Manager", href: "/opentalent_manager" },
  113. ]);
  114. const serviceLinks = ref([
  115. { name: "Formations", href: "/formations" },
  116. { name: "Webinaires", href: "/webinaires" },
  117. ]);
  118. const aboutLinks = ref([
  119. { name: "Qui sommes-nous", href: "/qui-sommes-nous" },
  120. { name: "Nous rejoindre", href: "/nous-rejoindre" },
  121. { name: "Nous contacter", href: "/nous-contacter" },
  122. ]);
  123. </script>
  124. <style scoped>
  125. /* =============== Base Styles =============== */
  126. .menu {
  127. display: flex;
  128. align-items: center;
  129. background-color: #ffffff;
  130. }
  131. .v-list-item-title {
  132. font-family: "Barlow";
  133. font-style: normal;
  134. font-weight: 500;
  135. font-size: 0.9rem;
  136. letter-spacing: 0.1em;
  137. text-transform: uppercase;
  138. color: #0e2d32;
  139. }
  140. .common-styles {
  141. font-family: "Barlow";
  142. font-style: normal;
  143. font-size: 1.1rem;
  144. padding: 0.1rem;
  145. font-weight: 700;
  146. letter-spacing: 0.1em;
  147. text-transform: uppercase;
  148. color: #0e2d32;
  149. text-decoration: none !important;
  150. }
  151. .menu-list{
  152. padding: 0 2rem;
  153. }
  154. .link-style {
  155. font-family: "Barlow";
  156. font-style: normal;
  157. font-size: 1.1rem;
  158. margin-right: 20px;
  159. font-weight: 700;
  160. letter-spacing: 0.05em;
  161. text-transform: uppercase;
  162. color: #0e2d32;
  163. text-decoration: none !important;
  164. cursor: pointer;
  165. }
  166. .link-styles {
  167. font-family: "Barlow";
  168. font-style: normal;
  169. text-decoration: none !important;
  170. color: #0e2d32;
  171. }
  172. .menu-bar {
  173. display: flex;
  174. align-items: center;
  175. background-color: #ffffff;
  176. height: 100%;
  177. margin-top: 10px;
  178. }
  179. .custom-row {
  180. padding: 0 2rem;
  181. }
  182. /* =============== Colored Square =============== */
  183. .colored-square {
  184. width: 3.5rem;
  185. height: 3.5rem;
  186. background-color: #091d20;
  187. }
  188. /* =============== Logo Styles =============== */
  189. .logo {
  190. height: 5.5rem;
  191. }
  192. /* =============== Menu Link Styles =============== */
  193. .menu-link {
  194. text-decoration: none;
  195. padding: 1.1rem;
  196. font-weight: 500;
  197. font-size: 1rem;
  198. letter-spacing: 0.1em;
  199. text-transform: uppercase;
  200. color: #0e2d32;
  201. margin-right: 0.2rem;
  202. }
  203. .menu-link:hover {
  204. text-decoration: underline;
  205. }
  206. /* =============== Button Styles =============== */
  207. .buttons-col {
  208. display: flex;
  209. }
  210. .btn-common {
  211. display: flex;
  212. flex-direction: row;
  213. align-items: center;
  214. padding: 25px;
  215. border-radius: 6px;
  216. font-family: "Barlow";
  217. font-style: normal;
  218. font-weight: 700;
  219. font-size: 0.9rem;
  220. }
  221. .btn-login {
  222. background: #091d20;
  223. color: white;
  224. }
  225. .vertical-bar {
  226. width: 0px;
  227. height: 3rem;
  228. border: 0.5px solid rgba(14, 45, 50, 0.4);
  229. margin-left: 10px;
  230. margin-top: 0.2rem;
  231. }
  232. .btn-subscribe {
  233. background: #9edbdd;
  234. }
  235. </style>