Navigation.vue 4.9 KB

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