Banner.vue 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. <template>
  2. <LayoutContainer>
  3. <v-row>
  4. <v-col cols="4" class="text-left">
  5. <h1>Artist</h1>
  6. </v-col>
  7. <v-col cols="4" class="text-center">
  8. <h1>Opentalent School</h1>
  9. </v-col>
  10. <v-col cols="4" class="text-right">
  11. <h1>Manager</h1>
  12. </v-col>
  13. </v-row>
  14. <v-row>
  15. <v-col cols="12">
  16. <div class="banner-container">
  17. <img
  18. src="/images/solutions/school.jpg"
  19. alt="line"
  20. class="cover-image"
  21. />
  22. <div class="black-square">
  23. <p>
  24. École de musique, d'art, de danse, de cirque, conservatoires et
  25. MJC
  26. </p>
  27. </div>
  28. <div class="blue-square">
  29. <img
  30. src="/images/logo_school_white.png"
  31. alt="Logo"
  32. class="logo-image"
  33. />
  34. </div>
  35. </div>
  36. </v-col>
  37. </v-row>
  38. <v-row>
  39. <v-col cols="12" class="menu-container">
  40. <v-chip v-if="state.activeMenu === 'Présentation'" class="active-menu"
  41. >Présentation</v-chip
  42. >
  43. <span v-else>Présentation</span>
  44. <span>Inactif</span>
  45. <v-chip v-if="state.activeMenu === 'Avantages'" class="active-menu"
  46. >Avantages</v-chip
  47. >
  48. <span v-else>Avantages</span>
  49. <v-chip
  50. v-if="state.activeMenu === 'Fonctionnalités'"
  51. class="active-menu"
  52. >Fonctionnalités</v-chip
  53. >
  54. <span v-else>Fonctionnalités</span>
  55. <v-chip v-if="state.activeMenu === 'Comparatif'" class="active-menu"
  56. >Comparatif</v-chip
  57. >
  58. <span v-else>Comparatif</span>
  59. <v-chip v-if="state.activeMenu === 'Contact'" class="active-menu"
  60. >Contact</v-chip
  61. >
  62. <span v-else>Contact</span>
  63. <v-chip v-if="state.activeMenu === 'Accompagnement'" class="active-menu"
  64. >Accompagnement</v-chip
  65. >
  66. <span v-else>Accompagnement</span>
  67. <v-chip v-if="state.activeMenu === 'Témoignages'" class="active-menu"
  68. >Témoignages</v-chip
  69. >
  70. <span v-else>Témoignages</span>
  71. <v-chip v-if="state.activeMenu === 'Aide'" class="active-menu"
  72. >Aide</v-chip
  73. >
  74. <span v-else>Aide</span>
  75. </v-col>
  76. </v-row>
  77. </LayoutContainer>
  78. </template>
  79. <script setup>
  80. const state = reactive({
  81. activeMenu: "Présentation",
  82. });
  83. </script>
  84. <style scoped>
  85. .menu-container {
  86. display: flex;
  87. justify-content: space-around;
  88. padding: 1rem 10rem;
  89. background: white;
  90. color: #c4c4c4;
  91. font-family: "Barlow";
  92. font-size: 12px;
  93. line-height: 16px;
  94. display: flex;
  95. align-items: center;
  96. text-align: center;
  97. letter-spacing: 0.18em;
  98. text-transform: uppercase;
  99. border-bottom: 0.1rem solid #eaeaea;
  100. }
  101. .v-chip.active-menu {
  102. background: black;
  103. color: white;
  104. }
  105. .black-square {
  106. position: absolute;
  107. bottom: 0.4rem;
  108. right: 0;
  109. width: 9rem;
  110. height: 8rem;
  111. background-color: black;
  112. background: #9edbdd;
  113. }
  114. .blue-square {
  115. position: absolute;
  116. bottom: 0.4rem;
  117. right: 9rem;
  118. width: 9rem;
  119. height: 8rem;
  120. background: #0e2d32;
  121. }
  122. .logo-image {
  123. width: 100%;
  124. height: auto;
  125. margin-top: 1.5rem;
  126. }
  127. .banner-container {
  128. position: relative;
  129. overflow: hidden;
  130. }
  131. .text-left {
  132. font-family: "Barlow";
  133. font-style: normal;
  134. font-weight: 600;
  135. font-size: 3rem;
  136. line-height: 85px;
  137. color: #000000;
  138. opacity: 0.1;
  139. margin-top: 2rem;
  140. }
  141. .text-center {
  142. font-family: "Barlow";
  143. font-style: normal;
  144. font-weight: 600;
  145. font-size: 3rem;
  146. line-height: 85px;
  147. text-align: center;
  148. color: #000000;
  149. text-align: center;
  150. }
  151. .text-right {
  152. margin-top: 2rem;
  153. font-family: "Barlow";
  154. font-style: normal;
  155. font-weight: 600;
  156. font-size: 3rem;
  157. line-height: 85px;
  158. text-align: center;
  159. color: #000000;
  160. text-align: right;
  161. opacity: 0.1;
  162. }
  163. .banner-container {
  164. position: relative;
  165. overflow: hidden;
  166. }
  167. .cover-image {
  168. width: 100%;
  169. height: 25rem;
  170. object-fit: cover;
  171. transition: transform 0.2s;
  172. margin: 0 auto;
  173. transform: scaleX(-1);
  174. }
  175. </style>