Skip to content

Commit

Permalink
Imio site reveal update
Browse files Browse the repository at this point in the history
  • Loading branch information
thomlamb committed Nov 7, 2024
1 parent ff7a45a commit 0d79008
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions nouveausite/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,36 @@ $(document).ready(function () {
opacity: 0,
});

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

ScrollReveal().reveal("figure", {
delay: 400,
duration: 1500,
ScrollReveal().reveal(".figure-left figure", {
delay: 300,
duration: 1000,
distance: "20%",
origin: "bottom",
interval: 100,
origin: "left",
});

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

// ScrollReveal().reveal("figure", {
// delay: 400,
// duration: 1500,
// distance: "20%",
// origin: "bottom",
// interval: 100,
// });

ScrollReveal().reveal(".section-title", {
delay: 500,
duration: 1500,
Expand Down

0 comments on commit 0d79008

Please sign in to comment.