diff --git a/attached_assets/image_1772311384148.png b/attached_assets/image_1772311384148.png new file mode 100644 index 0000000..4b91aed Binary files /dev/null and b/attached_assets/image_1772311384148.png differ diff --git a/client/src/pages/home.tsx b/client/src/pages/home.tsx index a373613..c5a437f 100644 --- a/client/src/pages/home.tsx +++ b/client/src/pages/home.tsx @@ -223,37 +223,21 @@ function FeaturedCarousel({ articles, popular, galleryImages }: { articles: Arti const isWidePage = page === 1; let hero: Article | null = null; - let side: Article[] = []; if (!isGalleryPage && articles.length > 0) { hero = articles[page % articles.length]; - if (!isWidePage) { - side = [ - articles[(page * 2 + 1) % articles.length], - articles[(page * 2 + 2) % articles.length], - ]; - } } - const wide = isGalleryPage || isWidePage; - return (
setPaused(true)} onMouseLeave={() => setPaused(false)}>
-
+
{isGalleryPage && galleryImages ? ( ) : hero ? ( ) : null}
- {!wide && ( -
- {side.map((a) => ( - - ))} -
- )}
{popular && popular.length > 0 && }