Skip to content

Commit

Permalink
missign files
Browse files Browse the repository at this point in the history
  • Loading branch information
thomlamb committed Nov 7, 2024
1 parent 3715f3b commit 8d556bf
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 11 deletions.
40 changes: 34 additions & 6 deletions nouveausite/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,31 @@ $(document).ready(function () {
opacity: 0,
});

ScrollReveal().reveal(".sectiontext .text", {
delay: 300,
ScrollReveal().reveal("#main-container .sectiontext .text", {
delay: 100,
duration: 1000,
distance: "20%",
origin: "bottom",
interval: 100,
});

ScrollReveal().reveal(".custom-imio-map-use", {
delay: 100,
duration: 1000,
distance: "20%",
origin: "bottom",
interval: 100,
});

ScrollReveal().reveal(".figure-left figure", {
delay: 300,
delay: 200,
duration: 1000,
distance: "20%",
origin: "left",
});

ScrollReveal().reveal(".figure-right figure", {
delay: 300,
delay: 200,
duration: 1000,
distance: "20%",
origin: "right",
Expand All @@ -62,14 +70,15 @@ $(document).ready(function () {
// });

ScrollReveal().reveal(".section-title", {
delay: 500,
delay: 300,
duration: 1500,
distance: "20%",
origin: "bottom",
});

ScrollReveal().reveal(".blocsx3 a", {
delay: 300,
duration: 1500,
distance: "100%",
origin: "bottom",
interval: 100,
Expand All @@ -84,11 +93,30 @@ $(document).ready(function () {
});

ScrollReveal().reveal(".bloc-temoignages .swiper-slide-active *", {
delay: 500,
delay: 300,
duration: 1500,
distance: "20%",
origin: "bottom",
interval: 100,
opacity: 0,
});

ScrollReveal().reveal("#main-container header", {
delay: 100,
duration: 1000,
distance: "20%",
origin: "bottom",
interval: 100,
});

// Qui sommes-nous

ScrollReveal().reveal(".reveal-liste li", {
delay: 400,
duration: 800,
distance: "50%",
origin: "right",
interval: 100,
});

});
9 changes: 4 additions & 5 deletions nouveausite/src/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ $enable-roboto-webfont: false;
@import "./se-files";
@import "./contact";
@import "./custom-int";
@import "./map";
@import "./animations";


//.section-home-page {
//}
Expand Down Expand Up @@ -975,8 +978,4 @@ footer #container-section-noussuivre {

.sectiontext ol li::before {
content: counters(item, ".") " " !important;
}

html.sr .swiper-banner-content * {
visibility: hidden;
}
}

0 comments on commit 8d556bf

Please sign in to comment.