Skip to content

Add CrawlProof ad unit#768

Merged
ralyodio merged 2 commits into
masterfrom
crawlproof/install-ad-embed-6faee067-mraf472d
Jul 8, 2026
Merged

Add CrawlProof ad unit#768
ralyodio merged 2 commits into
masterfrom
crawlproof/install-ad-embed-6faee067-mraf472d

Conversation

@crawlproof

@crawlproof crawlproof Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

This PR adds the CrawlProof ad unit so this site can show network ads and earn crypto for clicks.

  • Slot: 6faee067-68a2-40ef-aa20-2065bb306f4c
  • Format: banner_300x250
  • Injected into sites/sh1pt.com/app/layout.tsx before </body>.

The unit renders inside a sandboxed iframe and never blocks page load. Manage the slot at https://crawlproof.com/ads/slots

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

vu1nz Security Review

0 finding(s) in PR #?

No security issues found.

The installer injected a bare <div data-cp-ad> at the tail of <body>
in sites/sh1pt.com/app/layout.tsx, so the 300x250 ad rendered below
the footer on every page.

Replace it with an <AdUnit /> component placed inside real page
content on the home and blog index/post views. The ad.js loader
stays global in the layout.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ralyodio

ralyodio commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Reworked so the ad renders in page content instead of below the footer. The installer had injected a bare <div data-cp-ad> before </body> in app/layout.tsx (same recurring below-footer bug seen on saasrow/threatcrush/bl0ggers/ugig).

  • New app/components/AdUnit.tsx (slot 6faee067-68a2-40ef-aa20-2065bb306f4c, centered, "Advertisement" label, matches the site's plain-CSS style).
  • Removed the stray div from layout.tsx; ad.js loader stays global.
  • <AdUnit /> placed on the home page and blog index/post content.

Typechecks clean (tsc --noEmit in sites/sh1pt.com).

@ralyodio ralyodio merged commit bf4c4af into master Jul 8, 2026
6 checks passed
@ralyodio ralyodio deleted the crawlproof/install-ad-embed-6faee067-mraf472d branch July 8, 2026 00:34
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