Ledger shows each payout's username (Marty 2026-11-09), linked only when the member has a Stack POL page; LinkSpin zone spots on the blog index, posts and ledger (one zone per screen size, the hidden size never loads)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -82,6 +82,8 @@ footer.site b{display:block;color:var(--ink);font:700 14px var(--display);margin
|
||||
.who{display:flex;gap:12px;align-items:center}.av{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--violet),var(--violet-hi));display:grid;place-items:center;font:800 18px var(--display);color:#fff;flex:none}
|
||||
.who b{font:700 17px var(--display);display:block;line-height:1.2}.who span{color:var(--muted);font-size:13.5px}
|
||||
.crumb{font-size:13px;color:var(--muted);margin-top:26px}.crumb a{color:var(--muted)}
|
||||
/* ad spots (LinkSpin zones): neutral class names, ad blockers hide .adzone-style names (feedback 2026-10-08) */
|
||||
.spot{display:flex;flex-direction:column;align-items:center;gap:4px;margin:28px auto;max-width:100%;overflow:hidden}.spot .sl{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
|
||||
@media (prefers-reduced-motion:reduce){.card,.btn{transition:none}.card:hover{transform:none}}
|
||||
`;
|
||||
|
||||
@@ -110,6 +112,11 @@ function head(o) {
|
||||
+ '<header class="bar"><a class="logo" href="/" aria-label="Stack POL home">' + LOGO + 'Stack POL</a>'
|
||||
+ '<nav class="top" aria-label="Main">' + [['/', 'Home'], ['/programs', 'Programs'], ['/ledger', 'Ledger'], ['/blog', 'Blog']].map(([h, l]) => '<a href="' + h + '"' + (o.nav === h ? ' aria-current="page"' : '') + '>' + l + '</a>').join('') + '</nav></header>';
|
||||
}
|
||||
// a LinkSpin zone spot. wide = zone for screens 760px and up, narrow = zone below that; only the one that fits is loaded, so a
|
||||
// hidden size never counts a view. Zones are on Marty's LinkSpin account, site stackpol.com (created 2026-11-09).
|
||||
const ZONES = { banner: 'ls-9c2a52', strip: 'ls-dc8bdd', blogBox: 'ls-72413f', ledgerBox: 'ls-1f308f' };
|
||||
const spot = (wide, narrow) => '<div class="spot" data-w="' + (wide || '') + '" data-n="' + (narrow || wide || '') + '"><span class="sl">Sponsored</span></div>';
|
||||
const SPOT_JS = '<script>(function(){var w=innerWidth>=760;document.querySelectorAll(".spot").forEach(function(d){var id=w?d.dataset.w:d.dataset.n;if(!id){d.remove();return;}var s=document.createElement("script");s.async=true;s.src="https://linkspin.app/z.js";s.setAttribute("data-zone",id);d.appendChild(s);});})();</script>';
|
||||
function tail(extra) {
|
||||
const year = new Date().getFullYear();
|
||||
return '<footer class="site"><div><b>Stack POL</b>Every POL payout across the network, stacked in one place and checkable on Polygon.</div>'
|
||||
@@ -117,6 +124,6 @@ function tail(extra) {
|
||||
+ '<div><b>The network</b><a href="https://instantadpay.com" rel="noopener">InstantAdPay</a><a href="https://linkspin.app" rel="noopener">LinkSpin</a><a href="https://instantadpay.com/games" rel="noopener">All games</a></div>'
|
||||
+ '<div><b>Honest numbers</b>Totals are the combined payouts of everyone in the network, read from each program\'s payout records and the Polygon chain. One member\'s results are not a promise of yours. Cryptocurrency involves risk.</div></footer>'
|
||||
+ '<p class="disc">© ' + year + ' Stack POL, part of the Crypto Team Build Network. Stack POL shows payouts; it does not hold, invest or pay out anyone\'s money.</p>'
|
||||
+ '</div>' + (extra || '') + '</body></html>';
|
||||
+ '</div>' + (extra || '') + SPOT_JS + '</body></html>';
|
||||
}
|
||||
module.exports = { SITE, esc, head, tail, OG, V };
|
||||
module.exports = { SITE, esc, head, tail, OG, V, ZONES, spot };
|
||||
|
||||
Reference in New Issue
Block a user