Navigation.vue 5.0 KB

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