Catalogue.vue 8.0 KB

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