diff --git a/src/components/HomeAnimation.tsx b/src/components/HomeAnimation.tsx index a2d722f9ecece269eca1736c3c7c6aad50c91a59..68d55483034ae53e7104e6a059ae11a16d5a0a37 100644 --- a/src/components/HomeAnimation.tsx +++ b/src/components/HomeAnimation.tsx @@ -8,7 +8,7 @@ export function HomeAnim() { gsap.registerPlugin(ScrollTrigger); gsap.registerPlugin(useGSAP); gsap.registerPlugin(MotionPathPlugin); - + const vectorRef = useRef(null); useGSAP( @@ -24,8 +24,8 @@ export function HomeAnim() { scrollTrigger: { trigger: "svg", scrub: true, - start:"top middle", - end: "bottom middle" + start:"bottom middle", + end: "+=4000" } }) .from(".homeAnimLine", {drawSVG: 0}, 0)