mirror of
https://github.com/profullstack/agentbbs.git
synced 2026-11-29 15:31:53 +00:00
Add a CrawlProof text_link ad unit to the web front page
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:
parent
bdaa55f258
commit
55a7a279cb
1 changed files with 6 additions and 0 deletions
6
setup.sh
6
setup.sh
|
|
@ -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 & 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue