Add a CrawlProof text_link ad unit to the web front page (#150)
Some checks are pending
CI / build (push) Waiting to run
deploy / deploy (push) Waiting to run
test / test (push) Waiting to run

Plain-HTML unit for slot 8a261afe-e212-4ab9-8c60-35607016bd33 above the
footer, with ad.js. Collapsed until data-cp-filled. No CSP on this page.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Anthony Ettinger 2026-10-19 00:52:20 -07:00 • committed by GitHub
parent bdaa55f258
commit e1abd3416f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -220,6 +220,9 @@ cat > "$DATA_DIR/web/index.html" <<HTML
hr { border: 0; border-top: 1px dashed var(--dim); margin: 2rem 0; }
code { color: #ffd166; }
footer { margin-top: 2.5rem; color: var(--dim); font-size: .85rem; }
/* CrawlProof ad unit: zero height until ad.js fills it, so an unsold slot leaves no hole. */
.cp-ad { height: 0; overflow: hidden; }
.cp-ad[data-cp-filled] { height: auto; overflow: visible; min-height: 40px; margin: 2rem 0 0; }
</style>
<pre class="banner">
@ -302,6 +305,9 @@ key — no passwords:</p>
<b>git clone git@${GIT_DOMAIN}:YOURNAME/repo.git</b>
<span># your profile &amp; repos are public at</span> <b><a href="https://${GIT_DOMAIN}">${GIT_DOMAIN}/YOURNAME</a></b></pre>
<aside class="cp-ad" data-cp-ad data-slot="8a261afe-e212-4ab9-8c60-35607016bd33" data-format="text_link"></aside>
<script src="https://crawlproof.com/ad.js" async></script>
<hr>
<footer>
AgentBBS · one SSH connection from anywhere.