This commit is contained in:
parent
49b3d02c4e
commit
d531e4cac9
16 changed files with 275 additions and 1189 deletions
|
@ -1,12 +1,14 @@
|
|||
import { animate, stagger } from "motion";
|
||||
|
||||
const elements = document.querySelectorAll(".motion-links, .motion-logo, .motion-text, .motion-footer");
|
||||
const elements = document.querySelectorAll(
|
||||
".motion-links, .motion-logo, .motion-text, .motion-footer",
|
||||
);
|
||||
|
||||
animate(
|
||||
elements,
|
||||
{ opacity: [0, 1] },
|
||||
{
|
||||
delay: stagger(0.2, { startDelay: 0.1 }),
|
||||
ease: "easeIn"
|
||||
ease: "easeIn",
|
||||
},
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue