From b0b63903deecd48b9b174c4164b771be37c4fb72 Mon Sep 17 00:00:00 2001 From: dertyp7 Date: Sun, 14 Jan 2024 18:15:57 +0100 Subject: [PATCH] Update threshold value in App.tsx --- src/App.tsx | 2 +- src/styles/Projects.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 9133bf7..b505451 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -67,7 +67,7 @@ export default function App() { } }); }, - { threshold: 0.2 } + { threshold: 0.1 } ); if (aboutRef.current) { diff --git a/src/styles/Projects.scss b/src/styles/Projects.scss index 82819bf..22c5217 100644 --- a/src/styles/Projects.scss +++ b/src/styles/Projects.scss @@ -18,7 +18,7 @@ @media (min-width: 768px) { .project { opacity: 0; - animation: fadeIn 300ms ease-in-out forwards; + animation: fadeIn 500ms ease-in-out forwards; } } }