Catalogue.vue 10 KB

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