Catalogue.vue 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. <template>
  2. <AnchoredSection id="catalog">
  3. <LayoutContainer>
  4. <v-row class="background-block">
  5. <v-row class="center-90">
  6. <LayoutUISubTitle>
  7. Découvrez notre catalogue de formation
  8. </LayoutUISubTitle>
  9. <LayoutUITitle class="ml-8"> Catalogue </LayoutUITitle>
  10. </v-row>
  11. <v-row class="center-90 catalog">
  12. <v-col
  13. v-for="(course, index) in courses"
  14. :key="index"
  15. cols="12"
  16. lg="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">Objectifs pédagogiques</h6>
  33. <ul>
  34. <li
  35. v-for="(objective, objIndex) in course.objectives"
  36. :key="objIndex"
  37. >
  38. {{ objective }}
  39. </li>
  40. </ul>
  41. </div>
  42. <div class="badge-time">Durée : {{ course.duration }}</div>
  43. <div class="program">
  44. <h6 class="title-obj">Programme</h6>
  45. <v-row>
  46. <v-col
  47. v-for="column in course.program"
  48. :key="column.id"
  49. cols="6"
  50. >
  51. <ul>
  52. <li
  53. v-for="(objective, objIndex) in column.objectives"
  54. :key="objIndex"
  55. >
  56. {{ objective }}
  57. </li>
  58. </ul>
  59. </v-col>
  60. </v-row>
  61. </div>
  62. <div class="badge-time">
  63. {{ course.price }}
  64. </div>
  65. <v-chip
  66. class="chip-register"
  67. @click="downloadPdf(course.downloadLink)"
  68. >
  69. Télécharger le programme de formation
  70. </v-chip>
  71. </v-card-text>
  72. </v-card>
  73. </v-col>
  74. </v-row>
  75. <v-row class="center-90 font-weight-medium">
  76. <v-banner color="info" lines="one" :stacked="false">
  77. <v-icon icon="fas fa-circle-info" class="text-info mr-2" />
  78. Les formations dispensées par 2iopenservice sont exonérées de TVA
  79. (Art.261,4-4° CGI)
  80. </v-banner>
  81. </v-row>
  82. </v-row>
  83. </LayoutContainer>
  84. </AnchoredSection>
  85. </template>
  86. <script setup lang="ts">
  87. import AnchoredSection from '~/components/Layout/AnchoredSection.vue'
  88. import type { Training } from '~/types/interface'
  89. const downloadPdf = (pdfUrl: string) => {
  90. window.open(pdfUrl, '_blank')
  91. }
  92. const courses: Array<Training> = [
  93. {
  94. number: '01',
  95. title: 'Formation initiale',
  96. description:
  97. "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. ",
  98. objectives: [
  99. 'Ajuster la configuration du logiciel',
  100. 'Gérer les élèves et leurs familles',
  101. 'Générer des factures et faire le suivi des règlements',
  102. 'Gérer le planning des cours',
  103. 'Évaluer les élèves et générer des bulletins',
  104. 'Communiquer avec les personnes du répertoire',
  105. ],
  106. duration: '14h',
  107. program: [
  108. {
  109. id: 1,
  110. objectives: [
  111. 'Accès et interface',
  112. 'Configuration',
  113. 'Répertoire',
  114. 'Agenda',
  115. ],
  116. },
  117. {
  118. id: 2,
  119. objectives: [
  120. 'Parc matériel',
  121. 'Suivi pédagogique',
  122. 'Facturation',
  123. 'Communication',
  124. ],
  125. },
  126. ],
  127. price: '2 008,80€ HT',
  128. downloadLink: 'files/PF-School-2024-02_2-jours.pdf',
  129. },
  130. {
  131. number: '02',
  132. title: 'Formation complémentaire',
  133. // imageUrl: "/images/opentalent_school_black.jpg",
  134. description:
  135. 'Cette formation suppose d’avoir les connaissances de base sur le logiciel. Elle permet d’avoir une remise à niveau sur des fonctionnalités qui ont été incorrectement comprises / configurées, ou qui ont été récemment développées.',
  136. objectives: [
  137. 'Ajuster la configuration du logiciel',
  138. 'Gérer les élèves et leurs familles',
  139. ],
  140. duration: '7h',
  141. program: [
  142. {
  143. id: 1,
  144. objectives: ['Accès et interface', 'Configuration'],
  145. },
  146. {
  147. id: 2,
  148. objectives: ['Répertoire'],
  149. },
  150. ],
  151. price: '1004,40€ HT',
  152. downloadLink: 'files/PF-School-2024-02_1-jour.pdf',
  153. },
  154. {
  155. number: '03',
  156. title: 'Formation Typo 3',
  157. // imageUrl: "/images/opentalent_school_black.jpg",
  158. description:
  159. "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é.",
  160. objectives: [
  161. 'Gérer les pages et leur accessibilité',
  162. 'Gérer le contenu des pages et leur accessibilité',
  163. 'Configurer les options du site internet côté logiciel',
  164. ],
  165. duration: '7h',
  166. program: [
  167. {
  168. id: 1,
  169. objectives: ['Gestion des pages', 'Gestion des blocs'],
  170. },
  171. {
  172. id: 2,
  173. objectives: ['Configuration côté logiciel'],
  174. },
  175. ],
  176. price: '1004,40€ HT',
  177. downloadLink: 'files/PF-Typo3-2024-02_1-jour.pdf',
  178. },
  179. ]
  180. </script>
  181. <style scoped lang="scss">
  182. .background-block {
  183. background: var(--neutral-color-alt-light);
  184. padding: 4rem;
  185. }
  186. .catalog {
  187. @media (max-width: 600px) {
  188. padding: 0.5rem;
  189. }
  190. .v-card {
  191. border: none !important;
  192. box-shadow: none !important;
  193. background-color: transparent !important;
  194. }
  195. .title-card-container {
  196. display: flex;
  197. flex-direction: row;
  198. justify-content: flex-start;
  199. align-items: center;
  200. font-weight: 600;
  201. font-size: 1.2rem;
  202. width: 31rem;
  203. border-bottom: 1px solid var(--primary-color);
  204. padding: 1rem 0;
  205. .number-card {
  206. font-weight: 500;
  207. font-size: 1.3rem;
  208. color: var(--primary-color);
  209. margin-right: 1rem;
  210. }
  211. }
  212. .details-card {
  213. font-weight: 300;
  214. font-size: 1rem;
  215. line-height: 1rem;
  216. color: var(--primary-color);
  217. margin-top: 1rem;
  218. margin-bottom: 0.5rem;
  219. height: 5rem;
  220. @media (max-width: 600px) {
  221. height: auto;
  222. }
  223. }
  224. .objectives,
  225. .program {
  226. justify-content: space-between;
  227. align-items: center;
  228. background: var(--secondary-color-light);
  229. margin-top: 1rem;
  230. margin-bottom: 1rem;
  231. border-radius: 1rem;
  232. padding: 1rem 1rem 1rem 1.5rem;
  233. height: 13rem;
  234. h6 {
  235. font-weight: 500;
  236. font-size: 16px;
  237. line-height: 20px;
  238. color: var(--primary-color);
  239. }
  240. ul {
  241. margin-top: 0.5rem;
  242. font-weight: 300;
  243. font-size: 14px;
  244. line-height: 18px;
  245. }
  246. @media (max-width: 600px) {
  247. height: auto;
  248. }
  249. }
  250. .badge-time {
  251. color: var(--primary-color);
  252. background: var(--neutral-color);
  253. width: 100%;
  254. height: 36px;
  255. text-align: center;
  256. font-size: 18px;
  257. font-weight: 500;
  258. border-radius: 12px;
  259. vertical-align: center;
  260. padding-top: 6px;
  261. }
  262. .chip-register {
  263. border-radius: 3rem;
  264. font-weight: 500;
  265. font-size: 14px;
  266. line-height: 18px;
  267. margin-top: 1rem;
  268. margin-bottom: 1rem;
  269. display: flex;
  270. justify-content: center;
  271. align-items: center;
  272. @media (max-width: 600px) {
  273. height: 42px;
  274. :deep(.v-chip__content) {
  275. max-width: 100%;
  276. overflow-wrap: break-word;
  277. white-space: break-spaces;
  278. text-align: center;
  279. }
  280. }
  281. }
  282. }
  283. </style>