Banner.vue 3.7 KB

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