Catalogue.vue 11 KB

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