Banner.vue 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. <template>
  2. <LayoutContainer>
  3. <v-row>
  4. <div class="container-title">
  5. <v-col cols="4" class="text-left">
  6. <h1>Artist</h1>
  7. </v-col>
  8. <v-col cols="4" class="logiciel">
  9. <h1>Opentalent School</h1>
  10. </v-col>
  11. <v-col cols="4" class="text-right">
  12. <h1>Manager</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/solutions/school.jpg"
  21. alt="line"
  22. class="cover-image"
  23. />
  24. <div class="black-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. École de musique, d'art, de danse, de cirque, conservatoires
  30. et MJC
  31. </p>
  32. </div>
  33. </v-row>
  34. </div>
  35. <div class="blue-square">
  36. <img
  37. src="/images/logo_school_white.png"
  38. alt="Logo"
  39. class="logo-image"
  40. />
  41. </div>
  42. </div>
  43. </v-col>
  44. </v-row>
  45. </LayoutContainer>
  46. </template>
  47. <script setup>
  48. </script>
  49. <style scoped>
  50. /** titre au dessus de la banner */
  51. .container-title {
  52. display: flex;
  53. justify-content: space-around;
  54. line-height: 16px;
  55. display: flex;
  56. align-items: center;
  57. text-align: center;
  58. letter-spacing: 0.18em;
  59. border-bottom: 0.1rem solid #eaeaea;
  60. }
  61. .logiciel {
  62. font-family: "Barlow";
  63. font-style: normal;
  64. font-size: 3rem;
  65. line-height: 85px;
  66. text-align: center;
  67. color: #000000;
  68. margin-left: 6rem;
  69. margin-right: 4rem;
  70. }
  71. .text-left {
  72. font-family: "Barlow";
  73. font-style: normal;
  74. font-weight: 600;
  75. font-size: 3rem;
  76. line-height: 85px;
  77. color: #000000;
  78. opacity: 0.1;
  79. margin-top: 2rem;
  80. margin-left: 5rem;
  81. }
  82. .text-right {
  83. margin-top: 2rem;
  84. font-family: "Barlow";
  85. font-style: normal;
  86. font-weight: 600;
  87. font-size: 3rem;
  88. line-height: 85px;
  89. text-align: center;
  90. color: #000000;
  91. text-align: right;
  92. opacity: 0.1;
  93. margin-right: 5rem;
  94. }
  95. /** banner et cadre pour logo et description de logiciel */
  96. .black-square {
  97. position: absolute;
  98. bottom: 0.4rem;
  99. right: 0;
  100. width: 13rem;
  101. height: 10rem;
  102. background-color: black;
  103. background: #9edbdd;
  104. }
  105. .blue-square {
  106. position: absolute;
  107. bottom: 0.4rem;
  108. right: 13rem;
  109. width: 13rem;
  110. height: 10rem;
  111. background: #0e2d32;
  112. }
  113. .description-square {
  114. font-family: "Barlow";
  115. font-style: normal;
  116. font-weight: 300;
  117. font-size: 0.8rem;
  118. text-align: center;
  119. color: #091d20;
  120. display: flex;
  121. align-items: center;
  122. text-align: center;
  123. margin-top: 0.5rem;
  124. margin-left: 2rem;
  125. margin-right: 2rem;
  126. margin-bottom: 1rem;
  127. }
  128. .content-row {
  129. margin-top: 2rem;
  130. display: flex;
  131. flex-direction: column;
  132. justify-content: space-around;
  133. align-items: center;
  134. height: 100%;
  135. }
  136. .icon {
  137. margin-left: 2rem;
  138. margin-right: 2rem;
  139. }
  140. .logo-image {
  141. width: 90%;
  142. height: auto;
  143. margin-top: 1.5rem;
  144. margin-left: 0.5rem;
  145. }
  146. .banner-container {
  147. position: relative;
  148. overflow: hidden;
  149. }
  150. .cover-image {
  151. width: 100%;
  152. height: 25rem;
  153. object-fit: cover;
  154. transition: transform 0.2s;
  155. margin: 0 auto;
  156. transform: scaleX(-1);
  157. }
  158. </style>