|
|
@@ -1,92 +1,114 @@
|
|
|
<template>
|
|
|
<AnchoredSection id="catalog">
|
|
|
- <LayoutContainer v-if="!mdAndDown">
|
|
|
- <div class="grey-container">
|
|
|
- <v-row class="custom-row">
|
|
|
- <LayoutUISubTitle
|
|
|
- :iconSize="6"
|
|
|
- :iconClasses="iconClasses"
|
|
|
- :titleText="'Découvrez notre catalogue de formation'"
|
|
|
- />
|
|
|
+ <LayoutContainer>
|
|
|
+ <v-row class="custom-row">
|
|
|
+ <LayoutUISubTitle>
|
|
|
+ Découvrez notre catalogue de formation
|
|
|
+ </LayoutUISubTitle>
|
|
|
|
|
|
- <LayoutUITitle title="Catalogue" />
|
|
|
- </v-row>
|
|
|
+ <LayoutUITitle class="ml-8">
|
|
|
+ Catalogue
|
|
|
+ </LayoutUITitle>
|
|
|
+ </v-row>
|
|
|
|
|
|
+ <v-row class="custom-row catalog">
|
|
|
+ <v-col
|
|
|
+ v-for="(course, index) in courses"
|
|
|
+ :key="index"
|
|
|
+ cols="4"
|
|
|
+ >
|
|
|
+ <v-card class="mb-4">
|
|
|
+ <v-card-text>
|
|
|
+ <div class="title-card-container">
|
|
|
+ <span class="number-card">
|
|
|
+ {{ course.number }}
|
|
|
+ </span>
|
|
|
|
|
|
- <v-row class="custom-row" style=" padding: 2rem; max-width: 90%; margin-left: auto; margin-right: auto;">
|
|
|
- <v-col v-for="(course, index) in courses" :key="index" cols="4">
|
|
|
- <v-card class="mb-4">
|
|
|
- <v-card-text>
|
|
|
- <div class="title-card-container">
|
|
|
- <span class="number-card">{{ course.number }}</span>
|
|
|
- <h4 class="card-title">{{ course.title }}</h4>
|
|
|
- <v-img class="logo-img" :src="course.imageUrl" />
|
|
|
- </div>
|
|
|
- <p class="details-card mb-6">{{ course.description }}</p>
|
|
|
+ <h4>
|
|
|
+ {{ course.title }}
|
|
|
+ </h4>
|
|
|
+ </div>
|
|
|
|
|
|
- <div class="container-blue">
|
|
|
- <h6 class="title-obj">Objectifs pédagogiques</h6>
|
|
|
- <ul class="list-obj">
|
|
|
- <li
|
|
|
- v-for="(objective, objIndex) in course.objectives"
|
|
|
- :key="objIndex"
|
|
|
- >
|
|
|
- {{ objective }}
|
|
|
- </li>
|
|
|
- </ul>
|
|
|
- </div>
|
|
|
+ <p class="details-card mb-6">
|
|
|
+ {{ course.description }}
|
|
|
+ </p>
|
|
|
|
|
|
- <div class="container-blue">
|
|
|
- <h6 class="title-obj">Programme</h6>
|
|
|
- <v-row>
|
|
|
- <v-col
|
|
|
- v-for="column in course.program"
|
|
|
- :key="column.id"
|
|
|
- cols="6"
|
|
|
- >
|
|
|
- <ul class="list-obj">
|
|
|
- <li
|
|
|
- v-for="(objective, objIndex) in column.objectives"
|
|
|
- :key="objIndex"
|
|
|
- >
|
|
|
- {{ objective }}
|
|
|
- </li>
|
|
|
- </ul>
|
|
|
- </v-col>
|
|
|
- </v-row>
|
|
|
- </div>
|
|
|
+ <div class="objectives">
|
|
|
+ <h6 class="title-obj">
|
|
|
+ Objectifs pédagogiques
|
|
|
+ </h6>
|
|
|
|
|
|
- <v-chip class="badge-time"
|
|
|
+ <ul>
|
|
|
+ <li
|
|
|
+ v-for="(objective, objIndex) in course.objectives"
|
|
|
+ :key="objIndex"
|
|
|
>
|
|
|
- <span> Durée : {{ course.duration }}</span>
|
|
|
- </v-chip
|
|
|
- >
|
|
|
- <v-chip class="badge-time"> <span>{{ course.price }}</span></v-chip>
|
|
|
- <v-chip
|
|
|
- class="chip-download"
|
|
|
- @click="downloadPdf(course.downloadLink)"
|
|
|
- >
|
|
|
- Télécharger le programme de formation
|
|
|
- </v-chip>
|
|
|
- </v-card-text>
|
|
|
- </v-card>
|
|
|
- </v-col>
|
|
|
- </v-row>
|
|
|
- </div>
|
|
|
+ {{ objective }}
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="program">
|
|
|
+ <h6 class="title-obj">
|
|
|
+ Programme
|
|
|
+ </h6>
|
|
|
+
|
|
|
+ <v-row>
|
|
|
+ <v-col
|
|
|
+ v-for="column in course.program"
|
|
|
+ :key="column.id"
|
|
|
+ cols="6"
|
|
|
+ >
|
|
|
+ <ul>
|
|
|
+ <li
|
|
|
+ v-for="(objective, objIndex) in column.objectives"
|
|
|
+ :key="objIndex"
|
|
|
+ >
|
|
|
+ {{ objective }}
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ </v-col>
|
|
|
+ </v-row>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <v-chip class="badge-time">
|
|
|
+ <span>
|
|
|
+ Durée : {{ course.duration }}
|
|
|
+ </span>
|
|
|
+ </v-chip>
|
|
|
+
|
|
|
+ <v-chip class="badge-time">
|
|
|
+ <span>
|
|
|
+ {{ course.price }}
|
|
|
+ </span>
|
|
|
+ </v-chip>
|
|
|
+
|
|
|
+ <v-chip
|
|
|
+ class="chip-download"
|
|
|
+ @click="downloadPdf(course.downloadLink)"
|
|
|
+ >
|
|
|
+ Télécharger le programme de formation
|
|
|
+ </v-chip>
|
|
|
+ </v-card-text>
|
|
|
+ </v-card>
|
|
|
+ </v-col>
|
|
|
+ </v-row>
|
|
|
</LayoutContainer>
|
|
|
</AnchoredSection>
|
|
|
</template>
|
|
|
|
|
|
-<script setup>
|
|
|
-
|
|
|
+<script setup lang="ts">
|
|
|
import { useDisplay } from "vuetify";
|
|
|
import AnchoredSection from "~/components/Layout/AnchoredSection.vue";
|
|
|
-const { smAndDown, mdAndDown } = useDisplay();
|
|
|
+import { Training } from "~/types/interface";
|
|
|
+
|
|
|
+const { mdAndDown } = useDisplay();
|
|
|
|
|
|
-const downloadPdf = (pdfUrl) => {
|
|
|
+const downloadPdf = (pdfUrl: string) => {
|
|
|
window.open(pdfUrl, "_blank");
|
|
|
};
|
|
|
-const courses = [
|
|
|
+
|
|
|
+const courses: Array<Training> = [
|
|
|
{
|
|
|
number: "01",
|
|
|
title: "Formation initiale ",
|
|
|
@@ -97,7 +119,7 @@ const courses = [
|
|
|
"Gérer les élèves et leurs familles",
|
|
|
"Générer des factures et faire le suivi des règlements",
|
|
|
"Gérer le planning des cours",
|
|
|
- "Evaluer les élèves et générer des bulletins",
|
|
|
+ "Évaluer les élèves et générer des bulletins",
|
|
|
"Communiquer avec les personnes du répertoire",
|
|
|
],
|
|
|
duration: "14h",
|
|
|
@@ -181,128 +203,124 @@ const courses = [
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
|
-*{
|
|
|
+* {
|
|
|
text-align: justify;
|
|
|
}
|
|
|
+
|
|
|
.custom-row {
|
|
|
width: 90%;
|
|
|
margin-left: auto;
|
|
|
margin-right: auto;
|
|
|
}
|
|
|
-.v-card {
|
|
|
- border: none !important;
|
|
|
- box-shadow: none !important;
|
|
|
- background-color: transparent !important;
|
|
|
-}
|
|
|
-.grey-container {
|
|
|
- background-color: #f8f8f8;
|
|
|
|
|
|
-}
|
|
|
-.chip-download {
|
|
|
- border-radius: 3rem;
|
|
|
- font-family: "Barlow";
|
|
|
- font-style: normal;
|
|
|
- font-weight: 500;
|
|
|
- font-size: 14px;
|
|
|
- line-height: 18px;
|
|
|
- margin-top: 1rem;
|
|
|
- margin-bottom: 1rem;
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
-}
|
|
|
+.catalog {
|
|
|
+ padding: 2rem;
|
|
|
+ max-width: 90%;
|
|
|
+ margin-left: auto;
|
|
|
+ margin-right: auto;
|
|
|
|
|
|
-.badge-time {
|
|
|
- color: white;
|
|
|
- border: 1px solid #0e2d32;
|
|
|
- border-radius: 3rem;
|
|
|
- font-family: "Barlow";
|
|
|
- font-style: normal;
|
|
|
- font-weight: 500;
|
|
|
- font-size: 14px;
|
|
|
- line-height: 18px;
|
|
|
- margin-top: 1rem;
|
|
|
- margin-bottom: 1rem;
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
-}
|
|
|
+ .v-card {
|
|
|
+ border: none !important;
|
|
|
+ box-shadow: none !important;
|
|
|
+ background-color: transparent !important;
|
|
|
+ }
|
|
|
|
|
|
-.badge-time span {
|
|
|
- color: var(--Vert-90, #0E2D32);
|
|
|
-}
|
|
|
+ .title-card-container {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ justify-content: flex-start;
|
|
|
+ align-items: center;
|
|
|
+ font-family: "Barlow", serif;
|
|
|
+ font-style: normal;
|
|
|
+ font-weight: 600;
|
|
|
+ font-size: 1.2rem;
|
|
|
+ width: 31rem;
|
|
|
+ border-bottom: 1px solid #0e2d32;
|
|
|
+ padding: 1rem 0;
|
|
|
|
|
|
-.list-obj {
|
|
|
- margin-top: 0.5rem;
|
|
|
- font-family: "Barlow";
|
|
|
- font-style: normal;
|
|
|
- font-weight: 300;
|
|
|
- font-size: 14px;
|
|
|
- line-height: 18px;
|
|
|
+ .number-card {
|
|
|
+ font-family: "Barlow", serif;
|
|
|
+ font-style: normal;
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 1.3rem;
|
|
|
+ color: #b9e5e7;
|
|
|
+ margin-right: 1rem;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
- color: #000000;
|
|
|
-}
|
|
|
+ .details-card {
|
|
|
+ font-family: "Barlow", serif;
|
|
|
+ font-style: normal;
|
|
|
+ font-weight: 300;
|
|
|
+ font-size: 1rem;
|
|
|
+ line-height: 1rem;
|
|
|
+ color: #091d20;
|
|
|
+ margin-top: 1rem;
|
|
|
+ margin-bottom: .5rem;
|
|
|
+ height: 5rem;
|
|
|
+ }
|
|
|
|
|
|
-.title-obj {
|
|
|
- font-family: "Barlow";
|
|
|
- font-style: normal;
|
|
|
- font-weight: 500;
|
|
|
- font-size: 16px;
|
|
|
- line-height: 20px;
|
|
|
- color: #0e2d32;
|
|
|
-}
|
|
|
+ .objectives, .program {
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ background: #c3e5e7;
|
|
|
+ margin-top: 1rem;
|
|
|
+ margin-bottom: 1rem;
|
|
|
+ border-radius: 1rem;
|
|
|
+ padding: 1rem 1rem 1rem 1.5rem;
|
|
|
+ height: 13rem;
|
|
|
|
|
|
-.container-blue {
|
|
|
- justify-content: space-between;
|
|
|
- align-items: center;
|
|
|
- background: #c3e5e7;
|
|
|
- padding: 1rem;
|
|
|
- margin-top: 1rem;
|
|
|
- margin-bottom: 1rem;
|
|
|
- border-radius: 1rem;
|
|
|
- padding-left: 1.5rem;
|
|
|
- height: 13rem;
|
|
|
-}
|
|
|
+ h6 {
|
|
|
+ font-family: "Barlow", serif;
|
|
|
+ font-style: normal;
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 16px;
|
|
|
+ line-height: 20px;
|
|
|
+ color: var(--primary-color);
|
|
|
+ }
|
|
|
|
|
|
-.details-card {
|
|
|
- font-family: "Barlow";
|
|
|
- font-style: normal;
|
|
|
- font-weight: 300;
|
|
|
- font-size: 1rem;
|
|
|
- line-height: 1rem;
|
|
|
- color: #091d20;
|
|
|
- margin-top: 1rem;
|
|
|
- margin-bottom: .5rem;
|
|
|
- height: 5rem;
|
|
|
-}
|
|
|
+ ul {
|
|
|
+ margin-top: 0.5rem;
|
|
|
+ font-family: "Barlow", serif;
|
|
|
+ font-style: normal;
|
|
|
+ font-weight: 300;
|
|
|
+ font-size: 14px;
|
|
|
+ line-height: 18px;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
-.number-card {
|
|
|
- font-family: "Barlow";
|
|
|
- font-style: normal;
|
|
|
- font-weight: 500;
|
|
|
- font-size: 1.3rem;
|
|
|
- color: #b9e5e7;
|
|
|
- margin-right: 1rem;
|
|
|
-}
|
|
|
+ .badge-time {
|
|
|
+ color: white;
|
|
|
+ border: 1px solid #0e2d32;
|
|
|
+ border-radius: 3rem;
|
|
|
+ font-family: "Barlow", serif;
|
|
|
+ font-style: normal;
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 14px;
|
|
|
+ line-height: 18px;
|
|
|
+ margin-top: 1rem;
|
|
|
+ margin-bottom: 1rem;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
|
|
|
-.title-card-container {
|
|
|
- display: flex;
|
|
|
- flex-direction: row;
|
|
|
- justify-content: space-between;
|
|
|
- align-items: center;
|
|
|
- font-family: "Barlow";
|
|
|
- font-style: normal;
|
|
|
- font-weight: 600;
|
|
|
- font-size: 1.2rem;
|
|
|
- width: 31rem;
|
|
|
- border-bottom: 1px solid #0e2d32;
|
|
|
-}
|
|
|
+ span {
|
|
|
+ color: #0E2D32;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
-.logo-img {
|
|
|
- width: 10rem;
|
|
|
- height: 3rem;
|
|
|
- margin-top: 1rem;
|
|
|
- margin-bottom: 1rem;
|
|
|
- margin-left: 4rem;
|
|
|
+ .chip-download {
|
|
|
+ border-radius: 3rem;
|
|
|
+ font-family: "Barlow", serif;
|
|
|
+ font-style: normal;
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 14px;
|
|
|
+ line-height: 18px;
|
|
|
+ margin-top: 1rem;
|
|
|
+ margin-bottom: 1rem;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|