From c6dc352a06d2397c3b37c27a8f12cc2ca989e4de Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Sat, 28 Feb 2026 19:32:30 +0000 Subject: [PATCH] Update homepage article display to show more posts Modify the slicing logic for articles displayed on the homepage to ensure more posts are visible below the main carousel. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 413891e8-d784-4bea-b9f5-91a5a68316b4 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 8dd2a5c0-a2aa-40ef-80ff-a9023754026d Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/413891e8-d784-4bea-b9f5-91a5a68316b4/RVXhOPb Replit-Helium-Checkpoint-Created: true --- client/src/pages/home.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/client/src/pages/home.tsx b/client/src/pages/home.tsx index 1e44392..3d944b7 100644 --- a/client/src/pages/home.tsx +++ b/client/src/pages/home.tsx @@ -316,11 +316,9 @@ export default function Home() { ); } - const carouselUsed = Math.min(articles.length, 5 * 3); - const remaining = articles.slice(carouselUsed); - const row2Articles = remaining.slice(0, 4); - const row3Articles = remaining.slice(4, 7); - const row4Articles = remaining.slice(7, 10); + const row2Articles = articles.slice(0, 4); + const row3Articles = articles.slice(4, 7); + const row4Articles = articles.slice(7, 10); return (