Skip to content

feat(site): CrawlProof ad unit above the footer - #116

Merged
ralyodio merged 1 commit into
mainfrom
feat/crawlproof-ads
Oct 19, 2026
Merged

ralyodio merged 1 commit into
mainfrom
feat/crawlproof-ads

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

Adds one CrawlProof ad unit (slot 5500e925-8ab1-4dd9-b89d-eaafa3554f68) above the footer on public pages.

  • apps/site/app/_components/ad-unit.tsx: SSRs [data-cp-ad] without a slot, sets data-slot + data-format (728x90 desktop / 300x250 mobile) on mount, then calls crawlproofAds.scan() with a bounded retry. Keyed by pathname so client navigations get a fresh fill.
  • Skipped on account, auth, checkout, library, orders and /play.
  • Collapse-until-filled CSS in globals.css; ad.js loaded afterInteractive next to the existing stats.js tag (unchanged). No CSP on the site.

🤖 Generated with Claude Code

One unit, slot 5500e925, format picked from the viewport (728x90 desktop,
300x250 mobile) in a mount effect, then crawlproofAds.scan() with a bounded
retry. Collapsed until filled; skipped on account, auth, checkout and /play.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

ThreatCrush Security Scan

0 finding(s)

No findings.

@ralyodio
ralyodio merged commit bc088da into main Oct 19, 2026
7 checks passed
@ralyodio
ralyodio deleted the feat/crawlproof-ads branch October 19, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant