Folx News Hub main site (folx.tv)
Go to file
sebastjanartic 20f96fd01e 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
2026-02-28 22:33:06 +00:00
attached_assets Add an advertisement to the bottom of the blog's homepage 2026-02-28 22:32:17 +00:00
client Prevent news and breaking news widgets from appearing together 2026-02-28 22:33:06 +00:00
script Extracted stack files 2026-02-28 16:30:25 +00:00
server Add current news widget and randomize widget placement on homepage 2026-02-28 22:10:27 +00:00
shared Restored to '84d7de2da64f8f2fd1e2d64959817c64c8fb7c04' 2026-02-28 20:36:50 +00:00
.gitignore Extracted stack files 2026-02-28 16:30:25 +00:00
.replit Restored to '84d7de2da64f8f2fd1e2d64959817c64c8fb7c04' 2026-02-28 20:36:50 +00:00
components.json Extracted stack files 2026-02-28 16:30:25 +00:00
drizzle.config.ts Extracted stack files 2026-02-28 16:30:25 +00:00
package-lock.json Automatically optimize uploaded images for faster loading 2026-02-28 21:12:36 +00:00
package.json Automatically optimize uploaded images for faster loading 2026-02-28 21:12:36 +00:00
postcss.config.js Extracted stack files 2026-02-28 16:30:25 +00:00
replit.md Restored to '84d7de2da64f8f2fd1e2d64959817c64c8fb7c04' 2026-02-28 20:36:50 +00:00
tailwind.config.ts Extracted stack files 2026-02-28 16:30:25 +00:00
tsconfig.json Extracted stack files 2026-02-28 16:30:25 +00:00
vite.config.ts Extracted stack files 2026-02-28 16:30:25 +00:00