Catalogue.vue 11 KB

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