From 7171c2cdeb144de7b6a84a5cdaa4993c6da11aeb Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Tue, 20 Oct 2026 23:06:24 -0700 Subject: [PATCH] No ads on the homepage; low-profile text-link ads elsewhere (#251) - Homepage: removed the 300x250 ad.network unit, its CSS, its rescan effect and the home-only ad.js tag (the ad.network meta verification tag stays). - Blog index and posts: the single unit is now text_link (AdUnit default), full width with an 8px margin, no centred 300x250 box. Co-authored-by: Claude Opus 5.5 --- apps/logicsrc-web/src/app/[[...slug]]/page.tsx | 2 -- apps/logicsrc-web/src/app/blog/[slug]/page.tsx | 4 +--- apps/logicsrc-web/src/app/blog/page.tsx | 4 +--- apps/logicsrc-web/src/components/ad-unit.tsx | 7 ++++--- .../src/components/home-interactivity.tsx | 17 ----------------- apps/logicsrc-web/src/lib/ad-network.ts | 10 ++-------- apps/logicsrc-web/src/lib/page-markup.ts | 2 -- apps/logicsrc-web/src/styles.css | 13 ------------- 8 files changed, 8 insertions(+), 51 deletions(-) diff --git a/apps/logicsrc-web/src/app/[[...slug]]/page.tsx b/apps/logicsrc-web/src/app/[[...slug]]/page.tsx index c4c88c43..0e49e059 100644 --- a/apps/logicsrc-web/src/app/[[...slug]]/page.tsx +++ b/apps/logicsrc-web/src/app/[[...slug]]/page.tsx @@ -5,7 +5,6 @@ import { renderPageMarkup } from "@/lib/page-markup"; import { pageMetadata, specMetadata } from "@/lib/page-meta"; import { HomeInteractivity } from "@/components/home-interactivity"; import { siteFooterHtml } from "@/lib/site-footer"; -import Script from "next/script"; import { AD_NETWORK_CODE } from "@/lib/ad-network"; // The legacy SPA served the same single page for every top-level path and just @@ -59,7 +58,6 @@ export default async function Page({ <>
- {!slug?.length &&