Comparatif.vue 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. <template>
  2. <div id="Comparatif">
  3. <LayoutContainer>
  4. <v-row class="mt-12">
  5. <div class="title-container mt-6">
  6. <v-icon size="6" class="fa-solid fa-circle icon-title mt-6 ml-6" />
  7. <h4 class="subtitle mt-6 ml-2">Comparatif de nos solutions</h4>
  8. </div>
  9. </v-row>
  10. <v-row>
  11. <h3 class="title">Et si vous passiez à la version Premium</h3>
  12. </v-row>
  13. <table class="table-comparatif">
  14. <thead>
  15. <tr>
  16. <th class="thead" />
  17. <th class="thead">
  18. <p class="standard">Standard</p>
  19. <p class="from">A partir de</p>
  20. <p class="price">14 <span class="ttc">ttc</span></p>
  21. <p class="month">/mois</p>
  22. </th>
  23. <th class="thead premium-column">
  24. <p class="standard">Premium</p>
  25. <p class="from">A partir de</p>
  26. <p class="price">18 <span class="ttc">ttc</span></p>
  27. <p class="month">/mois</p>
  28. </th>
  29. </tr>
  30. </thead>
  31. <tbody class="table-body">
  32. <tr v-for="row in tableData" :key="row.id" class="table-row">
  33. <td class="table-data">
  34. {{ row.column2 }}
  35. </td>
  36. <td class="table-data-second">
  37. <v-icon
  38. v-if="row.column3 == 'check'"
  39. size="18"
  40. class="far fa-check-circle"
  41. />
  42. <v-icon
  43. v-else-if="row.column3 === 'cross'"
  44. size="18"
  45. class="far fa-times-circle"
  46. color="red"
  47. />
  48. <span v-else>{{ row.column3 }}</span>
  49. </td>
  50. <td class="table-data-second">
  51. <v-icon
  52. v-if="row.column4 == 'check'"
  53. size="18"
  54. class="far fa-check-circle"
  55. />
  56. <v-icon
  57. v-else-if="row.column3 === 'cross'"
  58. size="18"
  59. class="far fa-times-circle"
  60. color="red"
  61. />
  62. <span v-else>{{ row.column4 }}</span>
  63. </td>
  64. </tr>
  65. </tbody>
  66. </table>
  67. </LayoutContainer>
  68. </div>
  69. </template>
  70. <script setup>
  71. const tableData = [
  72. {
  73. id: 1,
  74. column2: "ADMINISTRATION",
  75. column3: "check",
  76. column4: "check",
  77. },
  78. {
  79. id: 2,
  80. column2: "GESTION DES MEMBRES",
  81. column3: "check",
  82. column4: "check",
  83. },
  84. {
  85. id: 3,
  86. column2: "EXTRANET UTILISATEURS",
  87. column3: "check",
  88. column4: "check",
  89. },
  90. {
  91. id: 4,
  92. column2: "GESTION DU MATÉRIEL",
  93. column3: "check",
  94. column4: "check",
  95. },
  96. {
  97. id: 5,
  98. column2: "GESTION DES ÉVÉNEMENTS",
  99. column3: "check",
  100. column4: "check",
  101. },
  102. {
  103. id: 6,
  104. column2: "CARNET D'ADRESSE",
  105. column3: "check",
  106. column4: "check",
  107. },
  108. {
  109. id: 7,
  110. column2: "COMMUNICATION",
  111. column3: "cross",
  112. column4: "check",
  113. },
  114. {
  115. id: 8,
  116. column2: "SITE INTERNET",
  117. column3: "check",
  118. column4: "check",
  119. },
  120. {
  121. id: 9,
  122. column2: "FONCTIONNALITÉ DU RÉSEAU CMF",
  123. column3: "check",
  124. column4: "check",
  125. },
  126. {
  127. id: 10,
  128. column2: "SAUVEGARDE",
  129. column3: "check",
  130. column4: "check",
  131. },
  132. ];
  133. </script>
  134. .
  135. <style scoped>
  136. .title-container{
  137. display: flex;
  138. align-items: center;
  139. }
  140. .icon-title {
  141. color: #fac20a;
  142. font-size: 1.5rem;
  143. }
  144. .subtitle {
  145. color: #0e2d32;
  146. font-family: "Barlow";
  147. font-size: 1rem;
  148. font-style: normal;
  149. font-weight: 600;
  150. line-height: 15px;
  151. letter-spacing: 1.8px;
  152. text-transform: uppercase;
  153. }
  154. .table-data-second {
  155. padding-right: 5rem;
  156. }
  157. .standard {
  158. font-family: "Barlow";
  159. font-style: normal;
  160. font-weight: 600;
  161. font-size: 12px;
  162. line-height: 16px;
  163. text-align: center;
  164. letter-spacing: 0.18em;
  165. text-transform: uppercase;
  166. color: #0e2d32;
  167. padding-right: 5rem;
  168. margin-bottom: 1rem;
  169. }
  170. .from,
  171. .ttc {
  172. font-family: "Barlow";
  173. font-style: normal;
  174. font-weight: 300;
  175. font-size: 12px;
  176. line-height: 14px;
  177. text-align: center;
  178. color: #454545;
  179. padding-right: 5rem;
  180. }
  181. .ttc {
  182. text-transform: uppercase;
  183. }
  184. .price,
  185. .month {
  186. font-family: "Barlow";
  187. font-style: normal;
  188. font-weight: 400;
  189. font-size: 30px;
  190. line-height: 34px;
  191. text-align: center;
  192. color: #454545;
  193. }
  194. .month {
  195. padding-right: 5rem;
  196. }
  197. .table-data-left {
  198. width: 15rem;
  199. padding-right: 2rem;
  200. }
  201. .table-data {
  202. text-align: left;
  203. padding-left: 20px;
  204. font-family: "Barlow";
  205. font-style: normal;
  206. font-weight: 600;
  207. font-size: 12px;
  208. line-height: 16px;
  209. letter-spacing: 0.18em;
  210. text-transform: uppercase;
  211. color: #454545;
  212. }
  213. .title {
  214. font-size: 1.5rem;
  215. font-weight: 600;
  216. margin-left: 3rem;
  217. width: 27rem;
  218. font-family: "Barlow";
  219. font-size: 2.5rem;
  220. margin-top: 2rem;
  221. }
  222. .thead {
  223. background-color: #fff;
  224. height: 8rem;
  225. font-family: "Barlow";
  226. font-style: normal;
  227. font-weight: 400;
  228. font-size: 30px;
  229. line-height: 34px;
  230. }
  231. .table-comparatif {
  232. width: 70%;
  233. margin-top: 1rem;
  234. margin-right: auto;
  235. margin-left: auto;
  236. border: none;
  237. border-collapse: collapse;
  238. margin-bottom: 3rem;
  239. }
  240. .table-row {
  241. background-color: white;
  242. text-align: center;
  243. height: 3rem;
  244. }
  245. .table-body .table-row:nth-child(even) {
  246. background-color: #fac20a33;
  247. }
  248. </style>