Skip to content

Commit aff1a1c

Browse files
committed
more tweaks to landing page animation to make experience more smooth
1 parent bdac7d3 commit aff1a1c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/LandingPage.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,14 @@ const LandingPage = ({}: Props) => {
8888
setLink1Path("/landing/webdev/portfolio");
8989
setLink2Text("Blog");
9090
setLink2Path("/landing/webdev/blog");
91+
setHueDuration(4000);
9192
} else if (currentPath === "/landing/gamedev") {
9293
setCurrentDisplay("Game Development");
9394
setLink1Text("Portfolio");
9495
setLink1Path("/landing/webdev/portfolio");
9596
setLink2Text("Blog");
9697
setLink2Path("/landing/gamedev/blog");
98+
setHueDuration(4000);
9799
}
98100
}, [currentPath]);
99101

0 commit comments

Comments
 (0)