Premium.vue 5.2 KB

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