Guides (Marty 2026-11-17): /guides index plus Is it legit (VBBShop 0x36F6...07D7, 30/10/60 split from the contract constants, ledger, what the owner can and cannot change), Getting the most from your free account, How the weekly prize boards work (no cap shown) and the FAQ (from the chatbot answers); Guides in nav and footer, sitemap, a More guides card on /how, chatbot FAQ entry + PAGES fact; live values via static.js data-k; common.js?v=11, vbb.css?v=8; smoke checks for every guide

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-17 08:28:00 -06:00
parent c4ec646bdf
commit 756a25068d
23 changed files with 379 additions and 23 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ window.VBB = (function () {
function renderNav(active) {
const nav = document.createElement('nav'); nav.className = 'top';
const links = [['/', 'The loop'], ['/leaders', 'Leaderboards'], ['/how', 'How it works'], ['/packages', 'Packages'], ['/promote', 'Promote'], ['/my', 'My Banners']];
const links = [['/', 'The loop'], ['/leaders', 'Leaderboards'], ['/how', 'How it works'], ['/guides', 'Guides'], ['/packages', 'Packages'], ['/promote', 'Promote'], ['/my', 'My Banners']];
nav.innerHTML = '<div class="wrap"><a class="brand" href="/"><img src="/art/mark.svg" alt="" width="36" height="36"><span><span class="wm">Viral Banner <b>Blitz</b></span>'
+ '<span class="by">Part of the Crypto Team Build Network</span></span></a><div class="links">'
+ links.map(l => '<a href="' + l[0] + '"' + (l[0] === active ? ' class="on" aria-current="page"' : '') + '>' + l[1] + '</a>').join('') + '</div></div>';
@@ -49,7 +49,7 @@ window.VBB = (function () {
const f = document.createElement('footer'); f.className = 'foot';
f.innerHTML = '<div class="wrap"><p><b>Viral Banner Blitz</b>, part of the Crypto Team Build Network</p>'
+ '<p>A banner that cycles earns advertising across the network, not cash. Nothing here is an income opportunity.</p>'
+ '<p><a href="/">The loop</a> &middot; <a href="/leaders">Leaderboards</a> &middot; <a href="/how">How it works</a> &middot; <a href="/packages">Packages</a> &middot; <a href="/promote">Promote</a> &middot; <a href="/my">My Banners</a></p>'
+ '<p><a href="/">The loop</a> &middot; <a href="/leaders">Leaderboards</a> &middot; <a href="/how">How it works</a> &middot; <a href="/guides">Guides</a> &middot; <a href="/packages">Packages</a> &middot; <a href="/promote">Promote</a> &middot; <a href="/my">My Banners</a></p>'
// trust pack (Marty 2026-11-14): legal + proof links, company line, and the network line served by the hub
+ '<p class="legal-links"><a href="/terms">Terms</a> &middot; <a href="/disclaimer">Earnings Disclaimer</a> &middot; <a href="/privacy">Privacy</a> &middot; <a href="/contract">Contract</a> &middot; <a href="/ledger">Ledger</a> &middot; <a href="https://instantadpay.com/support" target="_blank" rel="noopener">Support</a></p>'
+ '<p class="co">&copy; 2026 TrustClickz</p><p class="netline"></p></div>';
+8 -2
View File
@@ -1,15 +1,21 @@
// How it works + Packages: nav, footer, and the live config numbers.
// How it works, Packages and the Guides pages (2026-11-17): nav, footer, and the live config numbers.
(async function () {
const page = location.pathname.replace(/\/$/, '') || '/';
VBB.renderNav(page); VBB.renderFooter();
VBB.renderNav(page.indexOf('/guides') === 0 ? '/guides' : page); VBB.renderFooter();
const c = await VBB.getConfig().catch(() => ({}));
const set = (k, v) => document.querySelectorAll('[data-k=' + k + ']').forEach(el => { el.textContent = v; });
if (c.perShift) set('perShift', c.perShift);
if (c.viewsPerCycle != null) set('views', VBB.n(c.viewsPerCycle));
if (c.visitSeconds) set('secs', c.visitSeconds);
// Guides (2026-11-17): free credits a day (Network Weekend aware, from the server), the free-credit bank, waiting banners, the look, the packs
if (c.freeCreditsPerDay) set('freeDay', c.freeCreditsPerDay === 1 ? 'one free post credit' : c.freeCreditsPerDay + ' free post credits');
if (c.freeCreditCap) set('freeCap', c.freeCreditCap);
if (c.maxQueued) set('maxQueued', c.maxQueued);
// package prices from config (the Packages page has its own script, packages.js, with the Buy buttons)
const money = v => '$' + (Number.isInteger(v) ? v : Number(v).toFixed(2));
const pp = document.getElementById('pkPacks');
if (pp && c.packs && c.packs.length) pp.innerHTML = c.packs.map(p => '<li>' + VBB.n(p.credits) + ' post credits for ' + money(p.usd) + '</li>').join('');
if (c.lookUsd) set('lookUsd', money(c.lookUsd));
if (c.packs && c.packs.length) set('packsText', c.packs.map(p => VBB.n(p.credits) + ' post credits for ' + money(p.usd)).join(' or '));
const lk = document.getElementById('pkLook'); if (lk && c.lookUsd) lk.textContent = money(c.lookUsd) + ' per banner';
})();
+11
View File
@@ -197,3 +197,14 @@ footer.foot .netline b{color:#fff} footer.foot .netline .here{color:#fff;font-we
.adm-b .s{flex:1;min-width:220px;font-size:13.5px;word-break:break-all}
.adm-b textarea{width:100%;min-height:54px;font:14px var(--body);border:var(--edge);border-radius:8px;padding:8px}
.mine .item.swapping{flex-wrap:wrap;align-items:flex-start}.mine .item.swapping .s{flex:1 1 100%}
/* Guides (2026-11-17): the /guides index cards, the guide-to-guide links and the FAQ list */
.guides{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:12px 0}
.guides a.card{display:block;margin:0;color:var(--ink);text-decoration:none}
.guides a.card:hover{transform:translate(-2px,-2px)}
.guides a.card b{display:block;font:800 19px/1.15 var(--disp);margin-bottom:6px}
.guide-next{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0 0}
.faq details{border-bottom:1.5px solid var(--line);padding:12px 0}
.faq details:last-child{border-bottom:0}
.faq summary{cursor:pointer;font-weight:700;font-size:16px}
.faq details p{margin:8px 0 0;max-width:760px}
.addr{word-break:break-all}