Browse Source

corrections d'image page promotion

Maha Bouchiba 2 years ago
parent
commit
dbcbc0aab3
2 changed files with 126 additions and 91 deletions
  1. 126 90
      components/Home/Promotion.vue
  2. 0 1
      components/Layout/Container.vue

+ 126 - 90
components/Home/Promotion.vue

@@ -1,116 +1,159 @@
 <template>
-    <LayoutContainer>
-      <v-col col="12" class="col-gestion">
-        <v-row>
-          <p class="text-gestion">
-            <span 
-            class="span-color">Simplifiez</span> vous la vie avec un outil
-            <span class="d-inline-flex">
-              <v-img src="/images/promotion/piano.jpg" class="rectangle-img">
-              </v-img>
-            </span>
-            tout en un pour la gestion et la promotion
-            <span class="d-inline-flex">
-              <v-img src="/images/promotion/danse.jpg" class="rectangle-img">
-              </v-img>
-            </span>
-             , de votre structure
-            culturelle.
-            <span class="d-inline-flex">
-              <v-img src="/images/promotion/cirque.jpg" class="rectangle-img">
-              </v-img>
-            </span>
-          </p>
-        </v-row>
-      </v-col>
-      <div>
-        <v-img src="/images/home/écran.JPG" class="screen" ></v-img>
+  <LayoutContainer>
+    <v-col col="12" class="col-gestion">
+      <div class="d-flex justify-center align-center flex-column">
+        <v-icon size="8" class="fa-solid fa-circle icon-title"></v-icon>
+        <h5 class="subtitle">Découvrez les avantages de la solution</h5>
       </div>
-      <div class="outil">
+      <v-row>
+        <p class="text-gestion">
+          <span class="span-color">Simplifiez</span> vous la vie avec un outil
+          <span class="d-inline-flex">
+            <v-img src="/images/promotion/piano.jpg" class="rectangle-img">
+            </v-img>
+          </span>
+          tout en un pour la gestion et la promotion
+          <span class="d-inline-flex">
+            <v-img src="/images/promotion/danse.jpg" class="rectangle-img">
+            </v-img>
+          </span>
+          , de votre structure culturelle.
+          <span class="d-inline-flex">
+            <v-img src="/images/promotion/cirque.jpg" class="rectangle-img">
+            </v-img>
+          </span>
+        </p>
+      </v-row>
+    </v-col>
+    <v-row>
+      <v-col cols="12">
+        <v-img src="/images/home/écran.JPG" class="screen" :class="{ zoom: isZoomed }" @mouseover="zoomIn" @mouseleave="zoomOut"></v-img>
 
-        <h3 class="text-center text-outil">
-        Un outil complet et intuitif <br>
+      </v-col>
+    </v-row>
+
+    <div class="outil">
+      <h3 class="text-center text-outil">
+        Un outil complet et intuitif <br />
         pour chaque structure
       </h3>
 
-
       <v-row>
-        <v-col cols="6" >
+        <v-col cols="6">
           <v-row class="row-outil">
-            <p class="text-outil-details with-border-top mt-3">Logiciel de Gestion et 
communication en ligne</p>
-
+            <p class="text-outil-details with-border-top mt-3">
+              Logiciel de Gestion et communication en ligne
+            </p>
           </v-row>
 
           <v-row class="row-outil">
-            <p class="text-outil-details with-border ">Site Web intégré et simple d’usage</p>
-
+            <p class="text-outil-details with-border">
+              Site Web intégré et simple d’usage
+            </p>
           </v-row>
-
-
         </v-col>
 
-
-        <v-col cols="6" >
+        <v-col cols="6">
           <v-row class="row-outil">
-            <p class="text-outil-details with-border-top" >Boostez votre visibilité et
votre communication avec l’agenda culturel</p>
-
+            <p class="text-outil-details with-border-top">
+              Boostez votre visibilité et votre communication avec l’agenda
+              culturel
+            </p>
           </v-row>
 
           <v-row class="row-outil">
             <p class="text-outil-details with-border">Communiquez en réseau</p>
-
           </v-row>
-
-
         </v-col>
       </v-row>
