Comparatif.vue 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  1. <template>
  2. <div id="Comparatif">
  3. <LayoutContainer>
  4. <v-row class="mt-12">
  5. <div class="d-flex justify-center align-center">
  6. <v-icon
  7. size="6"
  8. class="fa-solid fa-circle icon-title"
  9. />
  10. <h5 class="subtitle">
  11. Comparatif de nos solutions
  12. </h5>
  13. </div>
  14. </v-row>
  15. <v-row>
  16. <h3 class="title">
  17. Et si vous passiez à la version Premium
  18. </h3>
  19. </v-row>
  20. <table class="table-comparatif">
  21. <thead>
  22. <tr>
  23. <th class="thead" />
  24. <th class="thead">
  25. <p class="standard">
  26. Standard
  27. </p>
  28. <p class="from">
  29. A partir de
  30. </p>
  31. <p class="price">
  32. 32,90€ <span class="ttc">ttc</span>
  33. </p>
  34. <p class="month">
  35. /mois
  36. </p>
  37. </th>
  38. <th class="thead premium-column">
  39. <p class="standard ">
  40. Premium
  41. </p>
  42. <p class="from">
  43. A partir de
  44. </p>
  45. <p class="price">
  46. 46,20€ <span class="ttc">ttc</span>
  47. </p>
  48. <p class="month">
  49. /mois
  50. </p>
  51. </th>
  52. </tr>
  53. </thead>
  54. <tbody class="table-body">
  55. <tr
  56. v-for="row in tableData"
  57. :key="row.id"
  58. class="table-row"
  59. >
  60. <td class="table-data">
  61. {{ row.column1 }}
  62. </td>
  63. <td class="table-data-second">
  64. <v-icon
  65. v-if="row.column2 === 'check'"
  66. size="18"
  67. class="far fa-check-circle"
  68. />
  69. <v-icon
  70. v-else-if="row.column2 === 'cross'"
  71. size="18"
  72. class="far fa-times-circle"
  73. color="red"
  74. />
  75. <span v-else>{{ row.column2 }}</span>
  76. </td>
  77. <td class="table-data-second">
  78. <v-icon
  79. v-if="row.column3 === 'check'"
  80. size="18"
  81. class="far fa-check-circle"
  82. />
  83. <v-icon
  84. v-else-if="row.column3 === 'cross'"
  85. size="18"
  86. class="far fa-times-circle"
  87. color="red"
  88. />
  89. <span v-else>{{ row.column3 }}</span>
  90. </td>
  91. </tr>
  92. </tbody>
  93. </table>
  94. </LayoutContainer>
  95. </div>
  96. </template>
  97. <script setup>
  98. const tableData = [
  99. {
  100. id: 1,
  101. column1: "GESTION DU RÉPERTOIRE",
  102. column2: "check",
  103. column3: "check",
  104. },
  105. {
  106. id: 2,
  107. column1: "AGENDA",
  108. column2: "check",
  109. column3: "check",
  110. },
  111. {
  112. id: 3,
  113. column1: "SUIVI PÉDAGOGIQUE",
  114. column2: "check",
  115. column3: "check",
  116. },
  117. {
  118. id: 4,
  119. column1: "GESTION DU PARC MATÉRIEL",
  120. column2: "check",
  121. column3: "check",
  122. },
  123. {
  124. id: 5,
  125. column1: "COMMUNICATION",
  126. column2: "check",
  127. column3: "check",
  128. },
  129. {
  130. id: 6,
  131. column1: "SMS",
  132. column2: "check",
  133. column3: "check",
  134. },
  135. {
  136. id: 6,
  137. column1: "NOM DE DOMAINE",
  138. column2: "check",
  139. column3: "check",
  140. },
  141. {
  142. id: 7,
  143. column1: "SITE INTERNET",
  144. column2: "check",
  145. column3: "check",
  146. },
  147. {
  148. id: 8,
  149. column1: "STATISTIQUES",
  150. column2: "check",
  151. column3: "check",
  152. },
  153. {
  154. id: 9,
  155. column1: "FONCTIONNALITÉ DU RÉSEAU CMF",
  156. column2: "check",
  157. column3: "check",
  158. },
  159. {
  160. id: 10,
  161. column1: "SAUVEGARDE",
  162. column2: "check",
  163. column3: "check",
  164. },
  165. {
  166. id: 11,
  167. column1: "EXTRANET UTILISATEURS",
  168. column2: "cross",
  169. column3: "Option",
  170. },
  171. {
  172. id: 12,
  173. column1: "PRÉINSCRIPTION EN LIGNE",
  174. column2: "cross",
  175. column3: "Option",
  176. },
  177. {
  178. id: 13,
  179. column1: "GRILLES D'ÉVALUATION",
  180. column2: "check",
  181. column3: "Option",
  182. },
  183. {
  184. id: 14,
  185. column1: "GESTION DES RÈGLEMENTS",
  186. column2: "Option",
  187. column3: "Option",
  188. },
  189. {
  190. id: 15,
  191. column1: "ESPACE DE STOCKAGE",
  192. column2: "500 Mo",
  193. column3: "1 Go",
  194. },
  195. {
  196. id: 16,
  197. column1: "PAGE DU SITE INTERNET",
  198. column2: "restreint",
  199. column3: "illimités",
  200. },
  201. ];
  202. </script>
  203. .
  204. <style scoped>
  205. .table-data-second {
  206. padding-right: 5rem;
  207. }
  208. .standard {
  209. font-family: "Barlow";
  210. font-style: normal;
  211. font-weight: 600;
  212. font-size: 12px;
  213. line-height: 16px;
  214. text-align: center;
  215. letter-spacing: 0.18em;
  216. text-transform: uppercase;
  217. color: #0e2d32;
  218. padding-right: 5rem;
  219. margin-bottom: 1rem;
  220. }
  221. .from,
  222. .ttc {
  223. font-family: "Barlow";
  224. font-style: normal;
  225. font-weight: 300;
  226. font-size: 12px;
  227. line-height: 14px;
  228. text-align: center;
  229. color: #454545;
  230. padding-right: 5rem;
  231. }
  232. .ttc {
  233. text-transform: uppercase;
  234. }
  235. .price,
  236. .month {
  237. font-family: "Barlow";
  238. font-style: normal;
  239. font-weight: 400;
  240. font-size: 30px;
  241. line-height: 34px;
  242. text-align: center;
  243. color: #454545;
  244. }
  245. .month {
  246. padding-right: 5rem;
  247. }
  248. .table-data-left {
  249. width: 15rem;
  250. padding-right: 2rem;
  251. }
  252. .table-data {
  253. text-align: left;
  254. padding-left: 20px;
  255. font-family: "Barlow";
  256. font-style: normal;
  257. font-weight: 600;
  258. font-size: 12px;
  259. line-height: 16px;
  260. letter-spacing: 0.18em;
  261. text-transform: uppercase;
  262. color: #454545;
  263. }
  264. .icon-title {
  265. color: rgba(32, 147, 190, 0.6);
  266. font-size: 1.5rem;
  267. margin-left: 3rem;
  268. }
  269. .subtitle {
  270. font-family: "Barlow";
  271. font-style: normal;
  272. font-weight: 500;
  273. font-size: 0.9rem;
  274. margin-left: 0.5rem;
  275. font-size: 1rem;
  276. font-style: normal;
  277. font-weight: 600;
  278. line-height: 15px;
  279. letter-spacing: 1.8px;
  280. text-transform: uppercase;
  281. }
  282. .title {
  283. font-size: 3rem;
  284. font-weight: 600;
  285. margin-left: 3rem;
  286. width: 27rem;
  287. font-family: "Barlow";
  288. margin-top: 2rem;
  289. }
  290. .thead {
  291. background-color: #fff;
  292. height: 8rem;
  293. font-family: "Barlow";
  294. font-style: normal;
  295. font-weight: 400;
  296. font-size: 30px;
  297. line-height: 34px;
  298. }
  299. .table-comparatif {
  300. width: 70%;
  301. margin-top: 1rem;
  302. margin-right: auto;
  303. margin-left: auto;
  304. border: none;
  305. border-collapse: collapse;
  306. }
  307. .table-row {
  308. background-color: white;
  309. text-align: center;
  310. height: 3rem;
  311. }
  312. .table-body .table-row:nth-child(odd) {
  313. background-color: rgba(32, 147, 190, 0.2);
  314. }
  315. </style>