VBB v1 skeleton: off-chain loop engine, verified visitors, members, banners, leaderboards, admin; docstore + networksso from Downline Banners
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// How it works + Packages: nav, footer, and the live config numbers.
|
||||
(async function () {
|
||||
const page = location.pathname.replace(/\/$/, '') || '/';
|
||||
VBB.renderNav(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);
|
||||
})();
|
||||
Reference in New Issue
Block a user