fixed animation bugs

This commit is contained in:
HAM!DREZA
2024-05-09 23:16:54 +03:30
parent 0ac988a9c7
commit ba0c128832
8 changed files with 307 additions and 146 deletions
+3 -2
View File
@@ -234,10 +234,11 @@ onMounted(() => {
scrollTrigger: {
trigger: ".panel",
start: "top center",
end: "+=50"
},
strokeDashoffset: 300,
repeat: 1,
ease: "none",
ease: "slow(0.7,0.7,false)",
duration: 5,
});
@@ -273,7 +274,7 @@ onMounted(() => {
const tl = gsap.timeline({
defaults: {
duration: 1,
ease: "power1.inOut",
ease: "slow(0.7,0.7,false)",
},
scrollTrigger: {
trigger: ".about",