Catalogue.vue 10 KB

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