Navigation.vue 2.9 KB

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