canvas init

This commit is contained in:
2026-03-01 22:07:33 -06:00
parent 62346321d7
commit 0713ad7521
2 changed files with 27 additions and 5 deletions

View File

@@ -1,9 +1,15 @@
import {motion} from "framer-motion";
import "./canvas.scss";
export function Canvas() {
return (
<>
<main className="main">
<h1>Welcome to my blog</h1>
</main>
</>
<main>
<motion.h1 className="welcome" animate={{ rotate: 360 }}>
Welcome to my blog
</motion.h1>
<canvas>
</canvas>
</main>
)
}