Banner.vue 3.5 KB

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