Catalogue.vue 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399
  1. <template>
  2. <LayoutContainer>
  3. <div class="grey-container">
  4. <v-row class="center-90">
  5. <LayoutUISubTitle>
  6. Des webinaires pour tous
  7. </LayoutUISubTitle>
  8. </v-row>
  9. <v-row class="center-90">
  10. <LayoutUITitlePage>
  11. SIMPLIFIEZ LA GESTION ET LA COMMUNICATION DE VOTRE STRUCTURE CULTURELLE
  12. <template #subtitle>
  13. Votre orchestre, école de danse ou votre fédération mérite les outils les plus performants du marché pour briller en toute simplicité. Découvrez comment nos outils peuvent transformer votre quotidien :
  14. </template>
  15. </LayoutUITitlePage>
  16. </v-row>
  17. <v-row class="center-90 catalog">
  18. <v-col
  19. v-for="(course, index) in courses"
  20. :key="index"
  21. cols="4"
  22. >
  23. <v-card class="mb-4">
  24. <v-card-text>
  25. <div class="title-card-container">
  26. <v-img
  27. :src="course.imageUrl"
  28. />
  29. <h4>
  30. {{ course.title }}
  31. </h4>
  32. </div>
  33. <p class="details-card">
  34. {{ course.description }}
  35. </p>
  36. <div class="objectives mt-6">
  37. <h6>
  38. Objectifs
  39. </h6>
  40. <ul>
  41. <li
  42. v-for="(objective, objIndex) in course.objectives"
  43. :key="objIndex"
  44. >
  45. {{ objective }}
  46. </li>
  47. </ul>
  48. </div>
  49. <div class="program">
  50. <h6>
  51. Programme
  52. </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. <v-chip class="badge-time">
  71. <span>
  72. Durée : {{ course.duration }}
  73. </span>
  74. </v-chip>
  75. <v-chip class="badge-time">
  76. <span>
  77. {{ course.price }}
  78. </span>
  79. </v-chip>
  80. <v-chip
  81. class="chip-register"
  82. @click="showModal(course.title)"
  83. >
  84. Inscrivez-vous
  85. </v-chip>
  86. </v-card-text>
  87. </v-card>
  88. </v-col>
  89. </v-row>
  90. </div>
  91. <!-- Modale d'inscription -->
  92. <div
  93. v-if="selectedWebinar"
  94. class="calendar-modal"
  95. >
  96. <div class="alt-theme">
  97. <LayoutUISubTitle>
  98. Inscrivez vous
  99. </LayoutUISubTitle>
  100. <h4 class="title-inscription text-center mt-4">
  101. Vous y êtes presque !
  102. </h4>
  103. <iframe
  104. :src="webinaireCalendars[selectedWebinar]"
  105. width="700"
  106. height="700"
  107. />
  108. <v-row>
  109. <v-col cols="12">
  110. <v-btn
  111. class="close-button"
  112. @click="closeModal()"
  113. >
  114. Fermer
  115. </v-btn>
  116. </v-col>
  117. </v-row>
  118. </div>
  119. </div>
  120. </LayoutContainer>
  121. </template>
  122. <script setup lang="ts">
  123. import type { Training } from "~/types/interface";
  124. const downloadPdf = (pdfUrl: string) => {
  125. window.open(pdfUrl, "_blank");
  126. };
  127. const courses: Array<Training> = [
  128. {
  129. imageUrl: "/images/logo/logiciels/&_Jaune.png",
  130. title: "Webinaire Artist ",
  131. description:
  132. "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.. ",
  133. objectives: [
  134. "Découvrir le logiciel Opentalent Artist",
  135. "Présentation des principales fonctionnalités",
  136. "Quelles sont les différences entre les versions Standard & Premium ?",
  137. "Qu'est ce que l'Agenda culturel et l'annuaire ? ",
  138. ],
  139. duration: "1H30",
  140. additionalObjectives: [
  141. {
  142. id: 1,
  143. objectives: [
  144. "Accès et interface",
  145. "Configuration",
  146. "Répertoire",
  147. "Agenda",
  148. ],
  149. },
  150. {
  151. id: 2,
  152. objectives: [
  153. "Parc matériel",
  154. "Rapport d’activité",
  155. "Site internet",
  156. "Communication",
  157. ],
  158. },
  159. ],
  160. price: "Gratuit",
  161. downloadLink:
  162. "https://www.opentalent.fr/fileadmin/stockage/stockage/support/programme/PF-School-2023-02_2-jours.pdf",
  163. },
  164. {
  165. // number: "02",
  166. title: "Webinaire School",
  167. imageUrl: "/images/logo/logiciels/&_Bleu.png",
  168. description:
  169. " 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.",
  170. objectives: [
  171. "Découvrir le logiciel Opentalent School",
  172. "Comprendre l'écosystème de l'outil",
  173. "Présentation des principales fonctionnalités",
  174. "Identifier les avantages de cet outil pour votre structure",
  175. ],
  176. duration: "1h",
  177. additionalObjectives: [
  178. {
  179. id: 1,
  180. objectives: [
  181. "Accès et interface",
  182. "Configuration",
  183. "Répertoire",
  184. "Agenda",
  185. ],
  186. },
  187. {
  188. id: 2,
  189. objectives: [
  190. "Parc matériel",
  191. "Rapport d’activité",
  192. "Site internet",
  193. "Communication",
  194. ],
  195. },
  196. ],
  197. price: "Gratuit",
  198. downloadLink:
  199. "https://www.opentalent.fr/fileadmin/stockage/stockage/support/programme/PF-School-2023-02_1-jour.pdf",
  200. },
  201. {
  202. title: "Webinaire Manager",
  203. imageUrl: "/images/logo/logiciels/&_Rouge.png",
  204. description:
  205. "Ces webinaires sont spécialement conçues pour les utilisateurs du logiciel fédéral de la CMF (Confédération Musicale de France). Gagner en temps administratif, booster vos performances et optimiser l'utilisation du logiciel.",
  206. objectives: [
  207. "Configurer l'appel de cotisation",
  208. "Suivre l'appel de cotisation",
  209. "Gérer votre site internet (débutants)",
  210. "Gérer votre site internet (confirmés)",
  211. ],
  212. duration: "1H30",
  213. additionalObjectives: [
  214. {
  215. id: 1,
  216. objectives: [
  217. "Mieux connaitre votre logiciel",
  218. "Optimiser votre temps administratif",
  219. ],
  220. },
  221. {
  222. id: 2,
  223. objectives: [
  224. "Communiquer avec votre réseau",
  225. "Promouvoir votre organisation",
  226. ],
  227. },
  228. ],
  229. price: "Gratuit",
  230. downloadLink:
  231. " https://www.opentalent.fr/fileadmin/stockage/stockage/support/programme/PF-Typo3-2023-02_1-jour.pdf",
  232. },
  233. ];
  234. const selectedWebinar: Ref<string | null> = ref(null);
  235. const webinaireCalendars: Record<string, string> = {
  236. "Webinaire Artist":
  237. "https://widget.weezevent.com/ticket/E920851/?code=62708&locale=fr-FR&width_auto=1&color_primary=0e2d32",
  238. "Webinaire School":
  239. "https://widget.weezevent.com/ticket/E963899/?code=47365&locale=fr-FR&width_auto=1&color_primary=0e2d32",
  240. "Webinaire Manager":
  241. "https://widget.weezevent.com/ticket/E923624/?code=4857&locale=fr-FR&width_auto=1&color_primary=0e2d32",
  242. };
  243. const showModal = (webinaireTitle: string) => {
  244. selectedWebinar.value = webinaireTitle.trim();
  245. };
  246. const closeModal = () => {
  247. selectedWebinar.value = null;
  248. };
  249. </script>
  250. <style scoped lang="scss">
  251. .v-card {
  252. border: none !important;
  253. box-shadow: none !important;
  254. background-color: transparent !important;
  255. }
  256. .catalog {
  257. padding: 2rem;
  258. .title-card-container {
  259. display: flex;
  260. align-items: center;
  261. border-bottom: 1px solid var(--primary-color);
  262. width: 80%;
  263. margin-left: auto;
  264. margin-right: auto;
  265. .v-img {
  266. position: absolute;
  267. top: 0;
  268. left: 0;
  269. width: 50px;
  270. height: 50px;
  271. margin-right: 4px;
  272. }
  273. h4 {
  274. font-weight: 600;
  275. font-size: 1.2rem;
  276. margin-bottom: 0.8rem;
  277. }
  278. }
  279. .details-card {
  280. font-weight: 300;
  281. font-size: 1rem;
  282. line-height: 1rem;
  283. color: var(--primary-color);
  284. margin-top: 1rem;
  285. margin-bottom: 0.5rem;
  286. height: 5rem;
  287. }
  288. .objectives, .program {
  289. justify-content: space-between;
  290. align-items: center;
  291. background: var(--secondary-color);
  292. margin-top: 1rem;
  293. margin-bottom: 1rem;
  294. border-radius: 1rem;
  295. padding: 1rem 1rem 1rem 1.5rem;
  296. height: 11rem;
  297. h6 {
  298. font-weight: 500;
  299. font-size: 16px;
  300. line-height: 20px;
  301. color: var(--primary-color);
  302. }
  303. ul {
  304. margin-top: 0.5rem;
  305. font-weight: 300;
  306. font-size: 14px;
  307. line-height: 18px;
  308. }
  309. }
  310. .v-chip {
  311. justify-content: center;
  312. align-items: center;
  313. display: flex;
  314. margin-top: 1rem;
  315. margin-bottom: 1rem;
  316. line-height: 18px;
  317. font-weight: 500;
  318. font-size: 14px;
  319. }
  320. .badge-time {
  321. color: var(--neutral-color);
  322. border: 1px solid var(--primary-color);
  323. }
  324. .badge-time span {
  325. color: var(--primary-color);
  326. }
  327. }
  328. .calendar-modal {
  329. position: fixed;
  330. top: 0;
  331. left: 0;
  332. width: 100%;
  333. height: 100%;
  334. background-color: rgba(14, 45, 50, 0.8);
  335. z-index: 9999;
  336. display: flex;
  337. justify-content: center;
  338. align-items: center;
  339. > div {
  340. padding: 4rem;
  341. }
  342. h4 {
  343. font-weight: 600;
  344. font-size: 2rem;
  345. line-height: 18px;
  346. margin-bottom: 2rem;
  347. }
  348. .close-button {
  349. background-color: #e34461; /* TODO: pqoi cette couleur ici? */
  350. color: var(--on-primary-color);
  351. font-weight: 500;
  352. font-size: 14px;
  353. line-height: 18px;
  354. margin-top: 1rem;
  355. margin-bottom: 1rem;
  356. display: flex;
  357. justify-content: center;
  358. align-items: center;
  359. }
  360. }
  361. </style>