Catalogue.vue 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. <template>
  2. <div id="Catalogue">
  3. <LayoutContainer>
  4. <div class="grey-container">
  5. <LayoutUISubTitle
  6. :iconSize="6"
  7. :iconClasses="iconClasses"
  8. :titleText="'Découvrez notre catalogue de formation'"
  9. />
  10. <LayoutUITitle title="Catalogue" />
  11. <v-row style=" padding: 2rem; max-width: 90%; margin-left: auto; margin-right: auto;">
  12. <v-col v-for="(course, index) in courses" :key="index" cols="4">
  13. <v-card class="mb-4">
  14. <v-card-text>
  15. <div class="title-card-container">
  16. <span class="number-card">{{ course.number }}</span>
  17. <h4 class="card-title">{{ course.title }}</h4>
  18. <v-img class="logo-img" :src="course.imageUrl" />
  19. </div>
  20. <p class="details-card">{{ course.description }}</p>
  21. <div class="container-blue">
  22. <h6 class="title-obj">Objectifs pédagogiques</h6>
  23. <ul class="list-obj">
  24. <li
  25. v-for="(objective, objIndex) in course.objectives"
  26. :key="objIndex"
  27. >
  28. {{ objective }}
  29. </li>
  30. </ul>
  31. </div>
  32. <div class="container-blue">
  33. <h6 class="title-obj">Programme</h6>
  34. <v-row>
  35. <v-col
  36. v-for="column in course.program"
  37. :key="column.id"
  38. cols="6"
  39. >
  40. <ul class="list-obj">
  41. <li
  42. v-for="(objective, objIndex) in column.objectives"
  43. :key="objIndex"
  44. >
  45. {{ objective }}
  46. </li>
  47. </ul>
  48. </v-col>
  49. </v-row>
  50. </div>
  51. <v-chip class="badge-time"
  52. >
  53. <span> Durée : {{ course.duration }}</span>
  54. </v-chip
  55. >
  56. <v-chip class="badge-time"> <span>{{ course.price }}</span></v-chip>
  57. <v-chip
  58. class="chip-download"
  59. @click="downloadPdf(course.downloadLink)"
  60. >
  61. Télécharger le programme de formation
  62. </v-chip>
  63. </v-card-text>
  64. </v-card>
  65. </v-col>
  66. </v-row>
  67. </div>
  68. </LayoutContainer>
  69. </div>
  70. </template>
  71. <script setup>
  72. const downloadPdf = (pdfUrl) => {
  73. window.open(pdfUrl, "_blank");
  74. };
  75. const courses = [
  76. {
  77. number: "01",
  78. title: "Formation initiale ",
  79. description:
  80. "Cette formation est destinée aux nouveaux utilisateurs. Elle est obligatoire lors de l'acquisition du logiciel. Elle est également utile lors d'un changement de personnel dans la structure. ",
  81. objectives: [
  82. "Ajuster la configuration du logiciel",
  83. "Gérer les élèves et leurs familles",
  84. "Générer des factures et faire le suivi des règlements",
  85. "Gérer le planning des cours",
  86. "Evaluer les élèves et générer des bulletins",
  87. "Communiquer avec les personnes du répertoire",
  88. ],
  89. duration: "14h",
  90. program: [
  91. {
  92. id: 1,
  93. objectives: [
  94. "Accès et interface",
  95. "Configuration",
  96. "Répertoire",
  97. "Agenda",
  98. ],
  99. },
  100. {
  101. id: 2,
  102. objectives: [
  103. "Parc matériel",
  104. "Suivi pédagogique",
  105. "Facturation",
  106. "Communication",
  107. ],
  108. },
  109. ],
  110. price: "1 580 € TTC",
  111. downloadLink:
  112. "https://www.opentalent.fr/fileadmin/stockage/stockage/support/programme/PF-School-2023-02_2-jours.pdf",
  113. },
  114. {
  115. number: "02",
  116. title: "Formation complémentaire",
  117. // imageUrl: "/images/opentalent_school_black.jpg",
  118. description:
  119. "Cette formation suppose d’avoir les connaissances de base sur le logiciel. Elle permet d’avoir une remise à niveau sur sur des fonctionnalités qui ont été incorrectement comprises / configurées, ou qui ont été récemment développées.",
  120. objectives: [
  121. "Ajuster la configuration du logiciel",
  122. "Gérer les élèves et leurs familles",
  123. ],
  124. duration: "7h",
  125. program: [
  126. {
  127. id: 1,
  128. objectives: ["Accès et interface", "Configuration"],
  129. },
  130. {
  131. id: 2,
  132. objectives: ["Répertoire"],
  133. },
  134. ],
  135. price: "790€ TTC",
  136. downloadLink:
  137. "https://www.opentalent.fr/fileadmin/stockage/stockage/support/programme/PF-School-2023-02_1-jour.pdf",
  138. },
  139. {
  140. number: "03",
  141. title: "Formation Typo 3",
  142. // imageUrl: "/images/opentalent_school_black.jpg",
  143. description:
  144. "Cette formation est destinée aux nouveaux utilisateurs Typo3. Elle est optionnelle et permet d'aller plus loin dans la gestion du site internet intégré.",
  145. objectives: [
  146. "Gérer les pages et leur accès",
  147. "Gérer le contenu des pages et leur accès",
  148. "Configurer les options du site internet côté logiciel",
  149. ],
  150. duration: "7h",
  151. program: [
  152. {
  153. id: 1,
  154. objectives: ["Gestion des pages", "Gestion des blocs"],
  155. },
  156. {
  157. id: 2,
  158. objectives: ["Configuration côté logiciel"],
  159. },
  160. ],
  161. price: "790€ TTC",
  162. downloadLink:
  163. " https://www.opentalent.fr/fileadmin/stockage/stockage/support/programme/PF-Typo3-2023-02_1-jour.pdf",
  164. },
  165. ];
  166. </script>
  167. <style scoped>
  168. .v-card {
  169. border: none !important;
  170. box-shadow: none !important;
  171. background-color: transparent !important;
  172. }
  173. .grey-container {
  174. background-color: #f8f8f8;
  175. }
  176. .chip-download {
  177. border-radius: 3rem;
  178. font-family: "Barlow";
  179. font-style: normal;
  180. font-weight: 500;
  181. font-size: 14px;
  182. line-height: 18px;
  183. margin-top: 1rem;
  184. margin-bottom: 1rem;
  185. display: flex;
  186. justify-content: center;
  187. align-items: center;
  188. }
  189. .badge-time {
  190. color: white;
  191. border: 1px solid #0e2d32;
  192. border-radius: 3rem;
  193. font-family: "Barlow";
  194. font-style: normal;
  195. font-weight: 500;
  196. font-size: 14px;
  197. line-height: 18px;
  198. margin-top: 1rem;
  199. margin-bottom: 1rem;
  200. display: flex;
  201. justify-content: center;
  202. align-items: center;
  203. }
  204. .badge-time span {
  205. color: var(--Vert-90, #0E2D32);
  206. }
  207. .list-obj {
  208. margin-top: 0.5rem;
  209. font-family: "Barlow";
  210. font-style: normal;
  211. font-weight: 300;
  212. font-size: 14px;
  213. line-height: 18px;
  214. color: #000000;
  215. }
  216. .title-obj {
  217. font-family: "Barlow";
  218. font-style: normal;
  219. font-weight: 500;
  220. font-size: 16px;
  221. line-height: 20px;
  222. color: #0e2d32;
  223. }
  224. .container-blue {
  225. justify-content: space-between;
  226. align-items: center;
  227. background: #c3e5e7;
  228. padding: 1rem;
  229. margin-top: 1rem;
  230. margin-bottom: 1rem;
  231. border-radius: 1rem;
  232. padding-left: 1.5rem;
  233. height: 11rem;
  234. }
  235. .details-card {
  236. font-family: "Barlow";
  237. font-style: normal;
  238. font-weight: 300;
  239. font-size: 1rem;
  240. line-height: 1rem;
  241. color: #091d20;
  242. margin-top: 1rem;
  243. margin-bottom: .5rem;
  244. height: 5rem;
  245. }
  246. .number-card {
  247. font-family: "Barlow";
  248. font-style: normal;
  249. font-weight: 500;
  250. font-size: 1.3rem;
  251. color: #b9e5e7;
  252. margin-right: 1rem;
  253. }
  254. .title-card-container {
  255. display: flex;
  256. flex-direction: row;
  257. justify-content: space-between;
  258. align-items: center;
  259. font-family: "Barlow";
  260. font-style: normal;
  261. font-weight: 600;
  262. font-size: 1.2rem;
  263. width: 31rem;
  264. border-bottom: 1px solid #0e2d32;
  265. }
  266. .logo-img {
  267. width: 10rem;
  268. height: 3rem;
  269. margin-top: 1rem;
  270. margin-bottom: 1rem;
  271. margin-left: 4rem;
  272. }
  273. </style>