biome, bun, tailwind v4

This commit is contained in:
z0x 2024-12-31 01:18:25 -05:00
parent ed8d366df6
commit 678fa26c76
16 changed files with 64 additions and 7977 deletions

View file

@ -1,12 +1,14 @@
import { animate, stagger } from "motion";
const elements = document.querySelectorAll("img, h1");
// const elements = document.querySelectorAll("img, h1");
const fade = document.getElementById("fade");
const elements = fade.querySelectorAll("*");
animate(
elements,
{ opacity: [0, 1] },
{
duration: 0.6,
delay: stagger(0.6, { startDelay: 0.2 }),
ease: "easeIn",
},
elements,
{ opacity: [0, 1] },
{
duration: 0.6,
delay: stagger(0.6, { startDelay: 0.2 }),
ease: "easeIn",
},
);