Navigation.vue 6.3 KB

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