From 4f3d43cd578ccfee8e365f908a1b0a8e6c776b22 Mon Sep 17 00:00:00 2001
From: Maximilian Leo Huber <maximilian.huber@uni-bielefeld.de>
Date: Sun, 8 Sep 2024 15:27:22 +0000
Subject: [PATCH] changed trigger zone of anim

---
 src/components/HomeAnimation.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/components/HomeAnimation.tsx b/src/components/HomeAnimation.tsx
index a2d722f9..68d55483 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)
-- 
GitLab