From 23016897dce52505c4efcb813a4b20841434a61e Mon Sep 17 00:00:00 2001 From: epenflow Date: Tue, 6 Feb 2024 02:18:30 +0800 Subject: [PATCH] refactoring --- src/components/Section/Hero.tsx | 4 ++-- src/components/Section/Home/Home.tsx | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/components/Section/Hero.tsx b/src/components/Section/Hero.tsx index cf277ae..c1138ac 100644 --- a/src/components/Section/Hero.tsx +++ b/src/components/Section/Hero.tsx @@ -52,9 +52,9 @@ const Hero = () => {

- <--!Bangli + Bangli - Skatepark--> + Skatepark

); diff --git a/src/components/Section/Home/Home.tsx b/src/components/Section/Home/Home.tsx index fff4fc4..4d2b95f 100644 --- a/src/components/Section/Home/Home.tsx +++ b/src/components/Section/Home/Home.tsx @@ -42,8 +42,6 @@ const Home = () => { tl.to( '#home__section-text', { - clipPath: - 'polygon(0 100%, 100% 100%, 100% 100%, 0% 100%)', stagger: 1.5, duration: 2.5, scrollTrigger: { @@ -53,7 +51,6 @@ const Home = () => { start: 'top+=15% top', end: 'bottom+=50% top', invalidateOnRefresh: true, - markers: true, pinSpacing: false, pinType: 'fixed', },