From 79d99b4c4ada17c93a15bca8051480b67a19c530 Mon Sep 17 00:00:00 2001 From: rebeccahongsf Date: Tue, 22 Oct 2024 09:08:38 -0700 Subject: [PATCH] adjust hero height --- app/components/FeatureHero/FeatureHero.tsx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/app/components/FeatureHero/FeatureHero.tsx b/app/components/FeatureHero/FeatureHero.tsx index ff1fa80..0716985 100644 --- a/app/components/FeatureHero/FeatureHero.tsx +++ b/app/components/FeatureHero/FeatureHero.tsx @@ -18,7 +18,7 @@ export const FeatureHero = ({ ...props }: FeatureHeroProps) => { const { scrollYProgress } = useScroll(); - const opacity = useTransform(scrollYProgress, [0, 0.5], [1, 0]); + const opacity = useTransform(scrollYProgress, [0, 0.05], [1, 0]); return ( @@ -27,25 +27,23 @@ export const FeatureHero = ({ {children}
- + sizes="100vw" />
- + sizes="100vw" />