From 75f1de829ba616066d6bd4ddb37f97d3bf26aca8 Mon Sep 17 00:00:00 2001
From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com>
Date: Sat, 28 Feb 2026 22:36:04 +0000
Subject: [PATCH] Add dynamic content and ads to the bottom of the homepage
Adds a new section to the homepage that dynamically displays a shuffled array of widgets (news, horoscope, weather, breaking news, recipe) interspersed with two AdSense ads.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 517dfa7b-26ac-463d-a6e1-a58c6df97188
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 8cd8705d-50d4-4498-81ca-641b06532cb7
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/517dfa7b-26ac-463d-a6e1-a58c6df97188/ls5p9ni
Replit-Helium-Checkpoint-Created: true
---
client/src/pages/home.tsx | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/client/src/pages/home.tsx b/client/src/pages/home.tsx
index 80fc9cb..60e6fb2 100644
--- a/client/src/pages/home.tsx
+++ b/client/src/pages/home.tsx
@@ -518,6 +518,22 @@ export default function Home() {
return copy.slice(0, 2);
}, [articles]);
+ const bottomSection = useMemo(() => {
+ const items: { type: "widget" | "ad"; el: JSX.Element }[] = [
+ { type: "widget", el: