From 20f96fd01eba8811f9471088a8075bd19546e9d4 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Sat, 28 Feb 2026 22:33:06 +0000 Subject: [PATCH] Prevent news and breaking news widgets from appearing together Modify the widget shuffling logic to ensure that the 'news' and 'breaking' widgets are never placed in the same row by repeatedly shuffling until the condition is met. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 517dfa7b-26ac-463d-a6e1-a58c6df97188 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: a31b32f5-282c-4fb1-bce8-8f2822899957 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/517dfa7b-26ac-463d-a6e1-a58c6df97188/0ZGabQy Replit-Helium-Checkpoint-Created: true --- client/src/pages/home.tsx | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/client/src/pages/home.tsx b/client/src/pages/home.tsx index af5f705..acca898 100644 --- a/client/src/pages/home.tsx +++ b/client/src/pages/home.tsx @@ -458,9 +458,20 @@ export default function Home() { { id: "breaking", el: