Reviews.vue 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. <template>
  2. <LayoutContainer :overflow="false">
  3. <div class="container-color">
  4. <h6 class="small-title">Avis Clients</h6>
  5. <h1 class="title-review">C'est vous qui le dites</h1>
  6. </div>
  7. <div class="container-green">
  8. <v-row justify="center">
  9. <!-- v-card with client review -->
  10. <v-col cols="12" md="6" lg="4">
  11. <v-card class="review-card left mx-auto">
  12. <v-avatar size="80" class="profile-img">
  13. <v-img src="/images/reviews/photo1.jpg"></v-img>
  14. </v-avatar>
  15. <v-card-title>
  16. <span class="review-name">John Doe </span>
  17. </v-card-title>
  18. <v-card-text>
  19. <p class="description-review">
  20. C'est un logiciel très bien conçu et efficace avec une équipe
  21. ouverte, dynamique et à l'écoute. L’assistance est très
  22. réactive, j'ai toujours eu une réponse rapide à mes besoins, ce
  23. qui est fort appréciable.
  24. </p>
  25. </v-card-text>
  26. <!-- card footer-->
  27. <small class="status">DIRECTEUR PÉDAGOGIQUE</small>
  28. <small class="structure"
  29. >Conservatoire Musique & Danse Sens (78)</small
  30. >
  31. </v-card>
  32. </v-col>
  33. <v-col cols="12" md="6" lg="4">
  34. <v-card class="review-card right mx-auto">
  35. <v-avatar size="80" class="profile-img">
  36. <v-img src="/images/reviews/photo1.jpg"></v-img>
  37. </v-avatar>
  38. <v-card-title>
  39. <span class="review-name">John Doe</span>
  40. </v-card-title>
  41. <v-card-text>
  42. <p class="description-review">
  43. C'est un logiciel très bien conçu et efficace avec une équipe
  44. ouverte, dynamique et à l'écoute. L’assistance est très
  45. réactive, j'ai toujours eu une réponse rapide à mes besoins, ce
  46. qui est fort appréciable.
  47. </p>
  48. </v-card-text>
  49. <!-- card footer-->
  50. <small class="status">DIRECTEUR PÉDAGOGIQUE</small>
  51. <small class="structure"
  52. >Conservatoire Musique & Danse Sens (78)</small
  53. >
  54. </v-card>
  55. </v-col>
  56. </v-row>
  57. <v-row justify="center">
  58. <!-- v-card with client review -->
  59. <v-col cols="12" md="6" lg="4">
  60. <v-card class="review-card left mx-auto">
  61. <v-avatar size="80" class="profile-img">
  62. <v-img src="/images/reviews/photo1.jpg"></v-img>
  63. </v-avatar>
  64. <v-card-title>
  65. <span class="review-name">John Doe </span>
  66. </v-card-title>
  67. <v-card-text>
  68. <p class="description-review">
  69. C'est un logiciel très bien conçu et efficace avec une équipe
  70. ouverte, dynamique et à l'écoute. L’assistance est très
  71. réactive, j'ai toujours eu une réponse rapide à mes besoins, ce
  72. qui est fort appréciable.
  73. </p>
  74. </v-card-text>
  75. <!-- card footer-->
  76. <small class="status">DIRECTEUR PÉDAGOGIQUE</small>
  77. <small class="structure"
  78. >Conservatoire Musique & Danse Sens (78)</small
  79. >
  80. </v-card>
  81. </v-col>
  82. <v-col cols="12" md="6" lg="4">
  83. <v-card class="review-card right mx-auto">
  84. <v-avatar size="80" class="profile-img">
  85. <v-img src="/images/reviews/photo1.jpg"></v-img>
  86. </v-avatar>
  87. <v-card-title>
  88. <span class="review-name">John Doe</span>
  89. </v-card-title>
  90. <v-card-text>
  91. <p class="description-review">
  92. C'est un logiciel très bien conçu et efficace avec une équipe
  93. ouverte, dynamique et à l'écoute. L’assistance est très
  94. réactive, j'ai toujours eu une réponse rapide à mes besoins, ce
  95. qui est fort appréciable.
  96. </p>
  97. </v-card-text>
  98. <!-- card footer-->
  99. <small class="status">DIRECTEUR PÉDAGOGIQUE</small>
  100. <small class="structure"
  101. >Conservatoire Musique & Danse Sens (78)</small
  102. >
  103. </v-card>
  104. </v-col>
  105. <h2 class="title">Plus de 5 000 structures nous font confiance</h2>
  106. <div class="d-flex justify-center align-center">
  107. <div class="carousel-button" @click="goPrevious">
  108. <i class="fas fa-chevron-left"></i>
  109. </div>
  110. <div class="carousel-button" @click="goNext">
  111. <i class="fas fa-chevron-right"></i>
  112. </div>
  113. </div>
  114. </v-row>
  115. <Carousel
  116. class="carrousel elevation-6"
  117. :itemsToShow="4"
  118. :itemsToScroll="2"
  119. v-slot="{ carousel: _carousel }"
  120. ref="carousel"
  121. >
  122. <Slide v-for="(item, index) in items" :key="index">
  123. <div class="card">
  124. <v-img class="card-img" :src="item.src" alt="Card image cap" />
  125. </div>
  126. </Slide>
  127. </Carousel>
  128. </div>
  129. </LayoutContainer>
  130. </template>
  131. <script setup>
  132. import { Carousel, Slide } from "vue3-carousel";
  133. const items = ref([
  134. { src: "/images/reviews/review1.png" },
  135. { src: "/images/reviews/review2.png" },
  136. { src: "/images/reviews/review3.png" },
  137. { src: "/images/reviews/review4.png" },
  138. { src: "/images/reviews/review5.png" },
  139. ]);
  140. let carousel;
  141. const goPrevious = () => carousel.prev();
  142. const goNext = () => carousel.next();
  143. </script>
  144. <style scoped>
  145. .carousel-button i {
  146. color: #ffffff;
  147. }
  148. .carousel-button {
  149. display: flex;
  150. justify-content: center;
  151. align-items: center;
  152. width: 40px;
  153. height: 40px;
  154. background-color: transparent;
  155. border: 2px solid #ffffff;
  156. cursor: pointer;
  157. margin-right: 1rem;
  158. margin-top: 1rem;
  159. }
  160. .card-img {
  161. height: 10rem;
  162. width: 10rem;
  163. margin-left: auto;
  164. margin-right: auto;
  165. margin-top: 2rem;
  166. margin-bottom: 2rem;
  167. }
  168. .carousel {
  169. background-color: white;
  170. margin-top: 2rem;
  171. border-radius: 20px;
  172. height: 13em;
  173. width: 60rem;
  174. margin-left: auto;
  175. margin-right: auto;
  176. box-shadow: #071b1f;
  177. }
  178. .container-green {
  179. background-color: #0e2d32;
  180. padding: 2rem;
  181. height: 70rem;
  182. }
  183. .left {
  184. left: 3rem;
  185. bottom: 15rem;
  186. }
  187. .right {
  188. bottom: 9rem;
  189. right: 5rem;
  190. }
  191. .status {
  192. margin-top: 1rem;
  193. font-family: "Barlow";
  194. font-style: normal;
  195. font-weight: 600;
  196. font-size: 10px;
  197. line-height: 15px;
  198. margin-left: 2rem;
  199. display: flex;
  200. align-items: center;
  201. letter-spacing: 0.18em;
  202. text-transform: uppercase;
  203. color: #071b1f;
  204. }
  205. .structure {
  206. font-family: "Barlow";
  207. font-style: normal;
  208. font-weight: 600;
  209. font-size: 10px;
  210. margin-left: 2rem;
  211. display: flex;
  212. align-items: center;
  213. color: #071b1f;
  214. margin-bottom: 1rem;
  215. }
  216. .description-review {
  217. font-family: "Barlow";
  218. line-height: 1.5rem;
  219. color: #071b1f;
  220. margin-left: 1rem;
  221. margin-right: 1rem;
  222. margin-bottom: 1rem;
  223. line-height: 20px;
  224. }
  225. .profile-img {
  226. border-radius: 50%;
  227. width: 3rem;
  228. height: 4rem;
  229. margin-left: 2rem;
  230. }
  231. .container-color {
  232. background: #f8f8f8;
  233. height: 25rem;
  234. }
  235. .review-card {
  236. width: 18rem;
  237. height: 25rem;
  238. }
  239. .review-name {
  240. margin-left: 1rem;
  241. font-weight: 500;
  242. font-family: "Barlow";
  243. font-style: normal;
  244. font-size: 1rem;
  245. color: #e34461;
  246. }
  247. .small-title {
  248. font-family: "Barlow";
  249. font-style: normal;
  250. text-align: center;
  251. letter-spacing: 0.18em;
  252. text-transform: uppercase;
  253. padding-top: 3rem;
  254. }
  255. .title-review {
  256. font-family: "Barlow";
  257. font-style: normal;
  258. font-size: 2rem;
  259. line-height: 42px;
  260. text-align: center;
  261. color: #071b1f;
  262. margin-left: 30rem;
  263. margin-right: 30rem;
  264. }
  265. .title {
  266. font-family: "Barlow";
  267. font-style: normal;
  268. font-size: 2rem;
  269. line-height: 42px;
  270. text-align: center;
  271. color: #ffffff;
  272. margin-left: 30rem;
  273. margin-right: 30rem;
  274. }
  275. </style>