From c7066ae1c99a1f1f61516806dc5d098c639e6287 Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Mon, 19 Oct 2026 12:29:52 +0000 Subject: [PATCH] fix(web): move the CrawlProof ad unit out from above the footer No ads in footers: the site's only ad unit sat at the bottom of the page, pressed against the footer. Move it to the top of the main content instead so the page keeps its ad. Co-Authored-By: Claude Opus 5.5 --- apps/site/app/_components/ad-unit.tsx | 2 +- apps/site/app/layout.tsx | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/site/app/_components/ad-unit.tsx b/apps/site/app/_components/ad-unit.tsx index 2a8c290..873a501 100644 --- a/apps/site/app/_components/ad-unit.tsx +++ b/apps/site/app/_components/ad-unit.tsx @@ -4,7 +4,7 @@ import { useEffect, useRef } from "react"; import { usePathname } from "next/navigation"; /** - * One CrawlProof ad unit, above the footer on public pages. + * One CrawlProof ad unit, at the top of the main content on public pages. * Manage the slot at https://crawlproof.com/ads/slots */ const AD_SLOT = "5500e925-8ab1-4dd9-b89d-eaafa3554f68"; diff --git a/apps/site/app/layout.tsx b/apps/site/app/layout.tsx index 527c3e3..9a15317 100644 --- a/apps/site/app/layout.tsx +++ b/apps/site/app/layout.tsx @@ -125,8 +125,10 @@ export default function RootLayout({ children }: { children: React.ReactNode }) Account -
{children}
- +
+ + {children} +