|
|
@@ -3,11 +3,15 @@
|
|
|
<v-row justify="center">
|
|
|
<h2 class="title text-center" :style="{ color: titleColor }">
|
|
|
Plus de
|
|
|
- <span style="color: #c3e5e7">{{ structureCount }}</span> {{ trustMessage }}
|
|
|
+ <span style="color: #c3e5e7">{{ structureCount }}</span
|
|
|
+ > {{ trustMessage }}
|
|
|
</h2>
|
|
|
</v-row>
|
|
|
|
|
|
- <v-row justify="center">
|
|
|
+ <v-row justify="center"> </v-row>
|
|
|
+
|
|
|
+ <v-container>
|
|
|
+ <v-row>
|
|
|
<div
|
|
|
class="carousel-button"
|
|
|
@click="goPrevious"
|
|
|
@@ -16,8 +20,20 @@
|
|
|
color: carouselButtonColor,
|
|
|
}"
|
|
|
>
|
|
|
- <i class="fas fa-chevron-left" :style="{ color: iconColor }" />
|
|
|
+ <i class="fas fa-chevron-left" :style="{ color: iconColor }" />
|
|
|
</div>
|
|
|
+ <Carousel
|
|
|
+ ref="carousel"
|
|
|
+ class="carrousel elevation-4 mb-12"
|
|
|
+ :items-to-show="4"
|
|
|
+ :items-to-scroll="2"
|
|
|
+ >
|
|
|
+ <Slide v-for="(item, index) in items" :key="index">
|
|
|
+ <div class="card">
|
|
|
+ <v-img class="card-img" :src="item.src" alt="Card image cap" />
|
|
|
+ </div>
|
|
|
+ </Slide>
|
|
|
+ </Carousel>
|
|
|
<div
|
|
|
class="carousel-button"
|
|
|
@click="goNext"
|
|
|
@@ -26,22 +42,11 @@
|
|
|
color: carouselButtonColor,
|
|
|
}"
|
|
|
>
|
|
|
- <i class="fas fa-chevron-right" :style="{ color: iconColor }" />
|
|
|
+ <i class="fas fa-chevron-right" :style="{ color: iconColor }" />
|
|
|
</div>
|
|
|
</v-row>
|
|
|
+ </v-container>
|
|
|
|
|
|
- <Carousel
|
|
|
- ref="carousel"
|
|
|
- class="carrousel elevation-6 mb-12"
|
|
|
- :items-to-show="4"
|
|
|
- :items-to-scroll="2"
|
|
|
- >
|
|
|
- <Slide v-for="(item, index) in items" :key="index">
|
|
|
- <div class="card">
|
|
|
- <v-img class="card-img" :src="item.src" alt="Card image cap" />
|
|
|
- </div>
|
|
|
- </Slide>
|
|
|
- </Carousel>
|
|
|
</LayoutContainer>
|
|
|
</template>
|
|
|
|
|
|
@@ -58,12 +63,12 @@ const props = defineProps({
|
|
|
iconColor: String,
|
|
|
trustMessage: {
|
|
|
type: String,
|
|
|
- default: 'nous font confiance'
|
|
|
+ default: "nous font confiance",
|
|
|
},
|
|
|
structureCount: {
|
|
|
- type: String,
|
|
|
- default: '5000 structures'
|
|
|
- }
|
|
|
+ type: String,
|
|
|
+ default: "5000 structures",
|
|
|
+ },
|
|
|
});
|
|
|
|
|
|
const goPrevious = () => {
|
|
|
@@ -73,10 +78,17 @@ const goPrevious = () => {
|
|
|
const goNext = () => {
|
|
|
carousel.value.next();
|
|
|
};
|
|
|
-
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
+.v-row {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ max-width: 1300px;
|
|
|
+ margin-right: auto;
|
|
|
+ margin-left: auto;
|
|
|
+}
|
|
|
.carousel-button i {
|
|
|
color: black;
|
|
|
}
|
|
|
@@ -105,8 +117,6 @@ const goNext = () => {
|
|
|
background-color: white;
|
|
|
margin-top: 2rem;
|
|
|
border-radius: 20px;
|
|
|
- height: 13em;
|
|
|
- width: 60rem;
|
|
|
margin-left: auto;
|
|
|
margin-right: auto;
|
|
|
box-shadow: #071b1f;
|