|
@@ -5,8 +5,8 @@
|
|
|
<div class="container-title">
|
|
<div class="container-title">
|
|
|
<v-icon size="10" class="fa-solid fa-circle icon-title"></v-icon>
|
|
<v-icon size="10" class="fa-solid fa-circle icon-title"></v-icon>
|
|
|
|
|
|
|
|
- <h6 class="small-title">Découvrez nos dernières actualités</h6>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <h6 class="small-title">Découvrez nos dernières actualités</h6>
|
|
|
|
|
+ </div>
|
|
|
<h2 class="title">Quoi de neuf ?</h2>
|
|
<h2 class="title">Quoi de neuf ?</h2>
|
|
|
</v-col>
|
|
</v-col>
|
|
|
|
|
|
|
@@ -16,77 +16,118 @@
|
|
|
</v-row>
|
|
</v-row>
|
|
|
|
|
|
|
|
<v-row>
|
|
<v-row>
|
|
|
- <v-col cols="2">
|
|
|
|
|
- <div class="d-flex justify-center align-center">
|
|
|
|
|
- <div class="carousel-button" @click="goPrevious">
|
|
|
|
|
- <i class="fas fa-chevron-left"></i>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="carousel-button" @click="goNext">
|
|
|
|
|
- <i class="fas fa-chevron-right"></i>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <v-col cols="2">
|
|
|
|
|
+ <div class="d-flex justify-center align-center">
|
|
|
|
|
+ <div class="carousel-button" @click="goPrevious">
|
|
|
|
|
+ <i class="fas fa-chevron-left"></i>
|
|
|
</div>
|
|
</div>
|
|
|
-
|
|
|
|
|
|
|
+ <div class="carousel-button" @click="goNext">
|
|
|
|
|
+ <i class="fas fa-chevron-right"></i>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
</v-col>
|
|
</v-col>
|
|
|
|
|
|
|
|
<v-col cols="10">
|
|
<v-col cols="10">
|
|
|
- <Carousel :itemsToShow="3.5" :itemsToScroll="1" v-slot="{ carousel: _carousel }" ref="carousel">
|
|
|
|
|
- <Slide class="slide-card" v-for="(actu, index) in actus" :key="index">
|
|
|
|
|
- <div class="card ">
|
|
|
|
|
- <img class="card-img-top" :src="actu.img" alt="Card image cap">
|
|
|
|
|
- <div class="card-body">
|
|
|
|
|
- <h5 class="card-title">{{ actu.title }}</h5>
|
|
|
|
|
- <p class="card-text">{{ actu.content }}</p>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <div class="card-footer">
|
|
|
|
|
- <p class="card-date">{{ actu.date }}</p>
|
|
|
|
|
- <button class="card-button">+</button>
|
|
|
|
|
|
|
+ <Carousel
|
|
|
|
|
+ :itemsToShow="3.5"
|
|
|
|
|
+ :itemsToScroll="1"
|
|
|
|
|
+ v-slot="{ carousel: _carousel }"
|
|
|
|
|
+ ref="carousel"
|
|
|
|
|
+ >
|
|
|
|
|
+ <Slide class="slide-card" v-for="(actu, index) in actus" :key="index">
|
|
|
|
|
+ <div class="card">
|
|
|
|
|
+ <img class="card-img-top" :src="actu.img" alt="Card image cap" />
|
|
|
|
|
+ <div class="card-body">
|
|
|
|
|
+ <h5 class="card-title">{{ actu.title }}</h5>
|
|
|
|
|
+ <p class="card-text">{{ actu.content }}</p>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <div class="card-footer">
|
|
|
|
|
+ <p class="card-date">{{ actu.date }}</p>
|
|
|
|
|
+ <button class="card-button">+</button>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
- </Slide>
|
|
|
|
|
- </Carousel>
|
|
|
|
|
|
|
+ </Slide>
|
|
|
|
|
+ </Carousel>
|
|
|
</v-col>
|
|
</v-col>
|
|
|
</v-row>
|
|
</v-row>
|
|
|
</LayoutContainer>
|
|
</LayoutContainer>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
|
-import { ref } from 'vue';
|
|
|
|
|
-import { Carousel, Slide } from 'vue3-carousel';
|
|
|
|
|
-import 'vue3-carousel/dist/carousel.css';
|
|
|
|
|
|
|
+import { ref } from "vue";
|
|
|
|
|
+import { Carousel, Slide } from "vue3-carousel";
|
|
|
|
|
+import "vue3-carousel/dist/carousel.css";
|
|
|
|
|
|
|
|
const actus = ref([
|
|
const actus = ref([
|
|
|
- { title: 'Suivi Pédagogique', content: 'Sed laeditur hic coetuum magnificus', date: '20/06/2023', img: '/images/actu/actu1.jpg' },
|
|
|
|
|
- { title: 'AMÉLIORATION DU RÉPERTOIRE', content: 'Sed laeditur hic coetuum magnificus', date: '21/06/2023', img: '/images/actu/actu2.jpg' },
|
|
|
|
|
- { title: 'fOIRE AUX QUESTIONS', content: 'Sed laeditur hic coetuum magnificus', date: '22/06/2023', img: '/images/actu/actu3.jpg' },
|
|
|
|
|
- { title: 'Suivi Pédagogique', content: 'Sed laeditur hic coetuum magnificus', date: '23/06/2023', img: '/images/actu/actu4.jpg' },
|
|
|
|
|
- { title: 'Actu 1', content: 'Sed laeditur hic coetuum magnificus gegr', date: '24/06/2023', img: '/images/actu/actu5.jpg' },
|
|
|
|
|
- { title: 'Actu 2', content: 'Sed laeditur hic coetuum magnificus', date: '25/06/2023', img: '/images/actu/actu6.jpg' },
|
|
|
|
|
- { title: 'Actu 3', content: 'Sed laeditur hic coetuum magnificus', date: '26/06/2023', img: '/images/actu/actu1.jpg' },
|
|
|
|
|
- { title: 'Suivi Pédagogique', content: 'Sed laeditur hic coetuum magnificus', date: '27/06/2023', img: '/images/actu/actu2.jpg' }
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ title: "Suivi Pédagogique",
|
|
|
|
|
+ content: "Sed laeditur hic coetuum magnificus",
|
|
|
|
|
+ date: "20/06/2023",
|
|
|
|
|
+ img: "/images/actu/actu1.jpg",
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: "AMÉLIORATION DU RÉPERTOIRE",
|
|
|
|
|
+ content: "Sed laeditur hic coetuum magnificus",
|
|
|
|
|
+ date: "21/06/2023",
|
|
|
|
|
+ img: "/images/actu/actu2.jpg",
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: "fOIRE AUX QUESTIONS",
|
|
|
|
|
+ content: "Sed laeditur hic coetuum magnificus",
|
|
|
|
|
+ date: "22/06/2023",
|
|
|
|
|
+ img: "/images/actu/actu3.jpg",
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: "Suivi Pédagogique",
|
|
|
|
|
+ content: "Sed laeditur hic coetuum magnificus",
|
|
|
|
|
+ date: "23/06/2023",
|
|
|
|
|
+ img: "/images/actu/actu4.jpg",
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: "Actu 1",
|
|
|
|
|
+ content: "Sed laeditur hic coetuum magnificus gegr",
|
|
|
|
|
+ date: "24/06/2023",
|
|
|
|
|
+ img: "/images/actu/actu5.jpg",
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: "Actu 2",
|
|
|
|
|
+ content: "Sed laeditur hic coetuum magnificus",
|
|
|
|
|
+ date: "25/06/2023",
|
|
|
|
|
+ img: "/images/actu/actu6.jpg",
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: "Actu 3",
|
|
|
|
|
+ content: "Sed laeditur hic coetuum magnificus",
|
|
|
|
|
+ date: "26/06/2023",
|
|
|
|
|
+ img: "/images/actu/actu1.jpg",
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: "Suivi Pédagogique",
|
|
|
|
|
+ content: "Sed laeditur hic coetuum magnificus",
|
|
|
|
|
+ date: "27/06/2023",
|
|
|
|
|
+ img: "/images/actu/actu2.jpg",
|
|
|
|
|
+ },
|
|
|
]);
|
|
]);
|
|
|
|
|
|
|
|
let carousel;
|
|
let carousel;
|
|
|
|
|
|
|
|
const goPrevious = () => carousel.prev();
|
|
const goPrevious = () => carousel.prev();
|
|
|
const goNext = () => carousel.next();
|
|
const goNext = () => carousel.next();
|
|
|
-
|
|
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped>
|
|
<style scoped>
|
|
|
-
|
|
|
|
|
.card {
|
|
.card {
|
|
|
- border: 0.5px solid #C4C4C4;
|
|
|
|
|
|
|
+ border: 0.5px solid #c4c4c4;
|
|
|
border-radius: 15px 15px 0 0;
|
|
border-radius: 15px 15px 0 0;
|
|
|
margin-bottom: 2rem;
|
|
margin-bottom: 2rem;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.icon-title{
|
|
|
|
|
- color: #64AFB7;
|
|
|
|
|
|
|
+.icon-title {
|
|
|
|
|
+ color: #64afb7;
|
|
|
margin-top: 4.5rem;
|
|
margin-top: 4.5rem;
|
|
|
-
|
|
|
|
|
}
|
|
}
|
|
|
-.container-title{
|
|
|
|
|
|
|
+.container-title {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
margin-left: 2rem;
|
|
margin-left: 2rem;
|
|
@@ -108,27 +149,27 @@ const goNext = () => carousel.next();
|
|
|
.carousel-button i {
|
|
.carousel-button i {
|
|
|
color: #000000;
|
|
color: #000000;
|
|
|
}
|
|
}
|
|
|
-.card-text{
|
|
|
|
|
- font-family: 'Barlow';
|
|
|
|
|
-font-style: normal;
|
|
|
|
|
-font-weight: 500;
|
|
|
|
|
-font-size: 16px;
|
|
|
|
|
-line-height: 18px;
|
|
|
|
|
-margin-bottom: 1rem;
|
|
|
|
|
-color: #091D20;
|
|
|
|
|
-}
|
|
|
|
|
-.card-title{
|
|
|
|
|
- font-family: 'Barlow';
|
|
|
|
|
-font-style: normal;
|
|
|
|
|
-font-weight: 600;
|
|
|
|
|
-font-size: 12px;
|
|
|
|
|
-line-height: 16px;
|
|
|
|
|
-display: flex;
|
|
|
|
|
-align-items: center;
|
|
|
|
|
-letter-spacing: 0.18em;
|
|
|
|
|
-text-transform: uppercase;
|
|
|
|
|
-margin-top: 1rem;
|
|
|
|
|
-margin-bottom: 1rem;
|
|
|
|
|
|
|
+.card-text {
|
|
|
|
|
+ font-family: "Barlow";
|
|
|
|
|
+ font-style: normal;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ line-height: 18px;
|
|
|
|
|
+ margin-bottom: 1rem;
|
|
|
|
|
+ color: #091d20;
|
|
|
|
|
+}
|
|
|
|
|
+.card-title {
|
|
|
|
|
+ font-family: "Barlow";
|
|
|
|
|
+ font-style: normal;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ line-height: 16px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ letter-spacing: 0.18em;
|
|
|
|
|
+ text-transform: uppercase;
|
|
|
|
|
+ margin-top: 1rem;
|
|
|
|
|
+ margin-bottom: 1rem;
|
|
|
}
|
|
}
|
|
|
.card-date {
|
|
.card-date {
|
|
|
font-size: 0.8em;
|
|
font-size: 0.8em;
|
|
@@ -142,14 +183,12 @@ margin-bottom: 1rem;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
.card-body {
|
|
.card-body {
|
|
|
text-align: left;
|
|
text-align: left;
|
|
|
- margin-bottom:1rem ;
|
|
|
|
|
|
|
+ margin-bottom: 1rem;
|
|
|
margin-left: 1rem;
|
|
margin-left: 1rem;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
.card-button {
|
|
.card-button {
|
|
|
background-color: transparent;
|
|
background-color: transparent;
|
|
|
border: none;
|
|
border: none;
|
|
@@ -157,23 +196,22 @@ margin-bottom: 1rem;
|
|
|
font-size: 1.5em;
|
|
font-size: 1.5em;
|
|
|
text-align: right;
|
|
text-align: right;
|
|
|
color: #ffffff;
|
|
color: #ffffff;
|
|
|
- background-color: #64AFB7;;
|
|
|
|
|
|
|
+ background-color: #64afb7;
|
|
|
border: none;
|
|
border: none;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
-
|
|
|
|
|
}
|
|
}
|
|
|
-.slide-card{
|
|
|
|
|
|
|
+.slide-card {
|
|
|
margin-left: 1rem;
|
|
margin-left: 1rem;
|
|
|
margin-right: 1rem;
|
|
margin-right: 1rem;
|
|
|
-
|
|
|
|
|
|
|
+ height: 100%;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.card-img-top {
|
|
.card-img-top {
|
|
|
border-radius: 15px 15px 0 0;
|
|
border-radius: 15px 15px 0 0;
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
- height: 90%;
|
|
|
|
|
|
|
+ height: 100%;
|
|
|
object-fit: cover;
|
|
object-fit: cover;
|
|
|
- object-position: center;
|
|
|
|
|
|
|
+ object-position: center;
|
|
|
}
|
|
}
|
|
|
.small-title {
|
|
.small-title {
|
|
|
font-family: "Barlow";
|
|
font-family: "Barlow";
|
|
@@ -220,4 +258,4 @@ margin-bottom: 1rem;
|
|
|
font-size: 10px;
|
|
font-size: 10px;
|
|
|
line-height: 15px;
|
|
line-height: 15px;
|
|
|
}
|
|
}
|
|
|
-</style>
|
|
|
|
|
|
|
+</style>
|