16 lines
469 B
Plaintext
16 lines
469 B
Plaintext
|
<script defer src="<%- conf.js %>"></script>
|
||
|
<script>
|
||
|
window.addEventListener('DOMContentLoaded', (event) => {
|
||
|
const slideUp = {
|
||
|
distance: `<%- conf.distance %>`,
|
||
|
duration: `<%- conf.duration %>`,
|
||
|
interval: `<%- conf.interval %>`,
|
||
|
scale: `<%- conf.scale %>`,
|
||
|
opacity: 0,
|
||
|
easing: "ease-out"
|
||
|
};
|
||
|
ScrollReveal().reveal('.l_left .slide-up', slideUp);
|
||
|
ScrollReveal().reveal('.l_main .slide-up', slideUp);
|
||
|
});
|
||
|
</script>
|