Catalogue.vue 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419
  1. <template>
  2. <LayoutContainer>
  3. <div>
  4. <v-row class="background-block">
  5. <v-row class="center-90">
  6. <LayoutUISubTitle> Des webinaires pour tous </LayoutUISubTitle>
  7. </v-row>
  8. <v-row class="center-90">
  9. <v-col cols="12" class="section-title">
  10. <h3>Simplifiez la gestion et la communication de votre structure</h3>
  11. <div class="strong-label">
  12. Votre structure culturelle, établissement d’enseignement artistique
  13. ou fédération mérite les outils les plus performants du marché pour
  14. briller en toute simplicité. Découvrez comment nos outils peuvent
  15. transformer votre quotidien :
  16. </div>
  17. </v-col>
  18. </v-row>
  19. <v-row class="center-90 catalog">
  20. <v-col v-for="(course, index) in courses" :key="index" cols="12" md="4">
  21. <v-card class="mb-4">
  22. <v-card-text>
  23. <div class="title-card-container">
  24. <v-img :src="course.imageUrl" :alt="course.imageAlt" />
  25. <h4>
  26. {{ course.title }}
  27. </h4>
  28. </div>
  29. <p class="details-card">
  30. {{ course.description }}
  31. </p>
  32. <div class="objectives mt-6">
  33. <h6>Objectifs</h6>
  34. <ul>
  35. <li
  36. v-for="(objective, objIndex) in course.objectives"
  37. :key="objIndex"
  38. >
  39. {{ objective }}
  40. </li>
  41. </ul>
  42. </div>
  43. <div class="badge-time">Durée : {{ course.duration }}</div>
  44. <div class="program">
  45. <h6>Programme</h6>
  46. <v-row>
  47. <v-col
  48. v-for="column in course.additionalObjectives"
  49. :key="column.id"
  50. cols="6"
  51. >
  52. <ul>
  53. <li
  54. v-for="(objective, objIndex) in column.objectives"
  55. :key="objIndex"
  56. >
  57. {{ objective }}
  58. </li>
  59. </ul>
  60. </v-col>
  61. </v-row>
  62. </div>
  63. <div class="badge-time">
  64. {{ course.price }}
  65. </div>
  66. <v-chip class="chip-register" @click="showModal(course.title)">
  67. Inscrivez-vous
  68. </v-chip>
  69. </v-card-text>
  70. </v-card>
  71. </v-col>
  72. </v-row>
  73. </v-row>
  74. </div>
  75. <!-- Modale d'inscription -->
  76. <v-dialog
  77. v-model="modalShowing"
  78. max-width="800"
  79. :retain-focus="false"
  80. :scrollable="true"
  81. class="calendar-modal"
  82. >
  83. <v-card
  84. title="Inscrivez vous"
  85. class="d-flex flex-column align-center alt-theme"
  86. >
  87. <v-card-text>
  88. <h4 class="title-inscription text-center mt-4">
  89. Vous y êtes presque !
  90. </h4>
  91. <iframe
  92. :src="webinaireCalendars[selectedWebinar]"
  93. height="700"
  94. />
  95. </v-card-text>
  96. <v-card-actions>
  97. <v-btn class="close-button" @click="closeModal()"> Fermer </v-btn>
  98. </v-card-actions>
  99. </v-card>
  100. </v-dialog>
  101. </LayoutContainer>
  102. </template>
  103. <script setup lang="ts">
  104. import type { Ref } from 'vue'
  105. import type { Training } from '~/types/interface'
  106. const courses: Array<Training> = [
  107. {
  108. imageUrl: '/images/logos/opentalent/Logo_Opentalent_Artist_Griffe.png',
  109. imageAlt: 'Esperluette du logo Opentalent Artist',
  110. title: 'Webinaire Artist',
  111. description:
  112. 'Ce webinaire est destiné aux acteurs culturels tels que les orchestres, les chorales, les compagnies et troupes de danse, théâtre et cirque. Il vous permettra de découvrir les fonctionnalités du logiciels, les avantages et les différentes versions.',
  113. objectives: [
  114. 'Obtenir une présentation du logiciel Opentalent Artist',
  115. 'Présentation des principales fonctionnalités',
  116. "Qu'est ce que l'agenda culturel et l'annuaire ? ",
  117. 'Quelles différences entre la version Standard & Premium ?',
  118. ],
  119. duration: '1H30',
  120. additionalObjectives: [
  121. {
  122. id: 1,
  123. objectives: [
  124. 'Accès et interface',
  125. 'Configuration',
  126. 'Répertoire',
  127. 'Agenda',
  128. ],
  129. },
  130. {
  131. id: 2,
  132. objectives: [
  133. 'Parc matériel',
  134. 'Rapport d’activité',
  135. 'Communication',
  136. 'Site internet',
  137. ],
  138. },
  139. ],
  140. price: 'Gratuit',
  141. downloadLink:
  142. 'https://www.opentalent.fr/fileadmin/stockage/stockage/support/programme/PF-School-2023-02_2-jours.pdf',
  143. },
  144. {
  145. // number: "02",
  146. title: 'Webinaire School',
  147. imageUrl: '/images/logos/opentalent/Logo_Opentalent_School_Griffe.png',
  148. imageAlt: 'Esperluette du logo Opentalent School',
  149. description:
  150. " Rejoignez notre webinaire dédié aux petits comme aux GRANDS établissements d'enseignement artistique et découvrez comment optimiser votre travail grâce à un outil professionnel.",
  151. objectives: [
  152. 'Obtenir une présentation du logiciel Opentalent School',
  153. "Comprendre l'écosystème de l'outil",
  154. "Identifier les avantages qu'offre ce logiciel pour votre structure",
  155. 'Apprendre à gérer votre propre site internet',
  156. ],
  157. duration: '1h',
  158. additionalObjectives: [
  159. {
  160. id: 1,
  161. objectives: [
  162. 'Accès et interface',
  163. 'Configuration',
  164. 'Répertoire',
  165. 'Agenda',
  166. ],
  167. },
  168. {
  169. id: 2,
  170. objectives: [
  171. 'Parc matériel',
  172. 'Facturation',
  173. 'Communication',
  174. 'Site internet',
  175. ],
  176. },
  177. ],
  178. price: 'Gratuit',
  179. downloadLink:
  180. 'https://www.opentalent.fr/fileadmin/stockage/stockage/support/programme/PF-School-2023-02_1-jour.pdf',
  181. },
  182. {
  183. title: 'Webinaire Manager',
  184. imageUrl: '/images/logos/opentalent/Logo_Opentalent_Manager_Griffe.png',
  185. imageAlt: 'Esperluette du logo Opentalent Manager',
  186. description:
  187. "Ces webinaires sont spécialement conçus pour les utilisateurs du logiciel fédéral de la CMF (Confédération Musicale de France). Gagnez en temps administratif, boostez vos performances et optimisez l'utilisation du logiciel.",
  188. objectives: [
  189. "Configurer l'appel de cotisation",
  190. "Suivre l'appel de cotisation",
  191. 'Gérer votre site internet (pour les débutants)',
  192. 'Gérer votre site internet (pour les confirmés)',
  193. ],
  194. duration: '1H30',
  195. additionalObjectives: [
  196. {
  197. id: 1,
  198. objectives: [
  199. 'Mieux connaitre votre logiciel',
  200. 'Optimiser votre temps administratif',
  201. ],
  202. },
  203. {
  204. id: 2,
  205. objectives: [
  206. 'Communiquer avec votre réseau',
  207. 'Promouvoir votre organisation',
  208. ],
  209. },
  210. ],
  211. price: 'Gratuit',
  212. downloadLink:
  213. ' https://www.opentalent.fr/fileadmin/stockage/stockage/support/programme/PF-Typo3-2023-02_1-jour.pdf',
  214. },
  215. ]
  216. const selectedWebinar: Ref<string | null> = ref(null)
  217. const webinaireCalendars: Record<string, string> = {
  218. 'Webinaire Artist':
  219. 'https://widget.weezevent.com/ticket/E1054691/?code=1227&locale=fr-FR&width_auto=1&color_primary=00AEEF',
  220. 'Webinaire School':
  221. 'https://widget.weezevent.com/ticket/E1054694/?code=44289&locale=fr-FR&width_auto=1&color_primary=00AEEF',
  222. 'Webinaire Manager':
  223. 'https://widget.weezevent.com/ticket/E1054695/?code=76806&locale=fr-FR&width_auto=1&color_primary=00AEEF',
  224. }
  225. const showModal = (webinaireTitle: string) => {
  226. selectedWebinar.value = webinaireTitle.trim()
  227. }
  228. const modalShowing = computed(() => selectedWebinar.value)
  229. const closeModal = () => {
  230. selectedWebinar.value = null
  231. }
  232. </script>
  233. <style scoped lang="scss">
  234. .v-card {
  235. border: none !important;
  236. box-shadow: none !important;
  237. background-color: transparent !important;
  238. }
  239. .section-title {
  240. display: flex;
  241. flex-direction: column;
  242. h3 {
  243. font-size: 42px;
  244. line-height: 3.5rem;
  245. margin-bottom: 0.5rem;
  246. margin-top: 2rem;
  247. }
  248. .strong-label {
  249. font-size: 1.5rem;
  250. font-weight: 400 !important;
  251. line-height: 2rem;
  252. margin-bottom: 1rem;
  253. }
  254. }
  255. .background-block{
  256. background: var(--neutral-color-alt-light);
  257. padding: 4rem;
  258. }
  259. .catalog {
  260. .title-card-container {
  261. display: flex;
  262. align-items: center;
  263. border-bottom: 1px solid var(--primary-color);
  264. width: 80%;
  265. margin-left: auto;
  266. margin-right: auto;
  267. .v-img {
  268. position: absolute;
  269. top: 0;
  270. left: 0;
  271. width: 50px;
  272. height: 50px;
  273. margin-right: 4px;
  274. }
  275. h4 {
  276. font-weight: 600;
  277. font-size: 1.2rem;
  278. margin-bottom: 0.8rem;
  279. }
  280. }
  281. .details-card {
  282. font-weight: 300;
  283. font-size: 1rem;
  284. line-height: 1rem;
  285. color: var(--primary-color);
  286. margin-top: 1rem;
  287. margin-bottom: 0.5rem;
  288. @media (min-width: 600px) {
  289. height: 5rem;
  290. }
  291. }
  292. .objectives,
  293. .program {
  294. justify-content: space-between;
  295. align-items: center;
  296. background: var(--secondary-color-light);
  297. margin-top: 1rem;
  298. margin-bottom: 1rem;
  299. border-radius: 1rem;
  300. padding: 1rem 1rem 1rem 1.5rem;
  301. @media (min-width: 600px) {
  302. height: 11rem;
  303. }
  304. h6 {
  305. font-weight: 500;
  306. font-size: 16px;
  307. line-height: 20px;
  308. color: var(--primary-color);
  309. }
  310. ul {
  311. margin-top: 0.5rem;
  312. font-weight: 300;
  313. font-size: 14px;
  314. line-height: 18px;
  315. }
  316. }
  317. .v-chip {
  318. justify-content: center;
  319. align-items: center;
  320. display: flex;
  321. margin-top: 1rem;
  322. margin-bottom: 1rem;
  323. line-height: 18px;
  324. font-weight: 500;
  325. font-size: 14px;
  326. }
  327. .badge-time {
  328. color: var(--primary-color);
  329. background: var(--neutral-color);
  330. width: 100%;
  331. height: 36px;
  332. text-align: center;
  333. font-size: 18px;
  334. font-weight: 500;
  335. border-radius: 12px;
  336. vertical-align: center;
  337. padding-top: 6px;
  338. }
  339. }
  340. .calendar-modal {
  341. h4 {
  342. font-weight: 600;
  343. font-size: 2rem;
  344. line-height: 18px;
  345. margin-bottom: 2rem;
  346. }
  347. .v-card {
  348. border: none !important;
  349. box-shadow: none !important;
  350. background-color: var(--primary-color) !important;
  351. width: 100%;
  352. }
  353. .v-card-text {
  354. width: 90%;
  355. display: flex;
  356. flex-direction: column;
  357. align-items: center;
  358. iframe {
  359. width: 100%;
  360. }
  361. }
  362. .close-button {
  363. background-color: #e34461; /* TODO: pqoi cette couleur ici? */
  364. color: var(--on-primary-color);
  365. font-weight: 500;
  366. font-size: 14px;
  367. line-height: 18px;
  368. margin-top: 1rem;
  369. margin-bottom: 1rem;
  370. display: flex;
  371. justify-content: center;
  372. align-items: center;
  373. }
  374. }
  375. </style>