-      </div>
-
-    </LayoutContainer>
+    </div>
+  </LayoutContainer>
 </template>
 
-<script></script>
+<script setup>
+
+const isZoomed = ref(false);
+
+const zoomIn = () => {
+  isZoomed.value = true;
+};
+
+const zoomOut = () => {
+  isZoomed.value = false;
+};
+</script>
 
 <style scoped>
+.screen {
+  width: 900px;
+  object-fit: cover;  
+  margin-top: 2rem;
+  margin-right: auto;
+  margin-left: auto;
+  text-align: center;
+  bottom: 25rem;
+  border-radius: 20px;
+  transition: transform .2s;
+}
 
-.with-border, .with-border-top {
-  border-bottom: 1px solid #D1CDC7;
+.screen:hover {
+  transform: scale(1.1); 
+}
+
+.subtitle {
+  margin-top: 1rem;
+  color: #c1eff0;
+  text-align: center;
+  font-size: 12px;
+  font-family: "Barlow";
+  font-weight: 600;
+  line-height: 16px;
+  letter-spacing: 2.16px;
+  text-transform: uppercase;
+}
+.icon-title {
+  margin-top: 1rem;
+  color: #ffffff;
+  margin-right: 1rem;
+}
+.with-border,
+.with-border-top {
+  border-bottom: 1px solid #d1cdc7;
   padding-top: 1rem;
-  padding-bottom: 1rem; 
+  padding-bottom: 1rem;
 }
 
-.with-border-top{
-  border-top: 1px solid #D1CDC7;
+.with-border-top {
+  border-top: 1px solid #d1cdc7;
 }
 
-.row-outil{
+.row-outil {
   margin-left: 4rem;
 }
 
-.text-outil-details{
-font-family: 'Barlow';
-font-style: normal;
-font-weight: 400;
-font-size: 2rem;
-font-weight: 300;
-font-size: 22px;
-line-height: 26px;
-width: 19rem;
-color: #0E2D32;
-margin-left: 3rem;
-margin-bottom: 1rem;
-margin-left: 10rem;
-
+.text-outil-details {
+  font-family: "Barlow";
+  font-style: normal;
+  font-weight: 400;
+  font-size: 2rem;
+  font-weight: 300;
+  font-size: 22px;
+  line-height: 26px;
+  width: 19rem;
+  color: #0e2d32;
+  margin-left: 3rem;
+  margin-bottom: 1rem;
+  margin-left: 10rem;
 }
 
-.text-outil{
-font-family: 'Barlow';
-font-style: normal;
-font-weight: 400;
-font-size: 2rem;
-color: #0E2D32;
-margin-top: -20rem;
-margin-bottom: 3rem;
+.text-outil {
+  font-family: "Barlow";
+  font-style: normal;
+  font-weight: 400;
+  font-size: 2rem;
+  color: #0e2d32;
+  margin-top: -20rem;
+  margin-bottom: 3rem;
 }
 
 .col-gestion {
@@ -123,28 +166,21 @@ margin-bottom: 3rem;
   font-style: normal;
   font-weight: 600;
   font-size: 4rem;
-  line-height: 5rem;
+  line-height: 5.5rem;
   text-align: center;
   color: white;
   height: 20rem;
   margin-top: 3rem;
-  margin-left: 17rem;
-  margin-right: 17rem;
-  margin-bottom: 25rem;
+  width: 55rem;
+  margin-left: auto;
+  margin-right: auto;
+  margin-bottom: 30rem;
 }
 
-.screen {
-  width: 900px;
-  margin-top: 2rem;
-  margin-left: 17rem;
-  margin-right: 17rem;
-  text-align: center;
-  bottom: 25rem;
-  border-radius: 20px; 
-}
+
 
 .span-color {
-  color: #CAF5F4;
+  color: #caf5f4;
 }
 
 .rectangle-img {

+ 0 - 1
components/Layout/Container.vue

@@ -24,6 +24,5 @@ const overflow = ref(props.overflow);
 <style scoped>
 .container {
   max-width: 1800px;
-  padding: 20px;
 }
 </style>