From 7d8f67dc76c5e741388a625a95597a4d32f6553b Mon Sep 17 00:00:00 2001 From: austinkelsay Date: Thu, 10 Oct 2024 17:54:34 -0500 Subject: [PATCH] Styling fixes for new hero banner, add promotional carousel to about page --- src/components/banner/HeroBanner.js | 35 ++++++++----------- .../InteractivePromotionalCarousel.js | 9 +++-- src/components/sidebar/Sidebar.js | 2 +- src/pages/about.js | 33 +++-------------- 4 files changed, 25 insertions(+), 54 deletions(-) diff --git a/src/components/banner/HeroBanner.js b/src/components/banner/HeroBanner.js index 1be4607..542d44b 100644 --- a/src/components/banner/HeroBanner.js +++ b/src/components/banner/HeroBanner.js @@ -14,7 +14,8 @@ const HeroBanner = () => { const isTabView = windowWidth <= 1360; const router = useRouter(); const { returnImageProxy } = useImageProxy(); - const videoRef = useRef(null); + + const isMobile = windowWidth <= 800; useEffect(() => { const interval = setInterval(() => { @@ -40,28 +41,16 @@ const HeroBanner = () => { } }; - // useEffect(() => { - // videoRef.current.play(); - // }, []); - return ( -
+
Banner - {/*