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
+4
View File
@@ -209,6 +209,10 @@ async function main() {
ok(r.status === 404 && /Back to the loop/.test(nf), '404 page served');
ok(/script-src[^;]*https:\/\/linkspin\.app/.test(r.headers.get('content-security-policy') || ''), 'CSP admits linkspin.app (network zones)');
r = await anon.req('/sitemap.xml'); ok((await r.text()).includes('/promote'), 'sitemap lists /promote');
{ const sm = await (await anon.req('/sitemap.xml')).text(); const G = ['/guides', '/guides/is-it-legit', '/guides/free-account', '/guides/prize-boards', '/guides/faq']; // Guides (2026-11-17)
ok(G.every(g => sm.includes('viralbannerblitz.com' + g + '<')), 'sitemap lists every guide');
for (const g of G) { const gr = await anon.req(g); const gh = await gr.text(); ok(gr.status === 200 && gh.includes('<link rel="canonical" href="https://viralbannerblitz.com' + g + '">') && /<meta name="description" content="[^"]{60,}">/.test(gh) && /og:title/.test(gh) && (g === '/guides' || /href="\/guides"/.test(gh)) &&!/\$50|cap of|RM Circle|up to \$/i.test(gh), 'GET ' + g + ': 200, canonical, description, OG, links back to the guides, no cap or RM Circle', gr.status); }
const lg = await (await anon.req('/guides/is-it-legit')).text(); ok(/0x36F6ccc8752DcE1c84e06b65f07dF30e8a4707D7/.test(lg) && /30%/.test(lg) && /10%/.test(lg) && /60%/.test(lg) && /href="\/ledger"/.test(lg), 'legit guide: contract address, the 30/10/60 split, the ledger'); }
}
r = await anon.req('/api/my'); ok(r.status === 401, '/api/my needs sign-in');
// the site assistant (2026-11-15): widget on every page, canned answers without AI, account problems hand off, admin KB behind the token