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
+3 -2
View File
@@ -231,7 +231,8 @@ function oldLink(u) {
const ZONE_404 = 'ls-d83484'; // LinkSpin zone "VBB not found" (2026-11-14)
const PAGES = { '/': 'index.html', '/my': 'my.html', '/leaders': 'leaders.html', '/how': 'how.html', '/packages': 'packages.html', '/admin': 'admin.html',
'/contract': 'contract.html', '/ledger': 'ledger.html', '/terms': 'terms.html', '/disclaimer': 'disclaimer.html', '/privacy': 'privacy.html' }; // trust pack 2026-11-14
'/contract': 'contract.html', '/ledger': 'ledger.html', '/terms': 'terms.html', '/disclaimer': 'disclaimer.html', '/privacy': 'privacy.html', // trust pack 2026-11-14
'/guides': 'guides.html', '/guides/is-it-legit': 'guide-legit.html', '/guides/free-account': 'guide-free.html', '/guides/prize-boards': 'guide-prizes.html', '/guides/faq': 'guide-faq.html' }; // Guides (Marty 2026-11-17)
const challenges = new Map();
const clickSeen = new Map();
@@ -258,7 +259,7 @@ const server = http.createServer(async (req, res) => {
if (/^\/r\/[^/]+$/.test(p)) { res.writeHead(302, { Location: '/?ref=' + encodeURIComponent(decodeURIComponent(p.slice(3))) }); return res.end(); }
if (p === '/sitemap.xml') {
const day = new Date().toISOString().slice(0, 10);
const urls = ['/', '/leaders', '/how', '/packages', '/promote', '/contract', '/ledger', '/terms', '/disclaimer', '/privacy'].map(x => '<url><loc>https://' + C.site + x + '</loc><lastmod>' + day + '</lastmod></url>').join('');
const urls = ['/', '/leaders', '/how', '/packages', '/promote', '/contract', '/ledger', '/guides', '/guides/is-it-legit', '/guides/free-account', '/guides/prize-boards', '/guides/faq', '/terms', '/disclaimer', '/privacy'].map(x => '<url><loc>https://' + C.site + x + '</loc><lastmod>' + day + '</lastmod></url>').join('');
res.writeHead(200, headers({ 'Content-Type': 'application/xml; charset=utf-8', 'Cache-Control': 'public, max-age=3600' }));
return res.end('<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' + urls + '</urlset>');
}