Navigation.vue 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. <template>
  2. <LayoutContainer>
  3. <v-row
  4. justify="space-between"
  5. :class="mdAndDown ? 'menu-bar' : ' menu-bar custom-row'"
  6. >
  7. <v-col
  8. :cols="mdAndDown ? 8 : 6"
  9. sm="8"
  10. md="2"
  11. >
  12. <nuxt-link to="/">
  13. <v-img
  14. class="logo"
  15. src="/images/Opentalent.png"
  16. />
  17. </nuxt-link>
  18. </v-col>
  19. <v-col
  20. v-if="mdAndDown"
  21. cols="3"
  22. >
  23. <div class="colored-square" />
  24. </v-col>
  25. <v-col
  26. v-if="!mdAndDown"
  27. cols="12"
  28. sm="7"
  29. md="5"
  30. >
  31. <nuxt-link
  32. class="common-styles menu-link"
  33. to="/about"
  34. >
  35. A propos
  36. </nuxt-link>
  37. <nuxt-link
  38. class="common-styles menu-link"
  39. to="/software"
  40. >
  41. Nos logiciels
  42. </nuxt-link>
  43. <nuxt-link
  44. class="common-styles menu-link"
  45. to="/directory"
  46. >
  47. Annuaire
  48. </nuxt-link>
  49. <nuxt-link
  50. class="common-styles menu-link"
  51. to="/news"
  52. >
  53. Actualités
  54. </nuxt-link>
  55. </v-col>
  56. <v-col
  57. v-if="!mdAndDown"
  58. cols="12"
  59. sm="12"
  60. md="5"
  61. class="buttons-col"
  62. >
  63. <v-btn
  64. class="btn btn-common common-styles btn-login"
  65. text
  66. >
  67. <v-icon
  68. left
  69. class="fas fa-user mr-4"
  70. /> Se connecter
  71. </v-btn>
  72. <v-btn
  73. class="btn btn-common common-styles btn-subscribe ml-4"
  74. text
  75. >
  76. <v-icon
  77. left
  78. class="fas fa-bell mr-4"
  79. />Vous abonner
  80. </v-btn>
  81. <div class="vertical-bar" />
  82. <nuxt-link
  83. class="common-styles btn-contact"
  84. to="/contact"
  85. >
  86. <v-icon class="fas fa-comment-dots mr-2" />Nous contacter
  87. </nuxt-link>
  88. </v-col>
  89. </v-row>
  90. </LayoutContainer>
  91. </template>
  92. <script setup>
  93. import { useDisplay } from "vuetify";
  94. const { mdAndDown } = useDisplay();
  95. </script>
  96. <style scoped>
  97. .colored-square {
  98. width: 3.5rem;
  99. height: 3.5rem;
  100. background-color: #091d20;
  101. }
  102. .logo {
  103. height: 4.5rem;
  104. }
  105. .custom-row {
  106. padding: 0 4rem;
  107. }
  108. .common-styles {
  109. font-family: "Barlow";
  110. font-style: normal;
  111. font-weight: 700;
  112. font-size: 0.7rem;
  113. line-height: 15px;
  114. }
  115. .vertical-bar {
  116. width: 0px;
  117. height: 3rem;
  118. border: 0.5px solid rgba(14, 45, 50, 0.4);
  119. margin-left: 10px;
  120. margin-right: 10px;
  121. margin-top: 0.2rem;
  122. }
  123. .buttons-col {
  124. display: flex;
  125. }
  126. .menu-bar {
  127. display: flex;
  128. align-items: center;
  129. background-color: #ffffff;
  130. height: 100%;
  131. margin-top: 10px;
  132. }
  133. .menu-link {
  134. text-decoration: none;
  135. padding: 1.1rem;
  136. font-weight: 500;
  137. font-size: 0.96rem;
  138. letter-spacing: 0.1em;
  139. text-transform: uppercase;
  140. color: #0e2d32;
  141. margin-right: 4px;
  142. }
  143. .btn-common {
  144. display: flex;
  145. flex-direction: row;
  146. align-items: center;
  147. padding: 25px;
  148. font-weight: 700;
  149. font-size: 0.8rem;
  150. line-height: 15px;
  151. border-radius: 6px;
  152. }
  153. .btn-login {
  154. background: #091d20;
  155. color: white;
  156. }
  157. .btn-subscribe {
  158. background: #9edbdd;
  159. }
  160. .btn-contact {
  161. letter-spacing: 0.18em;
  162. text-transform: uppercase;
  163. color: #0e2d32;
  164. margin-top: 17px;
  165. text-decoration: none;
  166. }
  167. .btn-contact:hover,
  168. .menu-link:hover {
  169. text-decoration: underline;
  170. }
  171. </style>