Navigation.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <template>
  2. <LayoutContainer>
  3. <v-row
  4. justify="space-between"
  5. :class="mdAndDown ? 'menu-bar' : ' menu-bar custom-row'"
  6. >
  7. <v-col :cols="mdAndDown ? 8 : 6" sm="8" 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="mdAndDown" cols="3">
  13. <div class="colored-square"></div>
  14. </v-col>
  15. <v-col v-if="!mdAndDown" 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="!mdAndDown" 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. }
  57. .custom-row {
  58. padding: 0 4rem;
  59. }
  60. .common-styles {
  61. font-family: "Barlow";
  62. font-style: normal;
  63. font-weight: 700;
  64. font-size: 0.7rem;
  65. line-height: 15px;
  66. }
  67. .vertical-bar {
  68. width: 0px;
  69. height: 3rem;
  70. border: 0.5px solid rgba(14, 45, 50, 0.4);
  71. margin-left: 10px;
  72. margin-right: 10px;
  73. margin-top: 0.2rem;
  74. }
  75. .buttons-col {
  76. display: flex;
  77. }
  78. .menu-bar {
  79. display: flex;
  80. align-items: center;
  81. background-color: #ffffff;
  82. height: 100%;
  83. margin-top: 10px;
  84. }
  85. .menu-link {
  86. text-decoration: none;
  87. padding: 1.1rem;
  88. font-weight: 500;
  89. font-size: 0.96rem;
  90. letter-spacing: 0.1em;
  91. text-transform: uppercase;
  92. color: #0e2d32;
  93. margin-right: 4px;
  94. }
  95. .btn-common {
  96. display: flex;
  97. flex-direction: row;
  98. align-items: center;
  99. padding: 25px;
  100. font-weight: 700;
  101. font-size: 0.8rem;
  102. line-height: 15px;
  103. border-radius: 6px;
  104. }
  105. .btn-login {
  106. background: #091d20;
  107. color: white;
  108. }
  109. .btn-subscribe {
  110. background: #9edbdd;
  111. }
  112. .btn-contact {
  113. letter-spacing: 0.18em;
  114. text-transform: uppercase;
  115. color: #0e2d32;
  116. margin-top: 17px;
  117. text-decoration: none;
  118. }
  119. .btn-contact:hover,
  120. .menu-link:hover {
  121. text-decoration: underline;
  122. }
  123. </style>