|
@@ -1,24 +1,27 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <LayoutContainer>
|
|
|
|
|
|
|
+ <LayoutContainer :overflow="false">
|
|
|
|
|
+
|
|
|
|
|
+ <div v-if="smAndDown">
|
|
|
|
|
+ <h1 class="title-page">Une <span class="color-solution">solution</span> adapatée à chaque structure culturelle</h1>
|
|
|
|
|
+ </div>
|
|
|
<v-carousel
|
|
<v-carousel
|
|
|
- v-if="lgAndUp"
|
|
|
|
|
ref="carousel"
|
|
ref="carousel"
|
|
|
v-model="activeIndex"
|
|
v-model="activeIndex"
|
|
|
:show-arrows="false"
|
|
:show-arrows="false"
|
|
|
- class="carousel"
|
|
|
|
|
|
|
+ :class="smAndDown ? 'carousel-sm' : 'carousel' "
|
|
|
:hide-delimiter-background="true"
|
|
:hide-delimiter-background="true"
|
|
|
:show-delimiters="false"
|
|
:show-delimiters="false"
|
|
|
:touch="true"
|
|
:touch="true"
|
|
|
>
|
|
>
|
|
|
<v-carousel-item v-for="(item, index) in carouselItems" :key="index">
|
|
<v-carousel-item v-for="(item, index) in carouselItems" :key="index">
|
|
|
<v-row>
|
|
<v-row>
|
|
|
- <v-col cols="6">
|
|
|
|
|
- <v-row class="align-start">
|
|
|
|
|
- <v-img class="logo-school" :src="item.logo"></v-img>
|
|
|
|
|
|
|
+ <v-col :cols="smAndDown ? 12 : 6">
|
|
|
|
|
+ <v-row :class=" !smAndDown ? 'align-start': '' ">
|
|
|
|
|
+ <v-img v-if="!smAndDown" class="logo-school" :src="item.logo"></v-img>
|
|
|
</v-row>
|
|
</v-row>
|
|
|
|
|
|
|
|
<v-row class="align-start">
|
|
<v-row class="align-start">
|
|
|
- <p class="description">{{ item.description }}</p>
|
|
|
|
|
|
|
+ <p :class="smAndDown ? 'description-sm' : 'description'">{{ item.description }}</p>
|
|
|
</v-row>
|
|
</v-row>
|
|
|
|
|
|
|
|
<v-row class="align-start">
|
|
<v-row class="align-start">
|
|
@@ -28,13 +31,13 @@
|
|
|
</v-row>
|
|
</v-row>
|
|
|
</v-col>
|
|
</v-col>
|
|
|
|
|
|
|
|
- <v-col cols="6">
|
|
|
|
|
|
|
+ <v-col :cols="smAndDown ? 12 : 6">
|
|
|
<v-row class="justify-end">
|
|
<v-row class="justify-end">
|
|
|
<div
|
|
<div
|
|
|
- class="background-rectangle"
|
|
|
|
|
|
|
+ :class="smAndDown ? 'background-rectangle-sm' : 'background-rectangle'"
|
|
|
:style="{ backgroundColor: item.color }"
|
|
:style="{ backgroundColor: item.color }"
|
|
|
></div>
|
|
></div>
|
|
|
- <v-card class="card" elevation="5">
|
|
|
|
|
|
|
+ <v-card v-if="!smAndDown" class="card" elevation="5">
|
|
|
<v-img
|
|
<v-img
|
|
|
class="profile-image"
|
|
class="profile-image"
|
|
|
:src="item.avatar"
|
|
:src="item.avatar"
|
|
@@ -49,7 +52,7 @@
|
|
|
</v-card-text>
|
|
</v-card-text>
|
|
|
</v-card>
|
|
</v-card>
|
|
|
|
|
|
|
|
- <v-img :src="item.image" class="image"></v-img>
|
|
|
|
|
|
|
+ <v-img :src="item.image" :class="smAndDown ? 'image-sm' : 'image'"></v-img>
|
|
|
</v-row>
|
|
</v-row>
|
|
|
</v-col>
|
|
</v-col>
|
|
|
</v-row>
|
|
</v-row>
|
|
@@ -69,7 +72,7 @@
|
|
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
|
import { useDisplay } from "vuetify";
|
|
import { useDisplay } from "vuetify";
|
|
|
-const { lgAndUp } = useDisplay();
|
|
|
|
|
|
|
+const { lgAndUp, smAndDown } = useDisplay();
|
|
|
|
|
|
|
|
let activeIndex = ref(0);
|
|
let activeIndex = ref(0);
|
|
|
|
|
|
|
@@ -126,9 +129,19 @@ const carouselItems = ref([
|
|
|
display: none;
|
|
display: none;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.carousel,
|
|
|
|
|
-.v-carousel__item {
|
|
|
|
|
- height: 900% !important;
|
|
|
|
|
|
|
+.color-solution {
|
|
|
|
|
+ color: rgba(32, 147, 190, 0.9);
|
|
|
|
|
+}
|
|
|
|
|
+.title-page{
|
|
|
|
|
+ font-family: "Barlow";
|
|
|
|
|
+ font-style: normal;
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+ font-size: 2rem;
|
|
|
|
|
+ line-height: 2.5rem;
|
|
|
|
|
+ text-align: left;
|
|
|
|
|
+ color: #000000;
|
|
|
|
|
+ margin-bottom: 2rem;
|
|
|
|
|
+ width: 25rem;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.card {
|
|
.card {
|
|
@@ -162,7 +175,7 @@ const carouselItems = ref([
|
|
|
|
|
|
|
|
.background-rectangle {
|
|
.background-rectangle {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
- width: 60%;
|
|
|
|
|
|
|
+ width: 70%;
|
|
|
height: 20rem;
|
|
height: 20rem;
|
|
|
left: 72%;
|
|
left: 72%;
|
|
|
top: 50%;
|
|
top: 50%;
|
|
@@ -170,20 +183,30 @@ const carouselItems = ref([
|
|
|
border-radius: 200px 0px 0px 15rem;
|
|
border-radius: 200px 0px 0px 15rem;
|
|
|
z-index: -1;
|
|
z-index: -1;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+.background-rectangle-sm {
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: 15rem;
|
|
|
|
|
+ left: 72%;
|
|
|
|
|
+ top: 50%;
|
|
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
|
|
+ border-radius: 200px 0px 0px 15rem;
|
|
|
|
|
+ z-index: -1;
|
|
|
|
|
+}
|
|
|
.align-start {
|
|
.align-start {
|
|
|
align-items: flex-start;
|
|
align-items: flex-start;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.carousel {
|
|
|
|
|
- height: 100%;
|
|
|
|
|
- margin-top: 10vh;
|
|
|
|
|
|
|
+.carousel-sm {
|
|
|
|
|
+ height:44rem !important;
|
|
|
|
|
+ margin-bottom: -14.3rem;
|
|
|
|
|
+ margin-top: 2rem;
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.description {
|
|
|
|
|
- text-align: left;
|
|
|
|
|
- width: 30%;
|
|
|
|
|
- margin-bottom: 1rem;
|
|
|
|
|
|
|
+.carousel{
|
|
|
|
|
+ height: 900% !important;
|
|
|
|
|
+ margin-bottom: -3.5rem;
|
|
|
}
|
|
}
|
|
|
.logo-school {
|
|
.logo-school {
|
|
|
max-width: 35vw;
|
|
max-width: 35vw;
|
|
@@ -198,11 +221,26 @@ const carouselItems = ref([
|
|
|
right: 20%;
|
|
right: 20%;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+.image-sm {
|
|
|
|
|
+ height: 20rem;
|
|
|
|
|
+ margin-top: 9rem;
|
|
|
|
|
+ left: 10%;
|
|
|
|
|
+ bottom: 10rem;
|
|
|
|
|
+}
|
|
|
.description {
|
|
.description {
|
|
|
text-align: left;
|
|
text-align: left;
|
|
|
margin-right: 9vw;
|
|
margin-right: 9vw;
|
|
|
margin-left: 7vw;
|
|
margin-left: 7vw;
|
|
|
width: 25vw;
|
|
width: 25vw;
|
|
|
|
|
+ margin-bottom: 1rem;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.description-sm {
|
|
|
|
|
+ margin-top: 1rem;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ text-align: left;
|
|
|
|
|
+ margin-left: 1rem;
|
|
|
|
|
+ margin-bottom: 1rem;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.custom-controls {
|
|
.custom-controls {
|