Banner.vue 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. <template>
  2. <LayoutContainer>
  3. <v-row>
  4. <v-col cols="12" class="title">
  5. <h1 class="text-center">Qui sommes nous ?</h1>
  6. </v-col>
  7. </v-row>
  8. <v-row>
  9. <v-col cols="12">
  10. <div class="banner-container">
  11. <img
  12. src="/images/solutions/school.jpg"
  13. alt="line"
  14. class="cover-image"
  15. />
  16. </div>
  17. </v-col>
  18. </v-row>
  19. <v-row>
  20. <v-col cols="12" class="menu-container">
  21. <div v-for="menu in menus" :key="menu.label">
  22. <v-chip v-if="state.activeMenu === menu.label" class="active-menu">{{
  23. menu.label
  24. }}</v-chip>
  25. <span v-else>{{ menu.label }}</span>
  26. </div>
  27. </v-col>
  28. </v-row>
  29. </LayoutContainer>
  30. </template>
  31. <script setup>
  32. const state = ref({
  33. activeMenu: "Qui sommes-nous",
  34. });
  35. const menus = [
  36. { label: "Qui sommes-nous" },
  37. { label: "nos logiciels" },
  38. { label: "l\’agenda opentalent" },
  39. { label: "notre histoire" },
  40. { label: "notre équipe" },
  41. ];
  42. </script>
  43. <style scoped>
  44. .title {
  45. margin-top: 2rem;
  46. margin-bottom: 2rem;
  47. text-align: center;
  48. font-family: "Barlow";
  49. font-style: normal;
  50. font-weight: 600;
  51. font-size: 3rem;
  52. line-height: 85px;
  53. }
  54. .container-title {
  55. display: flex;
  56. justify-content: space-around;
  57. font-family: "Barlow";
  58. line-height: 16px;
  59. display: flex;
  60. align-items: center;
  61. text-align: center;
  62. letter-spacing: 0.18em;
  63. border-bottom: 0.1rem solid #eaeaea;
  64. }
  65. .text-left {
  66. font-family: "Barlow";
  67. font-style: normal;
  68. font-weight: 600;
  69. font-size: 3rem;
  70. line-height: 85px;
  71. color: #000000;
  72. opacity: 0.1;
  73. margin-top: 2rem;
  74. margin-left: 5rem;
  75. }
  76. .logiciel {
  77. font-family: "Barlow";
  78. font-style: normal;
  79. font-size: 3rem;
  80. line-height: 85px;
  81. text-align: center;
  82. color: #000000;
  83. margin-left: 6rem;
  84. margin-right: 4rem;
  85. }
  86. .text-right {
  87. margin-top: 2rem;
  88. font-family: "Barlow";
  89. font-style: normal;
  90. font-weight: 600;
  91. font-size: 3rem;
  92. line-height: 85px;
  93. text-align: center;
  94. color: #000000;
  95. text-align: right;
  96. opacity: 0.1;
  97. margin-right: 5rem;
  98. }
  99. .menu-container {
  100. display: flex;
  101. justify-content: space-around;
  102. padding: 1rem 10rem;
  103. background: white;
  104. color: #bbb8b8;
  105. font-family: "Barlow";
  106. font-size: 12px;
  107. line-height: 16px;
  108. display: flex;
  109. align-items: center;
  110. text-align: center;
  111. letter-spacing: 0.18em;
  112. text-transform: uppercase;
  113. border-bottom: 0.1rem solid #eaeaea;
  114. }
  115. .v-chip.active-menu {
  116. background: black;
  117. color: white;
  118. }
  119. .black-square {
  120. position: absolute;
  121. bottom: 0.4rem;
  122. right: 0;
  123. width: 13rem;
  124. height: 10rem;
  125. background-color: black;
  126. background: #9edbdd;
  127. }
  128. .blue-square {
  129. position: absolute;
  130. bottom: 0.5rem;
  131. right: 12rem;
  132. width: 13rem;
  133. height: 10rem;
  134. background: #0e2d32;
  135. }
  136. .description-square {
  137. font-family: "Barlow";
  138. font-style: normal;
  139. font-weight: 300;
  140. font-size: 0.8rem;
  141. text-align: center;
  142. color: #091d20;
  143. display: flex;
  144. align-items: center;
  145. text-align: center;
  146. margin-top: 0.5rem;
  147. margin-left: 2rem;
  148. margin-right: 2rem;
  149. margin-bottom: 1rem;
  150. }
  151. .content-row {
  152. margin-top: 2rem;
  153. display: flex;
  154. flex-direction: column;
  155. justify-content: space-around;
  156. align-items: center;
  157. height: 100%;
  158. }
  159. .icon {
  160. margin-left: 2rem;
  161. margin-right: 2rem;
  162. }
  163. .logo-image {
  164. width: 90%;
  165. height: auto;
  166. margin-top: 1.5rem;
  167. margin-left: 0.5rem;
  168. }
  169. .banner-container {
  170. position: relative;
  171. overflow: hidden;
  172. }
  173. .cover-image {
  174. width: 100%;
  175. height: 25rem;
  176. object-fit: cover;
  177. transition: transform 0.2s;
  178. margin: 0 auto;
  179. transform: scaleX(-1);
  180. }
  181. </style>