Premium.vue 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  1. <template>
  2. <div id="Comparatif">
  3. <LayoutContainer>
  4. <v-row>
  5. <div class="d-flex justify-center align-center">
  6. <v-icon
  7. size="10"
  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. <th class="thead">
  26. <p class="standard">
  27. Standard
  28. </p>
  29. <p class="from">
  30. A partir de
  31. </p>
  32. <p class="price">
  33. 11 <span class="ttc">ttc</span>
  34. </p>
  35. <p class="month">
  36. /mois
  37. </p>
  38. </th>
  39. <th class="thead premium-column">
  40. <p class="standard">
  41. Premium
  42. </p>
  43. <p class="from">
  44. A partir de
  45. </p>
  46. <p class="price">
  47. 18 <span class="ttc">ttc</span>
  48. </p>
  49. <p class="month">
  50. /mois
  51. </p>
  52. </th>
  53. </tr>
  54. </thead>
  55. <tbody class="table-body">
  56. <tr
  57. v-for="row in tableData"
  58. :key="row.id"
  59. class="table-row"
  60. >
  61. <td class="table-data table-data-left">
  62. {{ row.column1 }}
  63. </td>
  64. <td class="table-data">
  65. {{ row.column2 }}
  66. </td>
  67. <td class="table-data-second">
  68. <v-icon
  69. v-if="row.column3 == 'check'"
  70. size="15"
  71. class="far fa-check-circle"
  72. />
  73. <span v-else>{{ row.column3 }}</span>
  74. </td>
  75. <td class="table-data-second">
  76. <v-icon
  77. v-if="row.column4 == 'check'"
  78. size="15"
  79. class="far fa-check-circle"
  80. />
  81. <span v-else>{{ row.column4 }}</span>
  82. </td>
  83. </tr>
  84. </tbody>
  85. </table>
  86. </LayoutContainer>
  87. </div>
  88. </template>
  89. <script setup>
  90. const tableData = [
  91. {
  92. id: 1,
  93. column1: "Espace mémoire",
  94. column2: "Stockage disponible",
  95. column3: "1 Go",
  96. column4: "2 Go",
  97. },
  98. {
  99. id: 2,
  100. column1: "Administration",
  101. column2: "Compte Internet avec gestion des droits",
  102. column3: "150",
  103. column4: "300",
  104. },
  105. {
  106. id: 3,
  107. column1: "",
  108. column2: "Gestion des rôles",
  109. column3: "check",
  110. column4: "check",
  111. },
  112. {
  113. id: 4,
  114. column1: "",
  115. column2: "Gestion du bureau et du CA",
  116. column3: "check",
  117. column4: "check",
  118. },
  119. {
  120. id: 5,
  121. column1: "",
  122. column2: "Gestion des commissions",
  123. column3: "check",
  124. column4: "check",
  125. },
  126. {
  127. id: 6,
  128. column1: "gestion des membres",
  129. column2: "",
  130. column3: "check",
  131. column4: "check",
  132. },
  133. {
  134. id: 7,
  135. column1: "",
  136. column2: "Tuteurs pour les mineurs",
  137. column3: "check",
  138. column4: "check",
  139. },
  140. {
  141. id: 8,
  142. column1: "gestion des élèves",
  143. column2: "Nombre d’élève maximum",
  144. column3: "check",
  145. column4: "check",
  146. },
  147. {
  148. id: 9,
  149. column1: "",
  150. column2: "Fiche élève avec gestion des tuteurs",
  151. column3: "check",
  152. column4: "check",
  153. },
  154. {
  155. id: 10,
  156. column1: "",
  157. column2: "Corus suivi",
  158. column3: "check",
  159. column4: "check",
  160. },
  161. {
  162. id: 11,
  163. column1: "",
  164. column2: "Suivi pédagogique",
  165. column3: "check",
  166. column4: "check",
  167. },
  168. ];
  169. </script>
  170. .
  171. <style scoped>
  172. .table-data-second {
  173. padding-right: 5rem;
  174. }
  175. .standard {
  176. font-family: "Barlow";
  177. font-style: normal;
  178. font-weight: 600;
  179. font-size: 12px;
  180. line-height: 16px;
  181. text-align: center;
  182. letter-spacing: 0.18em;
  183. text-transform: uppercase;
  184. color: #0e2d32;
  185. padding-right: 5rem;
  186. margin-bottom: 1rem;
  187. }
  188. .from,
  189. .ttc {
  190. font-family: "Barlow";
  191. font-style: normal;
  192. font-weight: 300;
  193. font-size: 12px;
  194. line-height: 14px;
  195. text-align: center;
  196. color: #454545;
  197. padding-right: 5rem;
  198. }
  199. .ttc {
  200. text-transform: uppercase;
  201. }
  202. .price,
  203. .month {
  204. font-family: "Barlow";
  205. font-style: normal;
  206. font-weight: 400;
  207. font-size: 30px;
  208. line-height: 34px;
  209. text-align: center;
  210. color: #454545;
  211. }
  212. .month {
  213. padding-right: 5rem;
  214. }
  215. .table-data-left {
  216. width: 15rem;
  217. padding-right: 2rem;
  218. }
  219. .table-data {
  220. text-align: left;
  221. padding-left: 20px;
  222. font-family: "Barlow";
  223. font-style: normal;
  224. font-weight: 600;
  225. font-size: 12px;
  226. line-height: 16px;
  227. letter-spacing: 0.18em;
  228. text-transform: uppercase;
  229. color: #454545;
  230. }
  231. .icon-title {
  232. color: #fac20a;
  233. font-size: 1.5rem;
  234. margin-left: 3rem;
  235. }
  236. .subtitle {
  237. font-family: "Barlow";
  238. font-style: normal;
  239. font-weight: 500;
  240. font-size: 0.9rem;
  241. margin-left: 0.5rem;
  242. }
  243. .title {
  244. font-size: 1.5rem;
  245. font-weight: 600;
  246. margin-left: 3rem;
  247. width: 27rem;
  248. font-family: "Barlow";
  249. font-size: 2.5rem;
  250. margin-top: 2rem;
  251. }
  252. .thead {
  253. background-color: #fff;
  254. height: 8rem;
  255. font-family: "Barlow";
  256. font-style: normal;
  257. font-weight: 400;
  258. font-size: 30px;
  259. line-height: 34px;
  260. }
  261. .table-comparatif {
  262. width: 80%;
  263. margin-top: 1rem;
  264. margin-right: auto;
  265. margin-left: auto;
  266. border: none;
  267. border-collapse: collapse;
  268. }
  269. .table-row {
  270. background-color: white;
  271. text-align: center;
  272. height: 3rem;
  273. }
  274. .table-body .table-row:nth-child(even) {
  275. background-color: #fac20a33;
  276. }
  277. </style>