-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.js
More file actions
53 lines (44 loc) · 953 Bytes
/
Copy pathmain.js
File metadata and controls
53 lines (44 loc) · 953 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
const scrollRevealOption = {
distance: "50px",
origin: "bottom",
duration: 1000,
}
ScrollReveal().reveal(".container .letter-s", {
duration: 1000,
delay: 1000,
});
ScrollReveal().reveal(".container img", {
duration: 1000,
delay: 1500,
});
ScrollReveal().reveal(".container .text__left", {
...scrollRevealOption,
origin: "right",
delay: 2000,
})
ScrollReveal().reveal(".container .text__right", {
...scrollRevealOption,
origin: "left",
delay: 2000,
})
ScrollReveal().reveal(".container .explore", {
duration: 1000,
delay: 2000,
});
ScrollReveal().reveal(".container .catalog", {
duration: 1000,
delay: 2400,
});
ScrollReveal().reveal(".container .print", {
duration: 1000,
delay: 2800,
});
ScrollReveal().reveal(".container h5", {
duration: 1000,
interval: 500,
delay: 3000,
});
ScrollReveal().reveal(".footer p", {
duration: 1000,
delay: 4200,
});