diff --git a/app/page.tsx b/app/page.tsx index db98a07..f543c2d 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -9,6 +9,7 @@ import { TiTick } from "react-icons/ti" import { Glow, GlowCapture } from "@codaworks/react-glow" import ImageFilter from "components/ImageFilter/ImageFilter" import { BsGlobe2, BsAndroid, BsApple, BsHeadsetVr } from "react-icons/bs" +import { motion } from "framer-motion" export default function Web() { const [init, setInit] = useState(false) @@ -17,6 +18,10 @@ export default function Web() { transform: hovered ? "translateX(3px)" : "none", transition: "transform .2s", // Optional: Smooth transition } + const wordVariants = { + hidden: { opacity: 0, y: 20 }, + visible: { opacity: 1, y: 0, transition: { duration: 0.9, staggerChildren: 0.1 } }, + } return (
@@ -32,13 +37,33 @@ export default function Web() { >
-

- Experience the next dimension -

-

- Let us transform your vision into reality with cutting-edge VR/AR experiences and custom software - solutions powered by AI. -

+ + {" "} + {"Experience the next dimension".split(" ").map((word, index) => ( + + {word}{" "} + + ))} + + + {"Let us transform your vision into reality with cutting-edge VR/AR experiences and custom software solutions powered by AI." + .split(" ") + .map((word, index) => ( + + {word}{" "} + + ))} +