From a1d5ecf51dfb68d6b1039c564ac3672275d910fa Mon Sep 17 00:00:00 2001 From: Ryan Salazar Date: Wed, 20 May 2026 04:15:45 +0000 Subject: [PATCH] ads: add in-content 728x90 banner to gear, technology, forum, authors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These four landing pages already had the site-wide header leaderboard via
, but no additional in-content banner. Add one 728x90 slot at the bottom of the main column on each, gated on ADS_728X90.length > 0 and hidden on mobile to match the header banner's display rules. - /gear — category landing - /technology — category landing - /forum — community landing - /authors/[slug] — author profile Brings these pages in line with /show-coverage and /about/* which got the same treatment earlier. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/app/authors/[slug]/page.tsx | 9 +++++++++ src/app/forum/page.tsx | 9 +++++++++ src/app/gear/page.tsx | 9 +++++++++ src/app/technology/page.tsx | 9 +++++++++ 4 files changed, 36 insertions(+) diff --git a/src/app/authors/[slug]/page.tsx b/src/app/authors/[slug]/page.tsx index b9da8c1..965e16e 100644 --- a/src/app/authors/[slug]/page.tsx +++ b/src/app/authors/[slug]/page.tsx @@ -5,6 +5,8 @@ import { useParams } from "next/navigation"; import AppImage from "@/components/ui/AppImage"; import Header from "@/components/Header"; import Footer from "@/components/Footer"; +import AdImage from "@/components/AdImage"; +import { ADS_728X90, shuffle } from "@/lib/ads"; interface AuthorProfile { slug: string; @@ -475,6 +477,13 @@ export default function AuthorProfilePage() { } + + {/* In-content 728x90 banner */} + {ADS_728X90.length > 0 && ( +
+ +
+ )}