Navigation.vue 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  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="3" 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. .link-style {
  152. font-family: "Barlow";
  153. font-style: normal;
  154. font-size: 1.1rem;
  155. margin-right: 20px;
  156. font-weight: 700;
  157. letter-spacing: 0.05em;
  158. text-transform: uppercase;
  159. color: #0e2d32;
  160. text-decoration: none !important;
  161. cursor: pointer;
  162. }
  163. .link-styles {
  164. font-family: "Barlow";
  165. font-style: normal;
  166. text-decoration: none !important;
  167. color: #0e2d32;
  168. }
  169. .menu-bar {
  170. display: flex;
  171. align-items: center;
  172. background-color: #ffffff;
  173. height: 100%;
  174. margin-top: 10px;
  175. }
  176. .custom-row {
  177. padding: 0 2rem;
  178. }
  179. /* =============== Colored Square =============== */
  180. .colored-square {
  181. width: 3.5rem;
  182. height: 3.5rem;
  183. background-color: #091d20;
  184. }
  185. /* =============== Logo Styles =============== */
  186. .logo {
  187. height: 5.5rem;
  188. }
  189. /* =============== Menu Link Styles =============== */
  190. .menu-link {
  191. text-decoration: none;
  192. padding: 1.1rem;
  193. font-weight: 500;
  194. font-size: 1rem;
  195. letter-spacing: 0.1em;
  196. text-transform: uppercase;
  197. color: #0e2d32;
  198. margin-right: 0.2rem;
  199. }
  200. .menu-link:hover {
  201. text-decoration: underline;
  202. }
  203. /* =============== Button Styles =============== */
  204. .buttons-col {
  205. display: flex;
  206. }
  207. .btn-common {
  208. display: flex;
  209. flex-direction: row;
  210. align-items: center;
  211. padding: 25px;
  212. border-radius: 6px;
  213. font-family: "Barlow";
  214. font-style: normal;
  215. font-weight: 700;
  216. font-size: 0.9rem;
  217. }
  218. .btn-login {
  219. background: #091d20;
  220. color: white;
  221. }
  222. .vertical-bar {
  223. width: 0px;
  224. height: 3rem;
  225. border: 0.5px solid rgba(14, 45, 50, 0.4);
  226. margin-left: 10px;
  227. margin-top: 0.2rem;
  228. }
  229. .btn-subscribe {
  230. background: #9edbdd;
  231. }
  232. </style>