Banner.vue 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. <template>
  2. <LayoutContainer>
  3. <v-row>
  4. <div class="container-title">
  5. <v-col cols="4" class="text-left">
  6. <h1>School</h1>
  7. </v-col>
  8. <v-col cols="4" class="logiciel">
  9. <h1>Opentalent Manager</h1>
  10. </v-col>
  11. <v-col cols="4" class="text-right">
  12. <h1>Artist</h1>
  13. </v-col>
  14. </div>
  15. </v-row>
  16. <v-row>
  17. <v-col cols="12">
  18. <div class="banner-container">
  19. <img
  20. src="/images/logiciels/manager/banner-manager.png"
  21. alt="line"
  22. class="cover-image"
  23. />
  24. <div class="red-square">
  25. <v-row>
  26. <div class="content-row">
  27. <v-icon size="50" class="fa-brands fa-react icon"></v-icon>
  28. <p class="description-square">
  29. Fédérations, confédérations et collectivités
  30. </p>
  31. </div>
  32. </v-row>
  33. </div>
  34. <div class="white-square">
  35. <img
  36. src="/images/opentalent_manager_black.jpg"
  37. alt="Logo"
  38. class="logo-image"
  39. />
  40. </div>
  41. </div>
  42. </v-col>
  43. </v-row>
  44. <v-row>
  45. <v-col cols="12" class="menu-container">
  46. <div v-for="menu in menus" :key="menu.label">
  47. <v-chip v-if="state.activeMenu === menu.label" class="active-menu">{{ menu.label }}</v-chip>
  48. <span v-else>{{ menu.label }}</span>
  49. </div>
  50. </v-col>
  51. </v-row>
  52. </LayoutContainer>
  53. </template>
  54. <script setup>
  55. const state = ref({
  56. activeMenu: "Présentation",
  57. })
  58. const menus = [
  59. { label: 'Présentation' },
  60. { label: 'Avantages' },
  61. { label: 'Comparatif' },
  62. { label: 'Détails' },
  63. { label: 'Abonnement' },
  64. { label: 'Accompagnement' },
  65. { label: 'Témoignages' },
  66. { label: 'Formations' },
  67. { label: 'Solutions associées' }
  68. ];
  69. </script>
  70. <style scoped >
  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. .red-square {
  137. position: absolute;
  138. bottom: 0.4rem;
  139. right: 0;
  140. width: 13rem;
  141. height: 10rem;
  142. background: #D8050B;
  143. opacity: 0.9;
  144. color:white;
  145. }
  146. .white-square {
  147. position: absolute;
  148. bottom: 0.4rem;
  149. right: 13rem;
  150. width: 13rem;
  151. height: 10rem;
  152. background: white;
  153. }
  154. .description-square {
  155. font-family: "Barlow";
  156. font-style: normal;
  157. font-weight: 300;
  158. font-size: 0.8rem;
  159. text-align: center;
  160. color: white;
  161. display: flex;
  162. align-items: center;
  163. text-align: center;
  164. margin-top: 0.5rem;
  165. margin-left: 2rem;
  166. margin-right: 2rem;
  167. margin-bottom: 1rem;
  168. }
  169. .content-row {
  170. margin-top: 2rem;
  171. display: flex;
  172. flex-direction: column;
  173. justify-content: space-around;
  174. align-items: center;
  175. height: 100%;
  176. }
  177. .icon {
  178. margin-left: 2rem;
  179. margin-right: 2rem;
  180. }
  181. .logo-image {
  182. width: 90%;
  183. height: auto;
  184. margin-top: 1.5rem;
  185. margin-left: 0.5rem;
  186. }
  187. .banner-container {
  188. position: relative;
  189. overflow: hidden;
  190. }
  191. .cover-image {
  192. width: 100%;
  193. height: 27rem;
  194. object-fit: cover;
  195. transition: transform 0.2s;
  196. margin: 0 auto;
  197. transform: scaleX(-1);
  198. }
  199. </style>