Reviews.vue 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  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. import "vue3-carousel/dist/carousel.css";
  145. const carousel = ref(null);
  146. const goPrevious = () => {
  147. carousel.value.prev();
  148. };
  149. const goNext = () => {
  150. carousel.value.next();
  151. };
  152. const items = ref([
  153. { src: "/images/reviews/review1.png" },
  154. { src: "/images/reviews/review2.png" },
  155. { src: "/images/reviews/review3.png" },
  156. { src: "/images/reviews/review4.png" },
  157. { src: "/images/reviews/review5.png" },
  158. ]);
  159. </script>
  160. <style scoped>
  161. .title {
  162. font-family: "Barlow";
  163. font-style: normal;
  164. font-size: 2rem;
  165. line-height: 42px;
  166. text-align: center;
  167. color: #ffffff;
  168. margin-left: 30rem;
  169. margin-right: 30rem;
  170. }
  171. .icon-title {
  172. margin-top: 1rem;
  173. color: #64afb7;
  174. }
  175. .carousel-button i {
  176. color: #ffffff;
  177. }
  178. .carousel-button {
  179. display: flex;
  180. justify-content: center;
  181. align-items: center;
  182. width: 40px;
  183. height: 40px;
  184. background-color: transparent;
  185. border: 2px solid #ffffff;
  186. cursor: pointer;
  187. margin-right: 1rem;
  188. margin-top: 1rem;
  189. }
  190. .card-img {
  191. height: 10rem;
  192. width: 10rem;
  193. margin-left: auto;
  194. margin-right: auto;
  195. margin-top: 2rem;
  196. margin-bottom: 2rem;
  197. }
  198. .carousel {
  199. background-color: white;
  200. margin-top: 2rem;
  201. border-radius: 20px;
  202. height: 13em;
  203. width: 60rem;
  204. margin-left: auto;
  205. margin-right: auto;
  206. box-shadow: #071b1f;
  207. }
  208. .container-green {
  209. background-color: #0e2d32;
  210. padding: 2rem;
  211. height: 70rem;
  212. }
  213. .left {
  214. left: 3rem;
  215. bottom: 15rem;
  216. }
  217. .right {
  218. bottom: 9rem;
  219. right: 5rem;
  220. }
  221. .status {
  222. margin-top: 1rem;
  223. font-family: "Barlow";
  224. font-style: normal;
  225. font-weight: 600;
  226. font-size: 0.7rem;
  227. line-height: 15px;
  228. margin-left: 2rem;
  229. display: flex;
  230. align-items: center;
  231. letter-spacing: 0.18em;
  232. text-transform: uppercase;
  233. color: #071b1f;
  234. }
  235. .structure {
  236. font-family: "Barlow";
  237. font-style: normal;
  238. font-weight: 600;
  239. font-size: 0.8rem;
  240. margin-left: 2rem;
  241. display: flex;
  242. align-items: center;
  243. color: #071b1f;
  244. margin-bottom: 1rem;
  245. }
  246. .description-review {
  247. font-family: "Barlow";
  248. font-size: 1rem;
  249. line-height: 1.5rem;
  250. color: #071b1f;
  251. margin-left: 1rem;
  252. margin-right: 1rem;
  253. margin-bottom: 1rem;
  254. line-height: 20px;
  255. }
  256. .profile-img {
  257. border-radius: 50%;
  258. width: 3rem;
  259. height: 4rem;
  260. margin-left: 2rem;
  261. }
  262. .container-color {
  263. background: #f8f8f8;
  264. height: 25rem;
  265. }
  266. .review-card {
  267. width: 21rem;
  268. height: 100%;
  269. margin-bottom: 2rem;
  270. }
  271. .review-name {
  272. margin-left: 1rem;
  273. font-weight: 500;
  274. font-family: "Barlow";
  275. font-style: normal;
  276. font-size: 1.5rem;
  277. color: #e34461;
  278. }
  279. .small-title {
  280. font-family: "Barlow";
  281. font-style: normal;
  282. text-align: center;
  283. letter-spacing: 0.18em;
  284. text-transform: uppercase;
  285. padding-top: 1rem;
  286. }
  287. .title-review {
  288. font-family: "Barlow";
  289. font-style: normal;
  290. font-size: 2rem;
  291. line-height: 42px;
  292. text-align: center;
  293. color: #071b1f;
  294. margin-left: 30rem;
  295. margin-right: 30rem;
  296. }
  297. </style>