From 3ee8c4f638cc2ab14817d16041460d6c66f821d2 Mon Sep 17 00:00:00 2001 From: Hetari Date: Wed, 23 Oct 2024 01:45:27 +0300 Subject: [PATCH] update some animations --- src/animations/index.ts | 6 ++-- src/components/sections/People.vue | 47 +++++++++++++----------------- 2 files changed, 23 insertions(+), 30 deletions(-) diff --git a/src/animations/index.ts b/src/animations/index.ts index 0a28195..740192c 100644 --- a/src/animations/index.ts +++ b/src/animations/index.ts @@ -380,14 +380,14 @@ const animateHeroNav = () => { // A little bit about me animation const animateAboutMeSectionLeave = (id: string) => { gsap.to(id, { - yPercent: -10, + yPercent: -5, scale: 0.95, - ease: 'power1', + // ease: 'power1', scrollTrigger: { trigger: id, start: '75% bottom', // end: 'bottom top', - scrub: 1, + scrub: 0.1, }, }); }; diff --git a/src/components/sections/People.vue b/src/components/sections/People.vue index dd728d7..36bc978 100644 --- a/src/components/sections/People.vue +++ b/src/components/sections/People.vue @@ -2,7 +2,7 @@