Reviews.vue 8.3 KB

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