Footer: 'Part of the network' column from the network hub (netsites.js: GET HUB_URL/v1/network-sites, 10 min cache, built-in fallback; Stack POL marked as current), company line TrustClickz, 615 Green Valley Drive, Moody, AL 35004, Support link; All games moves to Explore (never in the network list). Marty 2026-11-14 trust pack

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-14 10:12:59 -06:00
parent 8bde289c39
commit 6cc1c6d366
2 changed files with 47 additions and 3 deletions
+7 -3
View File
@@ -2,6 +2,7 @@
// Twitter card, RSS link, JSON-LD slots) and the site's own look (Polygon violet + coin gold on deep night, one dark theme on
// purpose, matching the hero video). Server-rendered so crawlers read real HTML.
'use strict';
const netsites = require('./netsites'); // footer network list from the hub (2026-11-14)
const SITE = (process.env.SITE_URL || 'https://stackpol.com').replace(/\/+$/, '');
const esc = s => String(s == null ? '' : s).replace(/[&<>"]/g, c => ({ '&': '&amp;', '<': '&lt;', '>': '&gt;', '"': '&quot;' }[c]));
const V = '20261109a';
@@ -163,10 +164,13 @@ function memberLinks(who, st) {
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>'
+ '<div><b>Explore</b><a href="/programs">All programs</a><a href="/ledger">Live ledger</a><a href="/blog">Blog</a><a href="/blog/feed.xml">RSS feed</a></div>'
+ '<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>Explore</b><a href="/programs">All programs</a><a href="/ledger">Live ledger</a><a href="/blog">Blog</a><a href="/blog/feed.xml">RSS feed</a><a href="https://instantadpay.com/games" rel="noopener">All games</a><a href="https://instantadpay.com/support" rel="noopener">Support</a></div>'
// Part of the network (Marty 2026-11-14 trust pack): the list comes from the hub (netsites.js, cached), built-in copy if not
+ '<div><b>Part of the network</b><span style="display:block;margin-bottom:4px">One account across the network</span>' + netsites.list().map(s => (s.id === 'stackpol' || /stackpol\.com/.test(s.url))
? '<span aria-current="page" style="display:block;margin:3px 0;color:var(--ink);font-weight:600">' + esc(s.name) + ' (you are here)</span>'
: '<a href="' + esc(s.url) + '" rel="noopener">' + esc(s.name) + '</a>').join('') + '</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">&copy; ' + 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>'
+ '<p class="disc">&copy; ' + year + ' Stack POL by TrustClickz, 615 Green Valley Drive, Moody, AL 35004. Part of the Crypto Team Build Network. Stack POL shows payouts; it does not hold, invest or pay out anyone\'s money.</p>'
// PolHunter mission (Marty 2026-11-10): silent unless a hunter arrives with their own #ph token; the code lands on one of the
// program cards (3 slots, which one rotates per hunter per day)
+ '</div>' + (extra || '') + SPOT_JS + '<script src="https://polhunter.com/embed.js" data-slots="3" data-selector=".card" async></script></body></html>';