Restyle ViralAdBlitz to the approved "daylight cyberpunk" look (Marty 2026-11-14)

Replaces the dark ink-green/amber newsroom look Marty rejected as too dark.
Look only: routes, ids, copy facts and the trust pack are unchanged.

- vab.css rewritten around CSS variables: #EAF0FF ground, white clipped
  cards, royal #0A1F6B bands/ticker, #0A2FA8 hero panels with network
  lines, red pill CTA, gold Boost/boosted, Barlow Condensed / Chakra Petch /
  Inter / JetBrains Mono. [hidden] now always wins over display rules.
- Front page: slanted hero, ribbon, green-check list, rising bars, three
  YOUR AD screens, gold chips; board tabs (verified clicks / on the wire /
  boosted, from data the page already has); Boost band; ledger chips.
- Member page: own ad as a hero panel, level rows with LEVEL chips, royal
  join bar. Rows are now labelled LEVEL 1 to LEVEL 5 in display order
  (Marty's decision); the real place is kept in the API as depth.
- My page becomes the dashboard: side menu, stat cards, my-ad card with
  LIVE/BOOSTED badges and a folded editor, line bars, Boost ring, recent
  activity, payouts. All figures from /api/my, nothing estimated.
- Boost, ledger, contract, promote, legal and admin pages restyled; 404 too.
- Default JOIN_URL is now https://instantadpay.com/join/{ref} (no ref
  falls back to the InstantAdPay home page).
- New mark, icon, OG image, 21 kit creatives and 3 proof cards
  (royal/daylight/navy) rendered by tools/art.mjs; asset tags bumped to v=4.
- smoke.mjs: new headline, level/depth and join URL checks, UI_FONTS=1.

Tests: qa/smoke.mjs 162/162, qa/chain.mjs 20/20 (local anvil).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-14 15:17:30 -06:00
parent 001878bdae
commit d611c4b251
54 changed files with 797 additions and 414 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ ADMIN_TOKEN= # x-admin-token for /api/admin/* (8+ characters)
NETWORK_SSO_SECRET= # same value as InstantAdPay + LinkSpin; they must also list viraladblitz under wallets
WALLETCONNECT_PROJECT_ID= # Reown id (IAP project); add viraladblitz.com to its allowlist first
NETWORK_SITE_ID=viraladblitz # this site in the network footer list and tracked links (LinkSpin code nwvab)
JOIN_URL= # default https://instantadpay.com/?ref={ref} (where a non-member joins under a page owner)
JOIN_URL= # default https://instantadpay.com/join/{ref}, InstantAdPay's member join page (where a non-member joins under a page owner)
# Boost (display copy; must match VABShop SKU 1): $5 = 500 guaranteed views, delivered on-site within 30 days, then NAS
BOOST_USD=5
BOOST_VIEWS=500
+5 -2
View File
@@ -6,8 +6,8 @@ Plain Node http server, no framework, the VBB / Downline Banners pattern. Contra
## What it does
- **Free text ad** (headline 60, two lines of 90, https link, no shorteners) for network members: sign in through InstantAdPay or LinkSpin (networksso.js, audience `viraladblitz`) or by wallet; membership is checked with the network hub (hubpeople.js), InstantAdPay's lookup only while the hub is unreachable. One ad per member, editable.
- **Member page** `viraladblitz.com/<network username>`: the member's ad, then the first 5 people above them in the hub sponsor line who have a live ad here (hubline.js walks up to 20 places; each row is labelled with the person's real place in the line), then 2 Boosted places, then "Join free under @owner" (JOIN_URL, default InstantAdPay `?ref=`).
- **Front page**: amber ticker of the newest ads (Boosted ones starred, on every page), "Top ads this week" by verified clicks, today's numbers, 3 steps, live ledger, contract proof, toasts.
- **Member page** `viraladblitz.com/<network username>`: the member's ad, then the first 5 people above them in the hub sponsor line who have a live ad here (hubline.js walks up to 20 places; rows are labelled LEVEL 1 to LEVEL 5 in the order shown, the real place in the line is kept as `depth`), then 2 Boosted places, then "Join free under @owner" (JOIN_URL, default InstantAdPay's join page `https://instantadpay.com/join/{ref}`).
- **Front page**: royal ticker of the newest ads (Boosted ones starred, on every page), "Top ads this week" by verified clicks, today's numbers, 3 steps, live ledger, contract proof, toasts.
- **Verified visitors** (wire.js, VBB rules): every page load gets a ticket listing the ads the server showed; after `VISIT_SECONDS` visible the browser redeems it. Bots, early sends and more than `VISITS_PER_IP_DAY` browsers per connection are refused. Each shown ad gets one view per visitor per 24 h, never the owner's own. Verified clicks: `/go/<ad>?v=<token>` once per visitor per ad per 24 h, never the owner's own; raw clicks are counted apart. `{clickid}` and `{placement}` in an ad link are filled on every click.
- **Boost** ($5, one-time, never a subscription): order built server side (`POST /api/my/order`), paid from the member's wallet through VABShop. If the buyer's line is not on chain yet, the keeper signs an EIP-712 line voucher with the hub line's wallets (nearest first, up to 20, people without a wallet left out). The watcher (shop.js) records each Purchase once per tx:logIndex.
- **Delivery** (wire.js + vabnas.js): every verified view of a Boosted ad counts toward its guarantee (oldest Boost first) and is kept as an audit row (`vab_bviews`, 120 days). Boosted ads are starred on the ticker and fill the member pages' Boosted places, furthest-behind first. A Boost not delivered on-site within 30 days is finished through **Network Ad Space as a text ad** (pid 1) for exactly the views still owed; NAS impressions count toward the same guarantee. NAS was chosen over LinkSpin zones because NAS serves text ads natively; LinkSpin zones are banner placements.
@@ -18,6 +18,8 @@ Plain Node http server, no framework, the VBB / Downline Banners pattern. Contra
- **Old links**: `/?<old>`, `/splashpg.php?pid=N&r=<old>`, `/lcp.php?pid=N&r=<old>` 301 to `/<network username>` from the oldrefs map (`POST /api/admin/oldrefs`), any other `*.php` to `/`.
- **Data**: docstore.js (MySQL via `DOCSTORE_URL`): document `vab.json` + row tables `vab_ads`, `vab_visits`, `vab_clicks`, `vab_bviews`; `hubreport.json`, `vab-nas.json`, `oldrefs.json` are documents too.
- **Look** (approved 2026-11-14): "daylight cyberpunk" in Marty's colors, one stylesheet `public/assets/vab.css` with CSS variables: light blue-white ground, white clipped-corner cards, royal bands and ticker, red pill CTA, gold for Boost and boosted, Barlow Condensed / Chakra Petch / Inter / JetBrains Mono. My page is the member dashboard (side menu, stat cards, my-ad card, line bars, Boost ring, recent activity), every figure from `/api/my`. Telegram proof cards: `public/art/proof/vab-proof-{royal,daylight,navy}.png`.
## Run and test
```
@@ -25,6 +27,7 @@ npm install
node server.js # prototype mode without DOCSTORE_URL (never launch this way)
node qa/smoke.mjs # 162 checks: stand-in hub, chain, Telegram, NAS; Playwright desktop + phone renders
SKIP_UI=1 node qa/smoke.mjs # HTTP checks only
UI_FONTS=1 node qa/smoke.mjs # same, but lets Google Fonts load so the qa/out screenshots show the real type
node qa/chain.mjs # 20 checks against the real VABShop on a local anvil chain (needs ../contracts built)
node tools/pages.mjs # regenerate public/*.html (one source of copy + legal facts)
node tools/art.mjs # regenerate icon, OG image, proof cards, kit creatives (Playwright)
+1 -1
View File
@@ -53,7 +53,7 @@ function get() {
iapBase: String(e.IAP_URL || 'https://instantadpay.com').replace(/\/+$/, ''),
lsBase: String(e.LS_URL || 'https://linkspin.app').replace(/\/+$/, ''),
// where someone who is not in the network yet joins free under the page owner ({ref} = the owner's network username)
joinUrl: String(e.JOIN_URL || 'https://instantadpay.com/?ref={ref}'),
joinUrl: String(e.JOIN_URL || 'https://instantadpay.com/join/{ref}'),
networkLookupUrl: e.NETWORK_LOOKUP_URL !== undefined ? String(e.NETWORK_LOOKUP_URL).trim()
: String(e.IAP_URL || 'https://instantadpay.com').replace(/\/+$/, '') + '/api/network/member'
};
+1 -1
View File
@@ -12,7 +12,7 @@ const store = require('./store');
const docstore = require('./docstore');
const SPLIT = { levelBps: 1000, levels: 5, denom: 10000 }; // VABShop LEVEL_BPS / LEVELS (constants in the contract)
const CARDS = ['/art/proof/vab-proof-amber.png', '/art/proof/vab-proof-cream.png', '/art/proof/vab-proof-green.png']; // rotated per post
const CARDS = ['/art/proof/vab-proof-royal.png', '/art/proof/vab-proof-daylight.png', '/art/proof/vab-proof-navy.png']; // rotated per post
const st = { posted: 0, skipped: 0, failed: 0, lastError: null };
let C = null, shop = null, wire = null, names = null;
const sent = new Set();
+6 -6
View File
@@ -18,15 +18,15 @@
<meta name="twitter:title" content="Admin | ViralAdBlitz">
<meta name="twitter:description" content="ViralAdBlitz admin.">
<meta name="twitter:image" content="https://viraladblitz.com/art/og-share.png">
<meta name="theme-color" content="#0a1712">
<meta name="theme-color" content="#0A1F6B">
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=IBM+Plex+Mono:wght@400;600&family=IBM+Plex+Sans:wght@400;600&display=swap">
<link rel="stylesheet" href="/assets/vab.css?v=3">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@1,700;1,800&family=Chakra+Petch:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/vab.css?v=4">
</head>
<body>
<main class="wrap">
<section class="hero"><div class="copy"><h1>Admin</h1></div></section>
<section class="panel hero"><svg class="netlines" viewBox="0 0 600 400" preserveAspectRatio="none" aria-hidden="true"><g stroke="#9DBEFF" stroke-width="1" fill="none"><path d="M0 300 Q150 180 300 240 T600 120"/><path d="M0 220 Q200 90 360 160 T600 40"/><path d="M40 400 L220 120 L420 260 L600 60"/></g><g fill="#FFC21A"><circle cx="220" cy="120" r="4"/><circle cx="420" cy="260" r="4"/><circle cx="360" cy="160" r="3"/><circle cx="300" cy="240" r="3"/><circle cx="520" cy="90" r="4"/></g></svg><div class="copy"><h1>Admin</h1></div></section>
<div class="card"><form class="kit-who" id="tokForm"><input id="tok" type="password" autocomplete="off" placeholder="admin token"><button class="cta" type="submit">Load</button></form></div>
<div class="card"><h3>Status</h3><pre class="kit-pre" id="statusOut">Enter the token.</pre></div>
<div class="card"><h3>Boosts</h3><div class="tscroll"><table class="t" id="boostRows"><tbody></tbody></table></div></div>
@@ -35,7 +35,7 @@
<div class="card"><h3>Old site links</h3><p class="small">JSON file {"oldrefs": {"old username": "network username"}} replaces the whole map.</p><input type="file" id="oldFile" accept="application/json"><pre class="kit-pre" id="oldOut"></pre></div>
<div id="status" class="note" hidden></div>
</main>
<script src="/assets/common.js?v=3"></script>
<script src="/assets/admin.js?v=3"></script>
<script src="/assets/common.js?v=4"></script>
<script src="/assets/admin.js?v=4"></script>
</body>
</html>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 34 KiB

+1 -1
View File
@@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64"><rect width="64" height="64" fill="#0a1712"/><rect x="0" y="46" width="64" height="6" fill="#ffb000"/><path d="M13 12h9l10 26 10-26h9L37 44h-10z" fill="#f4efe3"/><circle cx="52" cy="14" r="4" fill="#ffb000"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64"><path d="M0 0H50L64 14V64H14L0 50Z" fill="#0A1F6B"/><path d="M13 49 L32 14 L51 49" fill="none" stroke="#3D8BFF" stroke-width="6.5" stroke-linejoin="miter"/><path d="M21 36 H43" stroke="#E3141E" stroke-width="6.5"/></svg>

Before

Width:  |  Height:  |  Size: 298 B

After

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

+15 -10
View File
@@ -1,5 +1,5 @@
// Shared page helpers (VAB namespace, modelled on VBB / Downline Banners common.js): nav, the amber ticker, verified visits,
// ad cards, footer (legal, company line, the network line from the hub), network ad zones and toasts of real events.
// Shared page helpers (VAB namespace, modelled on VBB / Downline Banners common.js): nav, the royal ticker, verified visits,
// ad cards, the shared SVG bits of the daylight look (mark, network lines, green checks), footer (legal, company line, the network line from the hub), network ad zones and toasts of real events.
window.VAB = (function () {
let cfgP = null, vt = null;
const $ = id => document.getElementById(id);
@@ -12,10 +12,14 @@ window.VAB = (function () {
async function getJSON(url, opts) { const r = await fetch(url, opts); let j = {}; try { j = await r.json(); } catch (e) {} if (!r.ok && !j.error) j.error = 'Request failed (' + r.status + ')'; j._status = r.status; return j; }
const post = (url, body) => getJSON(url, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(body || {}) });
// the daylight look's shared SVG bits
const MARK = '<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#3D8BFF" stroke-width="2.4" aria-hidden="true"><path d="M4 18 L12 4 L20 18"/><path d="M8 12 H16" stroke="#FF3B30"/></svg>';
const NETLINES = '<svg class="netlines" viewBox="0 0 600 400" preserveAspectRatio="none" aria-hidden="true"><g stroke="#9DBEFF" stroke-width="1" fill="none"><path d="M0 300 Q150 180 300 240 T600 120"/><path d="M0 220 Q200 90 360 160 T600 40"/><path d="M40 400 L220 120 L420 260 L600 60"/></g><g fill="#FFC21A"><circle cx="220" cy="120" r="4"/><circle cx="420" cy="260" r="4"/><circle cx="360" cy="160" r="3"/><circle cx="300" cy="240" r="3"/><circle cx="520" cy="90" r="4"/></g></svg>';
const CHECK = '<svg width="24" height="24" viewBox="0 0 26 26" aria-hidden="true"><circle cx="13" cy="13" r="12" fill="#16B85A" stroke="#FFFFFF" stroke-width="2"/><path d="M7.5 13.5 L11.5 17 L18.5 9" fill="none" stroke="#FFFFFF" stroke-width="3"/></svg>';
function renderNav(active) {
const nav = document.createElement('nav'); nav.className = 'top';
const links = [['/#board', 'Top ads'], ['/my', 'My page'], ['/boost', 'Boost'], ['/ledger', 'Ledger'], ['/contract', 'Contract'], ['/promote', 'Promote']];
nav.innerHTML = '<div class="wrap"><a class="brand" href="/"><span class="wm">ViralAdBlitz</span><span class="live">LIVE</span></a><div class="links">'
nav.innerHTML = '<div class="wrap"><a class="brand" href="/" aria-label="ViralAdBlitz, front page"><span class="mk">' + MARK + '</span><span class="wm">VIRAL<b>AD</b>BLITZ</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>'
+ '<a class="cta" href="/my">Post my free text ad</a></div>';
document.body.prepend(nav);
@@ -30,15 +34,16 @@ window.VAB = (function () {
const el = $('ticker'); if (!el) return;
if (!items || !items.length) { el.innerHTML = '<span class="empty">The wire is quiet. Post the first text ad.</span>'; return; }
const one = items.map(t => '<a data-go="' + t.id + '" data-p="ticker" target="_blank" rel="noopener sponsored" class="' + (t.boosted ? 'star' : '') + '" href="' + goHref(t.id, 'ticker') + '">'
+ (t.boosted ? '<b>★ BOOSTED:</b> ' : '▲ ') + esc(t.headline) + ' · ' + esc(t.owner) + '</a>').join('');
+ (t.boosted ? '<b>★ BOOSTED</b> ' : '<i>▲ LIVE</i> ') + esc(t.headline) + ' · ' + esc(t.owner) + '</a>').join('');
const reps = Math.max(1, Math.ceil(8 / items.length));
el.innerHTML = '<div class="run" style="--tick-s:' + Math.max(30, items.length * reps * 6) + 's">' + one.repeat(reps) + one.repeat(reps) + '</div>';
}
// a newsprint card for a text ad (front board, member page Boosted places)
function paper(t, tag, place) {
return '<article class="paper' + (t.boosted ? ' star' : '') + '"><span class="tag">' + (t.boosted ? '★ BOOSTED' + (tag ? ' · ' : '') : '') + esc(tag || '') + '</span>'
// a white clipped card for a text ad (front board, member page Boosted places); right = a small figure (verified clicks)
function paper(t, tag, place, right) {
const lab = (t.boosted ? '★ BOOSTED' + (tag ? ' · ' : '') : '') + (tag || '');
return '<article class="paper' + (t.boosted ? ' star' : '') + '">' + (lab || right ? '<div class="top"><span class="tag">' + esc(lab) + '</span>' + (right ? '<span class="cl">' + esc(right) + '</span>' : '') + '</div>' : '')
+ '<h3>' + esc(t.headline) + '</h3><p>' + esc(t.line1) + (t.line2 ? ' ' + esc(t.line2) : '') + '</p>'
+ '<a class="visit" data-go="' + t.id + '" data-p="' + esc(place || 'card') + '" target="_blank" rel="noopener sponsored" href="' + goHref(t.id, place) + '">Visit ' + esc(t.host) + ' · ' + esc(t.owner) + '</a></article>';
+ '<div class="foot"><a class="visit" data-go="' + t.id + '" data-p="' + esc(place || 'card') + '" target="_blank" rel="noopener sponsored" href="' + goHref(t.id, place) + '">Visit ' + esc(t.host) + '</a><span class="host">' + esc(t.owner) + '</span></div></article>';
}
// the page's data and its verified visit: the ads come with a ticket; after visitSeconds of the page being visible the
// visit is sent once, and from then on clicks carry the verified token
@@ -109,7 +114,7 @@ window.VAB = (function () {
const seen = new Set(); let first = true;
const box = document.createElement('div'); box.className = 'toasts'; box.setAttribute('aria-live', 'polite'); document.body.appendChild(box);
const show = c => {
const el = document.createElement('a'); el.className = 'toast';
const el = document.createElement('a'); el.className = 'toast' + (c.kind === 'boost' ? ' gold' : '');
if (c.kind === 'boost') { el.href = '/ledger'; el.innerHTML = '<b>' + (c.name ? '@' + esc(c.name) : 'A member') + ' just boosted an ad</b><br><span>' + (c.levels ? (c.levels === 1 ? '1 sponsor' : c.levels + ' sponsors') + ' paid in the same transaction' : 'paid on-chain, split by the contract') + '</span>'; }
else { el.href = '/'; el.innerHTML = '<b>' + (c.name ? '@' + esc(c.name) : 'A member') + ' posted a new text ad</b><br><span>' + esc(c.headline) + '</span>'; }
box.appendChild(el); requestAnimationFrame(() => el.classList.add('in'));
@@ -125,5 +130,5 @@ window.VAB = (function () {
}
const polOf = (w, d) => { try { const k = BigInt(w || 0); const v = Number(k / 10n ** 12n) / 1e6; return v.toFixed(d != null ? d : (v >= 100 ? 2 : 4)); } catch (e) { return '0'; } };
const when = t => t ? new Date(t).toLocaleString('en-US', { timeZone: 'America/Chicago', month: 'short', day: 'numeric', hour: 'numeric', minute: '2-digit' }) + ' CT' : '';
return { $, esc, getConfig, short, framed, status, getJSON, post, n, renderNav, renderFooter, renderTicker, paper, wire, decorate, goHref, polOf, when };
return { MARK, NETLINES, CHECK, $, esc, getConfig, short, framed, status, getJSON, post, n, renderNav, renderFooter, renderTicker, paper, wire, decorate, goHref, polOf, when };
})();
+18 -5
View File
@@ -1,4 +1,5 @@
// Front page: the ticker, today's numbers, "Top ads this week" by verified clicks, the live ledger and the contract box.
// Front page: the ticker, today's numbers, "Top ads this week" by verified clicks (with "On the wire" and "Boosted" views of the
// ads the ticker already shows), the live ledger and the contract box.
(async function () {
VAB.renderNav('/'); VAB.renderFooter();
const $ = VAB.$, esc = VAB.esc;
@@ -6,8 +7,20 @@
const t = d.today || {};
$('stViews').textContent = VAB.n(t.views); $('stClicks').textContent = VAB.n(t.vclicks); $('stBoosts').textContent = VAB.n(t.boosts); $('stAds').textContent = VAB.n(t.ads);
const items = (d.board && d.board.items) || [];
$('boardCards').innerHTML = items.length ? items.map(x => VAB.paper(x, 'No. ' + x.rank + ' · ' + VAB.n(x.clicks) + ' verified click' + (x.clicks === 1 ? '' : 's'), 'board')).join('')
: '<p class="muted">No verified clicks yet this week. The first ad clicked by a verified visitor takes No. 1.</p>';
const wireAds = d.ticker || [];
const views = {
clicks: () => items.length ? items.map(x => VAB.paper(x, '#' + x.rank, 'board', VAB.n(x.clicks) + ' verified click' + (x.clicks === 1 ? '' : 's'))).join('')
: '<p class="muted">No verified clicks yet this week. The first ad clicked by a verified visitor takes #1.</p>',
wire: () => wireAds.length ? wireAds.map(x => VAB.paper(x, x.boosted ? '' : 'LIVE', 'wire')).join('') : '<p class="muted">The wire is quiet. Post the first text ad.</p>',
boosted: () => { const b = wireAds.filter(x => x.boosted); return b.length ? b.map(x => VAB.paper(x, '', 'wire')).join('') : '<p class="muted">No Boosted ads on the wire right now. A Boost stars your ad here and on the ticker.</p>'; }
};
const show = k => {
$('boardCards').innerHTML = views[k]();
document.querySelectorAll('#board [data-sort]').forEach(b => { const on = b.dataset.sort === k; b.classList.toggle('on', on); b.setAttribute('aria-pressed', on ? 'true' : 'false'); });
VAB.decorate();
};
document.querySelectorAll('#board [data-sort]').forEach(b => { b.onclick = () => show(b.dataset.sort); });
show('clicks');
// the ledger: the newest Boost rows and their payouts
const L = await VAB.getJSON('/api/ledger?n=6').catch(() => ({}));
const ex = L.explorer || 'https://polygonscan.com';
@@ -15,8 +28,8 @@
const rows = [];
for (const r of (L.items || [])) {
const link = '<a href="' + esc(ex) + '/tx/' + esc(r.tx) + '" target="_blank" rel="noopener">verify</a>';
rows.push('<tr><td>' + VAB.when(r.at) + '</td><td class="ev">Boost bought</td><td>' + who(r.buyer, r.buyerName) + '</td><td>' + VAB.polOf(r.weiPaid) + '</td><td>' + link + '</td></tr>');
for (const p of r.pays || []) if (p.level > 0) rows.push('<tr><td></td><td>Paid level ' + p.level + (p.failed ? ' (waiting to be claimed)' : '') + '</td><td>' + (p.to ? who(p.to, p.name) : 'sponsor') + '</td><td>' + VAB.polOf(p.wei) + '</td><td>' + link + '</td></tr>');
rows.push('<tr><td>' + VAB.when(r.at) + '</td><td><span class="chip red">Boost bought</span></td><td>' + who(r.buyer, r.buyerName) + '</td><td class="pol">' + VAB.polOf(r.weiPaid) + '</td><td>' + link + '</td></tr>');
for (const p of r.pays || []) if (p.level > 0) rows.push('<tr><td></td><td><span class="chip blue">Paid level ' + p.level + '</span>' + (p.failed ? ' <span class="small muted">(waiting to be claimed)</span>' : '') + '</td><td>' + (p.to ? who(p.to, p.name) : 'sponsor') + '</td><td class="pol">' + VAB.polOf(p.wei) + '</td><td>' + link + '</td></tr>');
}
$('ledgerMini').querySelector('tbody').innerHTML = rows.length ? rows.slice(0, 12).join('') : '<tr><td colspan="5" class="muted">No Boosts yet. The first one shows here within a minute of its transaction.</td></tr>';
if (L.contract) { $('cAddr').textContent = 'Polygon · ' + L.contract + ' · read it live'; $('cLink').textContent = 'View the contract proof'; }
+6 -5
View File
@@ -1,5 +1,5 @@
// A member's page (viraladblitz.com/<username>): their own ad, the ads of the first five people above them in the network sponsor
// line who have an ad here (labelled by their place in the line), Boosted places, and "join free under this member".
// line who have an ad here (labelled LEVEL 1 to LEVEL 5 in the order shown), Boosted places, and "join free under this member".
(async function () {
VAB.renderNav(''); VAB.renderFooter();
const $ = VAB.$, esc = VAB.esc;
@@ -12,11 +12,12 @@
$('teamHead').textContent = 'Also recommended by @' + pg.username + '\'s team';
if (pg.ad) {
const a = pg.ad;
$('own').innerHTML = '<article class="paper big">' + (a.boosted ? '<span class="tag">★ BOOSTED</span>' : '') + '<h1>' + esc(a.headline) + '</h1><p>' + esc(a.line1) + (a.line2 ? ' ' + esc(a.line2) : '') + '</p>'
+ '<div class="row" style="margin-top:4px"><a class="btn-green" data-go="' + a.id + '" data-p="own" target="_blank" rel="noopener sponsored" href="' + VAB.goHref(a.id, 'own') + '">Take a look</a><span class="host mono small" style="color:var(--paper-sub)">' + esc(a.host) + ' · this member\'s own ad</span></div></article>';
$('own').innerHTML = '<article class="paper big' + (a.boosted ? ' star' : '') + '">' + VAB.NETLINES + '<span class="tag mono">' + (a.boosted ? '★ BOOSTED · ' : '') + 'THIS MEMBER\'S OWN AD</span><h1>' + esc(a.headline) + '</h1><p>' + esc(a.line1) + (a.line2 ? ' ' + esc(a.line2) : '') + '</p>'
+ '<div class="row" style="margin-top:6px"><a class="pill-cta" data-go="' + a.id + '" data-p="own" target="_blank" rel="noopener sponsored" href="' + VAB.goHref(a.id, 'own') + '">Take a look<span class="chev" aria-hidden="true"> &raquo;</span></a><span class="host mono small">' + esc(a.host) + '</span></div></article>';
} else $('own').innerHTML = '<div class="card"><h2>@' + esc(pg.username) + ' has not posted an ad yet</h2><p>Their team\'s ads are below.</p></div>';
const rows = (pg.line || []).map(x => '<div class="lvl' + (x.boosted ? ' star' : '') + '"><span class="no">LEVEL ' + x.level + '</span><div class="txt"><b>' + esc(x.headline) + '</b><div>' + esc(x.line1) + (x.line2 ? ' ' + esc(x.line2) : '') + ' ' + esc(x.owner) + (x.boosted ? ' · ★ Boosted' : '') + '</div></div>'
+ '<a class="btn-line" data-go="' + x.id + '" data-p="level' + x.level + '" target="_blank" rel="noopener sponsored" href="' + VAB.goHref(x.id, 'level' + x.level) + '">Visit</a></div>');
// LEVEL n = the nth row shown (Marty 2026-11-14), whatever the person's real place in the line
const rows = (pg.line || []).map((x, i) => '<div class="lvl' + (x.boosted ? ' star' : '') + '"><span class="no">LEVEL ' + (i + 1) + '</span><div class="txt"><b>' + esc(x.headline) + '</b><div>' + esc(x.line1) + (x.line2 ? ' ' + esc(x.line2) : '') + ' <span class="muted">' + esc(x.owner) + '</span>' + (x.boosted ? ' · <b class="mono" style="font-size:13px;color:var(--link)">★ BOOSTED</b>' : '') + '</div></div>'
+ '<a class="btn-line" data-go="' + x.id + '" data-p="level' + (i + 1) + '" target="_blank" rel="noopener sponsored" href="' + VAB.goHref(x.id, 'level' + (i + 1)) + '">Visit</a></div>');
for (let i = rows.length; i < 5; i++) rows.push('<div class="lvl open"><span class="no">OPEN</span><div class="txt"><b>An open place</b><div>' + (pg.hubOk === false && !i ? 'The network line is loading slowly. Try again in a minute.' : 'When more of this member\'s line posts an ad, it shows here.') + '</div></div></div>');
$('levels').innerHTML = rows.join('');
if ((pg.boosted || []).length) { $('boostedSec').hidden = false; $('boosted').innerHTML = pg.boosted.map(x => VAB.paper(x, '', 'boosted')).join(''); }
+60 -20
View File
@@ -1,5 +1,5 @@
// My page: sign in (network or wallet), post or edit the one free text ad, the member's page link, their line, Boost delivery,
// and what the contract has paid them.
// My page (the member dashboard): sign in (network or wallet), post or edit the one free text ad, the member's page link, their
// line, Boost delivery, recent activity and what the contract has paid them. Every figure comes from /api/my; nothing is estimated.
(async function () {
VAB.renderNav('/my'); VAB.renderFooter(); VAB.wire('other').catch(() => {});
const $ = VAB.$, esc = VAB.esc;
@@ -19,35 +19,75 @@
}
$('signout').onclick = async () => { await VAB.post('/api/auth/logout'); location.reload(); };
const counter = (inp, out, max) => { const f = () => { out.textContent = inp.value.length + ' / ' + max; }; inp.addEventListener('input', f); f(); };
const copyText = (t, b) => { try { navigator.clipboard.writeText(t); b.textContent = 'Copied'; setTimeout(() => { b.textContent = 'Copy my link'; }, 1400); } catch (e) {} };
const copyText = (t, b) => { const o = b.textContent; try { navigator.clipboard.writeText(t); b.textContent = 'Copied'; setTimeout(() => { b.textContent = o; }, 1400); } catch (e) {} };
const ex = c.explorer || 'https://polygonscan.com';
const vlink = tx => '<a href="' + esc(ex) + '/tx/' + esc(tx) + '" target="_blank" rel="noopener">verify</a>';
const stat = (label, val, note, cls) => '<div class="stat' + (cls ? ' ' + cls : '') + '"><span>' + label + '</span><b>' + val + '</b>' + (note ? '<em>' + note + '</em>' : '') + '</div>';
let counted = false;
async function load() {
const d = await VAB.getJSON('/api/my'); if (d.error) { VAB.status(d.error, 'err'); return; }
$('dash').hidden = false;
const a = d.ad; const lim = c.ad || { headline: 60, line: 90 };
$('stats').innerHTML = '<div class="stat"><b>' + (d.username ? '@' + esc(d.username) : esc(VAB.short(d.address))) + '</b><span>' + (d.netVerified ? 'network member' : 'not in the network yet') + '</span></div>'
+ '<div class="stat"><b>' + VAB.n(a ? a.views : 0) + '</b><span>verified views of your ad</span></div>'
+ '<div class="stat"><b>' + VAB.n(a ? a.vclicks : 0) + '</b><span>verified clicks</span></div>'
+ '<div class="stat"><b>' + VAB.polOf(d.earned && d.earned.wei) + '</b><span>POL paid to you by the contract</span></div>';
const name = d.username ? '@' + d.username : VAB.short(d.address);
const boosts = d.boosts || [];
const active = boosts.filter(b => b.status === 'delivering');
$('dHello').textContent = 'Welcome back, ' + name;
$('whoVia').textContent = d.netVerified ? 'Signed in through the network' : 'Signed in with your wallet';
$('whoName').textContent = name; $('whoAddr').textContent = VAB.short(d.address);
// stat cards (lifetime figures of the member's own ad, Boost delivery, contract payouts)
const bv = boosts.reduce((s, b) => s + (b.views || 0), 0), bd = boosts.reduce((s, b) => s + Math.min(b.delivered || 0, b.views || 0), 0);
$('stats').innerHTML = stat('Verified views of your ad', VAB.n(a ? a.views : 0), 'real visitors, once a day each')
+ stat('Verified clicks', VAB.n(a ? a.vclicks : 0), 'never your own', 'red')
+ stat('Boost views delivered', VAB.n(bd), boosts.length ? 'of ' + VAB.n(bv) + ' guaranteed' : 'no Boost yet', 'blue')
+ stat('Paid to your wallet', VAB.polOf(d.earned && d.earned.wei) + ' POL', 'straight from the contract', 'dark');
// the page link
$('pageCard').innerHTML = d.page
? '<h2>Your page</h2><p>Share it anywhere. It shows your ad and the five people above you, and everyone who joins through it shows your ad on their page.</p><p class="mono" style="overflow-wrap:anywhere"><a id="pageLink" href="' + esc(d.page) + '" target="_blank" rel="noopener">' + esc(d.page) + '</a></p><div class="row"><button class="btn-line" type="button" id="copyPage">Copy my link</button><a class="btn-quiet" href="/promote">Promo kit</a></div>'
: '<h2>Your page</h2><p>Your page address uses your network username. Sign in through InstantAdPay or LinkSpin once and it is set.</p>';
? '<div class="hd"><h2>Your page</h2></div><p>Share it anywhere. It shows your ad and the five people above you, and everyone who joins through it shows your ad on their page.</p><p class="mono" style="overflow-wrap:anywhere;margin:0"><a id="pageLink" href="' + esc(d.page) + '" target="_blank" rel="noopener">' + esc(d.page) + '</a></p><div class="row" style="margin:0"><button class="btn-line" type="button" id="copyPage">Copy my link</button><a class="btn-soft" href="/promote">Promo kit</a></div>'
: '<div class="hd"><h2>Your page</h2></div><p>Your page address uses your network username. Sign in through InstantAdPay or LinkSpin once and it is set.</p>';
if ($('copyPage')) $('copyPage').onclick = () => copyText(d.page, $('copyPage'));
$('copyTop').hidden = !d.page; $('copyTop').onclick = () => copyText(d.page, $('copyTop'));
// my text ad: badges, preview, the form (folded behind "Edit ad" once the ad exists)
$('adBadges').innerHTML = a ? (a.status === 'live' ? '<span class="chip live">LIVE</span>' : '<span class="chip idle">' + esc(a.status.toUpperCase()) + '</span>') + (active.length ? ' <span class="chip gold">★ BOOSTED</span>' : '') : '';
$('adPrev').innerHTML = a ? '<div class="adprev' + (active.length ? ' star' : '') + '">' + (active.length ? '<span class="tag">★ BOOSTED</span>' : '') + '<b>' + esc(a.headline) + '</b><span>' + esc(a.line1) + '</span>' + (a.line2 ? '<span>' + esc(a.line2) + '</span>' : '') + '<a href="' + esc(a.link) + '" target="_blank" rel="noopener nofollow">' + esc(a.link.replace(/^https?:\/\//, '').slice(0, 60)) + '</a></div>'
+ '<div class="row" style="margin-top:14px"><button type="button" class="btn-line" id="editAd">Edit ad</button>' + (d.page ? '<a class="btn-soft" href="' + esc(d.page) + '" target="_blank" rel="noopener">Preview my page</a>' : '') + '</div>' : '';
if (!d.netVerified) {
$('adNote').innerHTML = 'Text ads are free for network members. This wallet is not in the network yet: <a href="' + esc(d.joinUrl) + '" target="_blank" rel="noopener">join InstantAdPay free</a>, link this wallet there, then sign in here through InstantAdPay.';
$('adForm').hidden = true;
$('adForm').hidden = true; if ($('editAd')) $('editAd').hidden = true;
} else {
$('adForm').hidden = false;
if (a) { $('adHead').textContent = 'Your text ad' + (a.status !== 'live' ? ' (' + a.status + ')' : ''); $('fHead').value = a.headline; $('fL1').value = a.line1; $('fL2').value = a.line2 || ''; $('fLink').value = a.link; $('adSave').textContent = 'Save changes'; }
counter($('fHead'), $('cHead'), lim.headline); counter($('fL1'), $('cL1'), lim.line); counter($('fL2'), $('cL2'), lim.line);
$('adForm').hidden = !!a; $('adNote').hidden = !!a;
if ($('editAd')) $('editAd').onclick = () => { const h = !$('adForm').hidden; $('adForm').hidden = h; $('adNote').hidden = h; $('editAd').textContent = h ? 'Edit ad' : 'Close the editor'; if (!h) $('fHead').focus(); };
if (a) { $('adHead').textContent = 'My text ad'; $('fHead').value = a.headline; $('fL1').value = a.line1; $('fL2').value = a.line2 || ''; $('fLink').value = a.link; $('adSave').textContent = 'Save changes'; }
if (!counted) { counter($('fHead'), $('cHead'), lim.headline); counter($('fL1'), $('cL1'), lim.line); counter($('fL2'), $('cL2'), lim.line); counted = true; }
else ['fHead', 'fL1', 'fL2'].forEach(id => $(id).dispatchEvent(new Event('input')));
}
$('line').innerHTML = (d.line || []).length ? '<p class="small">The people above you in the network, nearest first. Your page shows the first five who have an ad here.</p>'
+ d.line.map(x => '<div class="kit-row"><span class="mono" style="color:var(--amber);width:84px">PLACE ' + x.depth + '</span><span style="flex:1">' + (x.username ? '@' + esc(x.username) : 'a member') + '</span><span class="pill' + (x.hasAd ? ' on' : '') + '">' + (x.hasAd ? 'ad live' : 'no ad yet') + '</span></div>').join('')
// the line: the people above, nearest first (their ads show on this member's page)
$('line').innerHTML = (d.line || []).length ? '<p class="small" style="margin:0 0 14px">The people above you in the network, nearest first. Your page shows the first five who have an ad here, and your ad shows on the page of everyone you bring in.</p><div class="lbars">'
+ d.line.map(x => '<div class="lbar' + (x.hasAd ? ' has' : '') + '"><span class="k">PLACE ' + x.depth + '</span><span class="who2"><b>' + (x.username ? '@' + esc(x.username) : 'a member') + '</b><span class="bar"><i style="width:' + (x.hasAd ? 100 : 0) + '%"></i></span></span><span class="pill' + (x.hasAd ? ' on' : '') + '">' + (x.hasAd ? 'ad live' : 'no ad yet') + '</span></div>').join('') + '</div>'
: '<p class="small">' + (d.lineOk === false ? 'The network line could not be read just now. Try again in a minute.' : 'No sponsor line is known for you in the network yet.') + '</p>';
$('boosts').innerHTML = (d.boosts || []).length ? d.boosts.map(b => '<div class="kit-row" style="flex-direction:column;align-items:stretch"><div style="display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap"><span>' + VAB.when(b.at) + ' · ' + VAB.n(b.views) + ' guaranteed views</span><span class="pill' + (b.status === 'delivered' ? ' done' : ' on') + '">' + esc(b.status.replace(/-/g, ' ')) + '</span></div>'
+ '<div class="meter"><i style="width:' + Math.min(100, Math.round(b.delivered / b.views * 100)) + '%"></i></div><span class="small muted">' + VAB.n(b.delivered) + ' of ' + VAB.n(b.views) + ' delivered' + (b.nas ? ' (' + VAB.n(b.nas) + ' through Network Ad Space)' : '') + (b.dueAt && b.status === 'delivering' ? ' · on-site until ' + VAB.when(b.dueAt) : '') + '</span></div>').join('')
: '<p class="small">No Boosts yet. A Boost is $' + (c.boost ? c.boost.usd : 5) + ' once and buys ' + VAB.n(c.boost ? c.boost.views : 500) + ' guaranteed network views for your ad.</p>';
const ex = c.explorer || 'https://polygonscan.com';
$('earned').innerHTML = (d.earned && d.earned.items.length) ? d.earned.items.map(x => '<div class="kit-row"><span class="small">' + VAB.when(x.at) + '</span><span style="flex:1">Level ' + x.level + ' share from ' + (x.buyerName ? '@' + esc(x.buyerName) : 'a Boost') + (x.failed ? ' (waiting in the contract for you to claim)' : '') + '</span><b class="mono">' + VAB.polOf(x.wei) + ' POL</b><a class="small" href="' + esc(ex) + '/tx/' + esc(x.tx) + '" target="_blank" rel="noopener">verify</a></div>').join('')
// Boosts: the ring for the Boost being delivered now, then every Boost with its delivery
const ring = b => { const pct = Math.min(100, Math.round((b.delivered || 0) / b.views * 100)); return '<div class="ring"><svg width="96" height="96" viewBox="0 0 36 36" role="img" aria-label="' + VAB.n(b.delivered) + ' of ' + VAB.n(b.views) + ' views delivered"><circle cx="18" cy="18" r="15.9" fill="none" stroke="#23409F" stroke-width="3.5"/><circle cx="18" cy="18" r="15.9" fill="none" stroke="#3D8BFF" stroke-width="3.5" stroke-dasharray="' + pct + ' 100" pathLength="100" transform="rotate(-90 18 18)"/></svg><div><b>' + VAB.n(b.delivered) + ' / ' + VAB.n(b.views) + '</b><span>views delivered on your active Boost</span></div></div>'; };
$('boosts').innerHTML = (boosts.length ? (active.length ? ring(active[active.length - 1]) : '')
+ '<div class="bl">' + boosts.map(b => '<div style="flex-direction:column;align-items:stretch"><div style="display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap"><span>' + VAB.when(b.at) + ' · ' + VAB.n(b.views) + ' guaranteed views</span><span class="pill' + (b.status === 'delivered' ? ' done' : ' on') + '">' + esc(b.status.replace(/-/g, ' ')) + '</span></div>'
+ '<div class="meter"><i style="width:' + Math.min(100, Math.round(b.delivered / b.views * 100)) + '%"></i></div><span>' + VAB.n(b.delivered) + ' of ' + VAB.n(b.views) + ' delivered' + (b.nas ? ' (' + VAB.n(b.nas) + ' through Network Ad Space)' : '') + (b.dueAt && b.status === 'delivering' ? ' · on-site until ' + VAB.when(b.dueAt) : '') + '</span></div>').join('') + '</div>'
+ '<p class="small">Anything not delivered on ViralAdBlitz in ' + (c.deliverDays || 30) + ' days is finished through Network Ad Space.</p>'
: '<h2>No Boost yet</h2><p class="small">A Boost is $' + (c.boost ? c.boost.usd : 5) + ' once and buys ' + VAB.n(c.boost ? c.boost.views : 500) + ' guaranteed network views for your ad, plus a starred spot on the ticker.</p>');
$('boostMore').textContent = boosts.length ? 'Add another Boost, $' + (c.boost ? c.boost.usd : 5) : 'Boost my ad, $' + (c.boost ? c.boost.usd : 5);
// recent activity: real events only (payouts to this wallet, this member's Boosts, the ad going live)
const ev = [];
for (const x of (d.earned && d.earned.items) || []) ev.push({ at: x.at, cls: 'red', h: 'Level ' + x.level + ' paid you ' + VAB.polOf(x.wei) + ' POL', s: (x.buyerName ? '@' + esc(x.buyerName) : 'Someone in your team') + ' bought a Boost' + (x.failed ? ' (waiting in the contract for you to claim)' : '') + ' · ' + vlink(x.tx) });
for (const b of boosts) ev.push({ at: b.at, cls: 'gold', h: 'You bought a Boost', s: VAB.n(b.views) + ' guaranteed views · ' + esc(b.status.replace(/-/g, ' ')) });
if (a && a.createdAt) ev.push({ at: a.createdAt, cls: '', h: 'Your text ad went live', s: 'On your page and your team\'s pages' });
ev.sort((x, y) => (y.at || 0) - (x.at || 0));
$('acts').innerHTML = ev.length ? ev.slice(0, 6).map(e => '<div class="act ' + e.cls + '"><i></i><div><b>' + e.h + '</b><span>' + VAB.when(e.at) + ' · ' + e.s + '</span></div></div>').join('') : '<p class="small">Nothing yet. Post your free text ad to get started.</p>';
// what the contract paid
$('earned').innerHTML = (d.earned && d.earned.items.length) ? d.earned.items.map(x => '<div class="lrow"><span class="small muted">' + VAB.when(x.at) + '</span><span style="flex:1;min-width:140px">Level ' + x.level + ' share from ' + (x.buyerName ? '@' + esc(x.buyerName) : 'a Boost') + (x.failed ? ' (waiting in the contract for you to claim)' : '') + '</span><b class="mono">' + VAB.polOf(x.wei) + ' POL</b><span class="small">' + vlink(x.tx) + '</span></div>').join('')
: '<p class="small">Nothing yet. The contract pays a level share in the same transaction when someone in your team buys a Boost, if you have bought one yourself. Advertising, not income. Nothing is promised.</p>';
}
$('adForm').addEventListener('submit', async e => {
+329 -145
View File
@@ -1,196 +1,380 @@
/* ViralAdBlitz: the stock-ticker newsroom look (mockup approved by Marty 2026-11-14, canvas BRddgcFA8wbTKbHiWc8sjk).
Deep ink-green ground, glowing amber ticker, newsprint cream cards, Playfair Display headlines, IBM Plex Mono figures + IBM Plex Sans text.
/* ViralAdBlitz: "daylight cyberpunk" in Marty's colors (mockup approved by Marty 2026-11-14, "This looks good. Run with it").
Light blue-white ground, white clipped-corner cards, deep royal bands + ticker, hero panel royal blue, red primary CTA,
gold for Boost / starred / boosted, electric blue accents, purple as a minor accent, green check circles.
Barlow Condensed italic for the big slanted display type, Chakra Petch headings + numbers, Inter body, JetBrains Mono labels.
Its own look: not DLB ultraviolet, not VBB pop-art, not IAP mint, not LinkSpin. Class names are neutral (no ad/banner words). */
:root{
--bg:#0a1712; --bg2:#07110d; --panel:#0f2219; --line:#1f3a2d; --line2:#3a5a49;
--amber:#ffb000; --amber2:#ffd166; --cream:#f4efe3; --paper-ink:#13201a; --paper-sub:#4b6355; --paper-gold:#7a5a00;
--green:#0b5d3b; --green2:#0e7a4d; --text:#e8efe9; --sub:#b9c8bd; --muted:#8fa89a; --nav:#c9d6cd; --bad:#ff7a6b; --good:#6fe3a6;
--disp:'Playfair Display',Georgia,'Times New Roman',serif; --mono:'IBM Plex Mono',ui-monospace,Menlo,Consolas,monospace; --body:'IBM Plex Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
--bg:#EAF0FF; --card:#FFFFFF; --line:#C9D6F5; --line2:#DCE5FA; --tint:#E1EBFF; --gtint:#FFF3CC; --gpale:#FFFBEA;
--ink:#0A1F6B; --ink2:#2A3A6E; --sub:#3E4C7A; --royal:#0A1F6B; --royal2:#12308F; --royal3:#23409F; --hero:#0A2FA8; --shadow:#061A66;
--red:#E3141E; --red-d:#8E0C12; --link:#C4111A; --gold:#FFC21A; --gold-d:#8A5A00; --gold-ink:#7A5B00;
--blue:#1F66FF; --blue2:#3D8BFF; --blue-ink:#1546D6; --blue-dk:#0F3AB8; --on-dark:#D3DEFF; --on-dark2:#9DBEFF; --blue-on-dark:#7DB2FF;
--purple:#6B2BD9; --green:#16B85A; --green-ink:#0B6B37; --green-tint:#E3F7EC;
--disp:'Barlow Condensed','Chakra Petch','Arial Narrow',sans-serif; --head:'Chakra Petch',system-ui,sans-serif;
--body:Inter,system-ui,-apple-system,'Segoe UI',sans-serif; --mono:'JetBrains Mono',ui-monospace,Menlo,Consolas,monospace;
--cut:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,14px 100%,0 calc(100% - 14px));
--cuts:polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,8px 100%,0 calc(100% - 8px));
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font:16px/1.55 var(--body);min-height:100vh;overflow-x:hidden}
a{color:var(--amber)} a:hover{color:var(--amber2)}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 var(--body);min-height:100vh;overflow-x:hidden}
a{color:var(--link)} a:hover{color:var(--red-d)}
img{max-width:100%}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}
@media (max-width:600px){.wrap{padding:0 16px}}
.mono{font-family:var(--mono)} .muted{color:var(--muted)} .small{font-size:13.5px} .sub{color:var(--sub)}
h1,h2,h3{font-family:var(--disp);color:var(--cream);line-height:1.08;margin:0}
h1{font-weight:900;font-size:clamp(36px,6.4vw,64px);letter-spacing:-.5px}
h2{font-size:clamp(26px,3.6vw,34px);font-weight:700}
h3{font-size:22px;font-weight:700}
main{padding:40px 0 56px;display:flex;flex-direction:column;gap:44px}
main.wrap{padding-top:40px}
.mono{font-family:var(--mono)} .muted{color:var(--sub)} .small{font-size:13.5px} .sub{color:var(--ink2)}
h1,h2,h3{font-family:var(--head);color:var(--ink);line-height:1.1;margin:0;font-weight:700}
h1{font-size:clamp(32px,5vw,48px)}
h2{font-size:clamp(26px,3.4vw,34px)}
h3{font-size:22px}
main{padding:40px 0 64px;display:flex;flex-direction:column;gap:48px}
main.wrap{padding-top:40px;padding-bottom:64px}
@media (max-width:600px){main{gap:36px;padding-top:24px}main.wrap{padding-top:24px;padding-bottom:48px}}
section{min-width:0}
.cut{clip-path:var(--cut)} .cuts{clip-path:var(--cuts)}
/* top bar */
nav.top{border-bottom:1px solid var(--line);background:var(--bg2)}
nav.top .wrap{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding-top:14px;padding-bottom:14px}
.brand{display:flex;align-items:baseline;gap:10px;margin-right:auto;text-decoration:none}
.brand .wm{font-family:var(--disp);font-weight:900;font-size:28px;color:var(--cream);letter-spacing:-.5px}
.brand .live{font:600 12px var(--mono);color:var(--amber);border:1px solid var(--amber);padding:2px 6px;letter-spacing:1px}
nav.top .links{display:flex;gap:16px;flex-wrap:wrap;font-size:14px}
nav.top .links a{color:var(--nav);text-decoration:none;padding:4px 0;border-bottom:2px solid transparent}
nav.top .links a:hover,nav.top .links a.on{color:var(--cream);border-bottom-color:var(--amber)}
.cta{background:var(--amber);color:#1a1200;font-weight:600;padding:12px 18px;text-decoration:none;font-size:14px;border:0;cursor:pointer;display:inline-block;font-family:var(--body)}
.cta:hover{background:var(--amber2);color:#1a1200}
@media (max-width:760px){nav.top .links{width:100%;order:3;gap:14px;overflow-x:auto;white-space:nowrap;flex-wrap:nowrap;padding-bottom:2px}.brand .wm{font-size:24px}}
nav.top{background:var(--card);border-bottom:1px solid var(--line)}
nav.top .wrap{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding-top:14px;padding-bottom:14px}
.brand{display:flex;align-items:center;gap:10px;margin-right:auto;text-decoration:none;color:var(--ink)}
.brand:hover{color:var(--ink)}
.brand .mk{width:34px;height:34px;background:var(--royal);display:flex;align-items:center;justify-content:center;clip-path:var(--cuts);flex:0 0 auto}
.brand .wm{font-family:var(--head);font-weight:700;font-size:22px;letter-spacing:.5px;line-height:1}
.brand .wm b{color:var(--red);font-weight:700}
nav.top .links{display:flex;gap:4px;flex-wrap:wrap;font-size:15px}
nav.top .links a{color:var(--ink);text-decoration:none;padding:10px 12px;font-weight:500;border-bottom:3px solid transparent}
nav.top .links a:hover{color:var(--blue-ink)}
nav.top .links a.on{border-bottom-color:var(--red);font-weight:600}
@media (max-width:860px){nav.top .links{width:100%;order:3;overflow-x:auto;white-space:nowrap;flex-wrap:nowrap;margin:0 -12px;width:calc(100% + 24px)}}
@media (max-width:420px){.brand .wm{font-size:19px}nav.top .cta{padding:10px 12px;font-size:13px}}
/* the amber ticker */
.ticker{background:#000;border-bottom:2px solid var(--amber);overflow:hidden;white-space:nowrap;font:15px var(--mono);color:var(--amber);position:relative}
.ticker .run{display:inline-block;padding:12px 0;animation:vabtick var(--tick-s,60s) linear infinite;will-change:transform}
/* buttons */
.cta{background:var(--gold);color:var(--ink);font-weight:600;padding:12px 18px;text-decoration:none;font-size:14px;border:0;cursor:pointer;display:inline-block;font-family:var(--body);clip-path:var(--cuts);line-height:1.3}
.cta:hover{background:#FFD24D;color:var(--ink)}
.btn-red{background:var(--red);color:#fff;font-weight:700;padding:14px 22px;text-decoration:none;font-size:16px;border:0;cursor:pointer;display:inline-block;font-family:var(--body);clip-path:var(--cuts);line-height:1.3}
.btn-red:hover{background:#C70F18;color:#fff}
.btn-gold{background:var(--gold);color:var(--ink);font-weight:700;padding:14px 22px;text-decoration:none;font-size:16px;border:0;cursor:pointer;display:inline-block;font-family:var(--body);clip-path:var(--cuts);line-height:1.3;text-align:center}
.btn-gold:hover{background:#FFD24D;color:var(--ink)}
.btn-red:disabled,.btn-gold:disabled{opacity:.55;cursor:not-allowed}
.btn-line{border:2px solid var(--ink);color:var(--ink);padding:10px 16px;text-decoration:none;font-size:14px;font-weight:600;background:var(--card);cursor:pointer;display:inline-block;font-family:var(--body);clip-path:var(--cuts);line-height:1.3}
.btn-line:hover{background:var(--tint);color:var(--ink)}
.btn-soft{border:0;color:var(--blue-dk);padding:12px 16px;text-decoration:none;font-size:14px;font-weight:600;background:var(--tint);cursor:pointer;display:inline-block;font-family:var(--body);clip-path:var(--cuts);line-height:1.3}
.btn-soft:hover{background:#D2E0FF;color:var(--blue-dk)}
.btn-quiet{border:1px solid var(--line);color:var(--ink2);padding:10px 14px;background:var(--card);cursor:pointer;font-family:var(--body);font-size:14px;text-decoration:none;display:inline-block}
.btn-quiet:hover{border-color:var(--ink);color:var(--ink)}
.on-dark .btn-line,.btn-line.light{background:transparent;border-color:#fff;color:#fff}
.on-dark .btn-line:hover,.btn-line.light:hover{background:rgba(255,255,255,.12);color:#fff}
/* the big red pill: white border, chevrons */
.pill-cta{display:inline-block;white-space:nowrap;background:var(--red);color:#fff;border:4px solid #fff;border-radius:999px;padding:12px 26px;text-align:center;text-decoration:none;font-family:var(--disp);font-weight:800;font-style:italic;font-size:clamp(21px,2.5vw,30px);text-transform:uppercase;line-height:1.1;box-shadow:0 6px 0 var(--red-d);cursor:pointer}
.pill-cta:hover{color:#fff;background:#F01B26;transform:translateY(1px);box-shadow:0 5px 0 var(--red-d)}
.pill-cta .chev{letter-spacing:-2px;margin-left:6px}
/* the ticker: royal ground, gold stars for Boosted */
.ticker{background:var(--royal);border-bottom:3px solid var(--blue2);overflow:hidden;white-space:nowrap;font:14px var(--mono);color:#E9FBFF;position:relative}
.ticker .run{display:inline-block;padding:10px 0;animation:vabtick var(--tick-s,60s) linear infinite;will-change:transform}
.ticker:hover .run{animation-play-state:paused}
.ticker a{color:var(--amber);text-decoration:none;padding:0 26px}
.ticker a:hover{color:var(--amber2);text-decoration:underline}
.ticker a.star{color:#fff}
.ticker a.star b{color:var(--amber)}
.ticker .empty{padding:12px 24px;display:inline-block;color:var(--muted)}
.ticker a{color:#E9FBFF;text-decoration:none;padding:0 18px}
.ticker a i{font-style:normal;color:var(--blue-on-dark);font-weight:700}
.ticker a:hover{color:#fff;text-decoration:underline}
.ticker a.star b{color:var(--gold);font-weight:700}
.ticker .empty{padding:10px 24px;display:inline-block;color:var(--on-dark)}
@keyframes vabtick{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.ticker .run{animation:none}.ticker{overflow-x:auto}}
/* hero */
.hero{display:flex;flex-wrap:wrap;gap:40px;align-items:flex-end}
.hero .copy{flex:999 1 560px;min-width:0}
.kicker{margin:0 0 12px;font:600 13px var(--mono);color:var(--amber);letter-spacing:2px;text-transform:uppercase}
.lead{margin:20px 0 0;font-size:19px;line-height:1.55;color:var(--sub);max-width:660px}
/* labels */
.kicker{margin:0 0 10px;font:700 12px var(--mono);color:var(--blue-ink);letter-spacing:2px;text-transform:uppercase}
.lead{margin:16px 0 0;font-size:18px;line-height:1.55;color:var(--ink2);max-width:680px}
.row{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:20px}
.wirebox{flex:1 1 300px;border:1px solid var(--line);background:var(--panel);padding:20px;display:flex;flex-direction:column;gap:12px}
.wirebox .lab{font:12px var(--mono);color:var(--muted);letter-spacing:1px}
.wirebox .kv{display:flex;justify-content:space-between;border-bottom:1px dashed var(--line);padding-bottom:8px}
.wirebox .kv:last-child{border-bottom:0;padding-bottom:0}
.wirebox .kv b{font-family:var(--mono);color:var(--amber)}
.shead{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:20px}
.shead .side{font-size:14px;color:var(--sub)}
.sortg{display:flex;background:var(--card);border:1px solid var(--line);padding:4px;gap:4px;flex-wrap:wrap}
.sortg button{padding:9px 14px;border:0;background:transparent;color:var(--ink2);font:600 13px var(--body);cursor:pointer}
.sortg button.on{background:var(--royal);color:#fff}
.chip{display:inline-block;padding:4px 10px;font-weight:600;font-size:13px;font-family:var(--body);white-space:nowrap}
.chip.red{background:var(--gtint);color:var(--link)} .chip.blue{background:var(--tint);color:var(--blue-dk)}
.chip.live{background:var(--green-tint);color:var(--green-ink);font-size:12px;font-weight:700;display:inline-flex;align-items:center;gap:6px}
.chip.live:before{content:'';width:7px;height:7px;border-radius:50%;background:#16C060}
.chip.gold{background:var(--gold);color:var(--ink);font-size:12px;font-weight:700}
.chip.idle{background:var(--tint);color:var(--ink2);font-size:12px;font-weight:700}
/* section heads */
.shead{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px;border-bottom:3px double var(--line2);padding-bottom:10px;margin-bottom:16px}
.shead .side{font:13px var(--mono);color:var(--muted)}
section{min-width:0}
/* the royal-blue hero panel (front page, Boost, member page, page heads) */
.panel{background:var(--hero);color:#fff;position:relative;overflow:hidden;clip-path:var(--cut)}
.panel>*{position:relative}
.panel>.netlines{position:absolute;inset:0;width:100%;height:100%;opacity:.22;pointer-events:none}
.panel a:not([class]){color:#fff}
.hx{padding:clamp(22px,4vw,44px);display:flex;flex-wrap:wrap;gap:32px;align-items:center}
.hx-copy{flex:999 1 480px;min-width:0;display:flex;flex-direction:column;gap:18px}
.hx-art{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:16px}
h1.slant{font-family:var(--disp);font-weight:800;font-style:italic;text-transform:uppercase;line-height:.92;display:flex;flex-direction:column;gap:4px;color:#fff}
h1.slant .l1{font-size:clamp(40px,6vw,76px);text-shadow:3px 3px 0 var(--shadow);overflow-wrap:anywhere}
h1.slant .l2{font-size:clamp(44px,7.4vw,96px);color:var(--gold);text-shadow:3px 3px 0 var(--gold-d),6px 6px 0 var(--shadow);overflow-wrap:anywhere}
.slant.sm .l1{font-size:clamp(36px,4.6vw,60px)} .slant.sm .l2{font-size:clamp(38px,5.2vw,68px)}
.ribbon{align-self:flex-start;background:var(--red);color:#fff;font-family:var(--disp);font-weight:800;font-style:italic;font-size:clamp(19px,2.4vw,26px);text-transform:uppercase;padding:8px 22px;box-shadow:4px 4px 0 var(--shadow);transform:skewX(-12deg);line-height:1.15;max-width:100%}
.ribbon>span{display:inline-block;transform:skewX(12deg)}
.checks{margin:6px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.checks li{display:flex;align-items:center;gap:12px;line-height:1.2}
.checks svg{flex:0 0 auto}
.checks.slant li{font-family:var(--disp);font-weight:700;font-size:21px;text-transform:uppercase}
.checks em{font-style:normal;color:var(--gold)}
.checks.plain li{font-size:15px;align-items:flex-start} .checks.plain svg{margin-top:-2px}
.rise{position:relative;height:120px;display:flex;align-items:flex-end;gap:8px;justify-content:flex-end}
.rise span{width:22px;flex:0 0 auto}
.rise svg{position:absolute;inset:0;width:100%;height:100%}
.screens{display:flex;align-items:flex-end;gap:10px}
.screen{flex:1;padding:12px 8px;text-align:center;display:flex;flex-direction:column;gap:3px;clip-path:var(--cuts);color:#fff;min-width:0}
.screen b{font-family:var(--disp);font-weight:800;font-style:italic;font-size:22px;line-height:1}
.screen span{font-size:11px;font-weight:700}
.screen.l1{background:var(--blue);border:3px solid var(--on-dark2)}
.screen.l5{background:var(--purple);border:3px solid #C7A8FF}
.glow{flex:1.35;filter:drop-shadow(0 0 16px rgba(255,194,26,.6));min-width:0;display:flex}
.screen.you{background:var(--gold);color:var(--ink);border:3px solid #fff;padding:20px 8px;width:100%}
.screen.you b{font-size:32px} .screen.you span{font-size:12px}
.gchips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.gchip{background:var(--gold);color:var(--ink);padding:10px;display:flex;align-items:center;gap:8px;clip-path:var(--cuts);min-width:0}
.gchip svg{flex:0 0 auto}
.gchip>span{display:flex;flex-direction:column;line-height:1;min-width:0}
.gchip b{font-family:var(--disp);font-size:22px;font-style:italic;font-weight:800;white-space:nowrap}
.gchip i{font-style:normal;font-size:10px;font-weight:700;margin-top:2px}
@media (max-width:460px){.gchip svg{display:none}.gchip b{font-size:19px}.gchip{padding:9px 8px}}
.hx-cta{display:flex;flex-wrap:wrap;align-items:center;gap:14px}
.hx-cta .pill-cta{flex:1 1 auto}
@media (max-width:420px){.pill-cta{padding:10px 18px}}
.slant-note{font-family:var(--disp);font-weight:700;font-style:italic;font-size:18px;text-transform:uppercase;line-height:1.1}
/* newsprint ad cards */
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
@media (max-width:900px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* compact page heads (ledger, contract, promote, legal, admin) */
.hero{padding:clamp(22px,3.6vw,36px)}
.hero h1{color:#fff;font-size:clamp(32px,4.6vw,46px)}
.hero .kicker{color:var(--gold)}
.hero .lead{color:#E3EBFF}
.hero .muted{color:var(--on-dark)}
/* white clipped cards */
.card{background:var(--card);border:1px solid var(--line);padding:22px;min-width:0;clip-path:var(--cut)}
.card h2,.card h3{margin-bottom:10px}
.card h2{font-size:clamp(22px,2.6vw,26px)}
.card p{color:var(--ink2)}
.card p:last-child{margin-bottom:0}
.band{background:var(--royal);color:#fff;clip-path:var(--cut);padding:32px;display:flex;flex-wrap:wrap;gap:24px;align-items:center}
.band h2,.band h3{color:#fff}
.band .lab{font:700 12px var(--mono);letter-spacing:2px;color:var(--blue-on-dark)}
.band p{margin:0;color:var(--on-dark);line-height:1.5}
.band .txt{flex:999 1 420px;min-width:0;display:flex;flex-direction:column;gap:8px}
@media (max-width:600px){.band{padding:24px 20px}}
.lvlbars{display:flex;gap:6px;flex:1 1 300px;min-width:0}
.lvlbars div{flex:1;display:flex;flex-direction:column;gap:6px;align-items:center;min-width:0}
.lvlbars div span{width:100%;height:40px;background:var(--blue2)}
.lvlbars b{font:700 12px var(--mono);white-space:nowrap}
@media (max-width:420px){.lvlbars b{font-size:10.5px}}
/* text ad cards */
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
@media (max-width:600px){.cards{grid-template-columns:minmax(0,1fr)}}
.paper{background:var(--cream);color:var(--paper-ink);padding:18px;border-top:6px solid var(--line2);display:flex;flex-direction:column;gap:8px;min-width:0}
.paper.star{border-top-color:var(--amber)}
.paper .tag{font:11px var(--mono);color:var(--paper-sub);letter-spacing:1px;text-transform:uppercase}
.paper.star .tag{color:var(--paper-gold)}
.paper h3{color:var(--paper-ink);font-size:22px;overflow-wrap:anywhere}
.paper p{margin:0;font-size:15px;line-height:1.45;overflow-wrap:anywhere}
.paper .visit{color:var(--green);font-weight:600;font-size:14px;margin-top:auto}
.paper .visit:hover{color:var(--green2)}
.paper .host{font:12px var(--mono);color:var(--paper-sub)}
.paper.big{padding:32px;border-top-width:8px;border-top-color:var(--amber)}
.paper.big h1{color:var(--paper-ink);font-size:clamp(32px,5.2vw,52px);line-height:1.05;overflow-wrap:anywhere}
.paper.big p{font-size:20px;line-height:1.5;max-width:720px}
.btn-green{background:var(--green);color:#fff;font-weight:600;padding:14px 22px;text-decoration:none;font-size:16px;border:0;cursor:pointer;display:inline-block;font-family:var(--body)}
.btn-green:hover{background:var(--green2);color:#fff}
.btn-green:disabled{opacity:.55;cursor:not-allowed}
.btn-line{border:1px solid var(--amber);color:var(--amber);padding:10px 14px;text-decoration:none;font-size:14px;background:transparent;cursor:pointer;display:inline-block;font-family:var(--body)}
.btn-line:hover{background:rgba(255,176,0,.08);color:var(--amber2)}
.btn-quiet{border:1px solid var(--line2);color:var(--sub);padding:10px 14px;background:transparent;cursor:pointer;font-family:var(--body);font-size:14px;text-decoration:none;display:inline-block}
.paper{background:var(--card);border:1px solid var(--line);padding:22px;display:flex;flex-direction:column;gap:10px;min-width:0;clip-path:var(--cut);box-shadow:0 0 0 2px var(--blue2) inset}
.paper.star{box-shadow:0 0 0 2px var(--gold) inset,0 0 0 6px var(--gpale) inset}
.paper .top{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.paper .tag{font:700 12px var(--mono);color:var(--blue-ink);letter-spacing:.5px;text-transform:uppercase}
.paper.star .tag{color:var(--link)}
.paper .cl{font-size:12px;color:var(--sub);font-weight:600}
.paper h3{font-size:22px;line-height:1.15;overflow-wrap:anywhere}
.paper p{margin:0;color:var(--ink2);line-height:1.5;overflow-wrap:anywhere}
.paper .foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:auto;padding-top:4px;flex-wrap:wrap}
.paper .visit{font-weight:600;font-size:15px;overflow-wrap:anywhere}
.paper .host{font-size:13px;color:var(--sub)}
.paper.big{background:var(--hero);color:#fff;border:0;padding:clamp(24px,4vw,44px);gap:14px;box-shadow:none;position:relative;overflow:hidden}
.paper.big>*{position:relative}
.paper.big>.netlines{position:absolute;inset:0;width:100%;height:100%;opacity:.22;pointer-events:none}
.paper.big.star{box-shadow:0 0 0 4px var(--gold) inset}
.paper.big .tag{color:var(--gold)}
.paper.big h1{color:#fff;font-size:clamp(32px,5vw,52px);line-height:1.05;overflow-wrap:anywhere;text-shadow:3px 3px 0 var(--shadow)}
.paper.big p{font-size:clamp(17px,2vw,20px);line-height:1.5;max-width:760px;color:#E3EBFF}
.paper.big .host{color:var(--on-dark)}
/* member page: the five-level rows */
.levels{display:flex;flex-direction:column;gap:10px}
.lvl{display:flex;gap:16px;align-items:center;border:1px solid var(--line);background:var(--panel);padding:16px 20px;flex-wrap:wrap}
.lvl .no{font:13px var(--mono);color:var(--amber);width:84px;flex:0 0 auto}
.lvl .txt{flex:999 1 400px;min-width:0}
.lvl .txt b{font-family:var(--disp);font-size:20px;color:var(--cream);overflow-wrap:anywhere}
.lvl .txt div{color:var(--sub);font-size:15px;overflow-wrap:anywhere}
.lvl.star{border-color:var(--amber)}
.lvl.open .txt b{color:var(--muted)}
.joinbar{background:var(--panel);border:1px solid var(--amber);padding:24px;display:flex;flex-wrap:wrap;gap:20px;align-items:center}
.joinbar .txt{flex:999 1 480px;min-width:0}
.joinbar b{font-family:var(--disp);font-size:26px;color:var(--cream)}
.joinbar p{margin:8px 0 0;color:var(--sub)}
.lvl{display:flex;gap:16px;align-items:center;background:var(--card);border:1px solid var(--line);padding:16px 20px;flex-wrap:wrap;clip-path:var(--cut)}
.lvl .no{font:700 12px var(--mono);color:#fff;background:var(--royal);padding:8px 10px;flex:0 0 auto;clip-path:var(--cuts);letter-spacing:.5px;min-width:84px;text-align:center}
.lvl .txt{flex:999 1 380px;min-width:0}
.lvl .txt b{font-family:var(--head);font-size:20px;color:var(--ink);overflow-wrap:anywhere;line-height:1.2}
.lvl .txt div{color:var(--ink2);font-size:15px;overflow-wrap:anywhere}
.lvl.star{box-shadow:0 0 0 2px var(--gold) inset;background:var(--gpale)}
.lvl.star .no{background:var(--gold);color:var(--ink)}
.lvl.open{background:transparent;border-style:dashed}
.lvl.open .no{background:var(--tint);color:var(--blue-dk)}
.lvl.open .txt b{color:var(--sub)}
.joinbar{background:var(--royal);color:#fff;clip-path:var(--cut);padding:28px;display:flex;flex-wrap:wrap;gap:20px;align-items:center}
.joinbar .txt{flex:999 1 460px;min-width:0}
.joinbar b{font-family:var(--disp);font-weight:800;font-style:italic;text-transform:uppercase;font-size:clamp(28px,3.6vw,38px);line-height:1;color:#fff}
.joinbar p{margin:10px 0 0;color:var(--on-dark)}
.joinbar .pill-cta{font-size:clamp(20px,2.4vw,26px);padding:10px 22px}
/* steps, stats, boxes */
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
@media (max-width:760px){.steps{grid-template-columns:minmax(0,1fr)}}
.step{border:1px solid var(--line);padding:20px;display:flex;flex-direction:column;gap:8px}
.step .n{font-family:var(--disp);font-size:40px;color:var(--amber);line-height:1}
.step b{font-size:17px} .step span{color:var(--sub)}
.splits{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;font-family:var(--mono)}
/* steps, stats, splits */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.step{background:var(--card);border:1px solid var(--line);padding:24px;display:flex;flex-direction:column;gap:10px;clip-path:var(--cut)}
.step .n{width:44px;height:44px;display:flex;align-items:center;justify-content:center;font:700 20px var(--head);clip-path:var(--cuts)}
.step:nth-child(1) .n{background:var(--tint);color:var(--blue-ink)} .step:nth-child(2) .n{background:var(--gtint);color:var(--link)} .step:nth-child(3) .n{background:#FFF6CC;color:var(--gold-ink)}
.step b{font-size:18px;font-weight:600} .step span:not(.n){color:var(--ink2);line-height:1.5}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
@media (max-width:600px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
.stat{background:var(--card);border:1px solid var(--line);padding:16px;display:flex;flex-direction:column;gap:4px;min-width:0;clip-path:var(--cut)}
.stat span{font-size:13px;color:var(--sub);font-weight:500;order:1}
.stat b{font:700 30px var(--head);color:var(--ink);overflow-wrap:anywhere;order:2;line-height:1.15}
.stat em{font-style:normal;font-size:13px;color:var(--blue-ink);font-weight:600;order:3}
.stat.red b{color:var(--red)} .stat.blue b{color:var(--blue-ink)}
.stat.dark{background:var(--royal);border-color:var(--royal)} .stat.dark span{color:var(--on-dark)} .stat.dark b{color:var(--gold)} .stat.dark em{color:var(--on-dark2)}
@media (max-width:600px){.stat b{font-size:24px}}
.splits{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
@media (max-width:900px){.splits{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:420px){.splits{grid-template-columns:repeat(2,minmax(0,1fr))}}
.split{border:1px solid var(--line);padding:16px;display:flex;flex-direction:column;gap:6px;min-width:0}
.split span{color:var(--muted);font-size:12px} .split b{color:var(--amber);font-size:26px} .split i{color:var(--sub);font-size:12px;font-style:normal}
.split.co{border-color:var(--line2);background:var(--panel)} .split.co b{color:var(--cream)}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
@media (max-width:760px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
.stat{border:1px solid var(--line);background:var(--panel);padding:14px;display:flex;flex-direction:column;gap:4px;min-width:0}
.stat b{font:600 22px var(--mono);color:var(--amber);overflow-wrap:anywhere} .stat span{color:var(--sub);font-size:13px}
.box{background:var(--panel);border:1px solid var(--line);padding:24px;display:flex;flex-wrap:wrap;gap:24px;align-items:center}
.split{background:var(--card);border:1px solid var(--line);padding:16px;display:flex;flex-direction:column;gap:6px;min-width:0;clip-path:var(--cut);border-top:6px solid var(--blue2)}
.split span{font:700 12px var(--mono);color:var(--blue-ink)} .split b{font:700 30px var(--head);color:var(--ink)} .split i{color:var(--sub);font-size:13px;font-style:normal}
.split.co{background:var(--royal);border-color:var(--royal);border-top-color:var(--gold)} .split.co span{color:var(--blue-on-dark)} .split.co b{color:var(--gold)} .split.co i{color:var(--on-dark)}
.box{background:var(--card);border:1px solid var(--line);padding:24px;display:flex;flex-wrap:wrap;gap:24px;align-items:center;clip-path:var(--cut);border-left:6px solid var(--blue)}
.box .txt{flex:999 1 480px;min-width:0;display:flex;flex-direction:column;gap:8px}
.box .lab{font:12px var(--mono);color:var(--amber);letter-spacing:1px}
.box .big{font-family:var(--disp);font-size:26px;color:var(--cream);font-weight:700;line-height:1.2}
.box .addr{font:14px var(--mono);color:var(--sub);word-break:break-all}
.card{background:var(--panel);border:1px solid var(--line);padding:22px;min-width:0}
.card h2,.card h3{margin-bottom:10px}
.card p{color:var(--sub)}
.card p:last-child{margin-bottom:0}
.price{flex:1 1 320px;background:var(--cream);color:var(--paper-ink);padding:28px;border-top:8px solid var(--amber);display:flex;flex-direction:column;gap:14px}
.price .lab{font:12px var(--mono);color:var(--paper-gold);letter-spacing:1px}
.price .amt{font-family:var(--disp);font-size:48px;font-weight:900;line-height:1}
.price .pol{font:14px var(--mono);color:var(--paper-sub)}
.price ul{margin:0;padding-left:18px;line-height:1.7;font-size:15px}
.price .qty{display:flex;gap:10px;align-items:center;font-size:14px}
.price select{font:15px var(--mono);padding:8px;border:1px solid var(--paper-sub);background:#fff;color:var(--paper-ink)}
.box .lab{font:700 12px var(--mono);color:var(--blue-ink);letter-spacing:2px}
.box .big{font-family:var(--head);font-size:clamp(20px,2.6vw,26px);color:var(--ink);font-weight:700;line-height:1.2}
.box .addr{font:14px var(--mono);color:var(--ink2);word-break:break-all}
.box .sub{line-height:1.5}
/* Boost price card */
.price{flex:1 1 340px;background:var(--card);color:var(--ink);padding:28px;border-top:8px solid var(--gold);display:flex;flex-direction:column;gap:14px;clip-path:var(--cut);min-width:0}
.price .lab{font:700 12px var(--mono);color:var(--blue-ink);letter-spacing:2px}
.price .amt{font:700 60px var(--head);line-height:1}
.price .pol{font:14px var(--mono);color:var(--sub)}
.price .qty{display:flex;gap:10px;align-items:center;font-size:14px;font-weight:600}
.price select{font:15px var(--mono);padding:9px;border:2px solid var(--ink);background:#fff;color:var(--ink)}
.price .checks li{color:var(--ink)}
.price .small{color:var(--sub)}
/* tables (ledger) */
.tscroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
table.t{width:100%;border-collapse:collapse;font:14px var(--mono)}
table.t th{padding:10px 8px;border-bottom:1px solid var(--line);color:var(--muted);text-align:left;font-weight:400;white-space:nowrap}
table.t td{padding:10px 8px;border-bottom:1px dashed var(--line);vertical-align:top}
table.t td.ev{color:var(--amber)}
table.facts th{width:30%;color:var(--muted);font-weight:400;text-align:left;vertical-align:top;padding:10px 8px;border-bottom:1px dashed var(--line)}
table.facts td{padding:10px 8px;border-bottom:1px dashed var(--line);overflow-wrap:anywhere}
@media (max-width:600px){table.t{font-size:12.5px}table.facts th{width:38%}}
.tscroll{overflow-x:auto;-webkit-overflow-scrolling:touch;background:var(--card);border:1px solid var(--line)}
table.t{width:100%;border-collapse:collapse;font-size:14px}
table.t th{padding:12px 16px;background:var(--bg);color:var(--sub);text-align:left;font:700 12px var(--mono);white-space:nowrap;letter-spacing:.5px}
table.t td{padding:12px 16px;border-top:1px solid var(--line2);vertical-align:top}
table.t td.pol{font-family:var(--mono)}
table.t .muted{color:var(--sub)}
table.facts{width:100%;border-collapse:collapse}
table.facts th{width:30%;color:var(--sub);font:700 12px var(--mono);text-align:left;vertical-align:top;padding:12px 8px;border-bottom:1px solid var(--line2);letter-spacing:.5px;text-transform:uppercase}
table.facts td{padding:12px 8px;border-bottom:1px solid var(--line2);overflow-wrap:anywhere}
@media (max-width:600px){table.t{font-size:13px}table.t th,table.t td{padding:10px 10px}table.facts th{width:38%}}
/* forms */
label.f{display:flex;flex-direction:column;gap:6px;font:13px var(--mono);color:var(--muted)}
.f input,.f textarea{background:var(--bg2);border:1px solid var(--line2);color:var(--text);font:16px var(--body);padding:11px 12px;width:100%;border-radius:0}
.f input:focus,.f textarea:focus{outline:2px solid var(--amber);outline-offset:1px}
.f .cnt{align-self:flex-end;font-size:12px}
label.f{display:flex;flex-direction:column;gap:6px;font:600 13px var(--body);color:var(--ink2)}
.f input,.f textarea{background:#fff;border:2px solid var(--line);color:var(--ink);font:16px var(--body);padding:11px 12px;width:100%;border-radius:0}
.f input:focus,.f textarea:focus{outline:none;border-color:var(--blue)}
.f .cnt{align-self:flex-end;font:12px var(--mono);color:var(--sub)}
.form{display:flex;flex-direction:column;gap:14px;max-width:720px}
.note{border-left:4px solid var(--amber);background:var(--panel);padding:12px 16px;color:var(--sub);overflow-wrap:anywhere}
.note.ok{border-left-color:var(--good);color:var(--text)} .note.err{border-left-color:var(--bad);color:var(--text)}
.pill{display:inline-block;font:11px var(--mono);letter-spacing:1px;text-transform:uppercase;border:1px solid var(--line2);padding:2px 6px;color:var(--sub)}
.pill.on{border-color:var(--amber);color:var(--amber)} .pill.done{border-color:var(--good);color:var(--good)}
.meter{height:8px;background:var(--bg2);border:1px solid var(--line);margin-top:6px} .meter i{display:block;height:100%;background:var(--amber)}
.note{border-left:4px solid var(--blue);background:var(--card);padding:12px 16px;color:var(--ink2);overflow-wrap:anywhere}
.note.ok{border-left-color:var(--green);color:var(--ink)} .note.err{border-left-color:var(--red);color:var(--ink)}
.pill{display:inline-block;font:700 11px var(--mono);letter-spacing:1px;text-transform:uppercase;padding:4px 8px;background:var(--tint);color:var(--ink2);white-space:nowrap}
.pill.on{background:var(--gtint);color:var(--link)} .pill.done{background:var(--green-tint);color:var(--green-ink)}
.meter{height:10px;background:var(--line2);margin-top:6px} .meter i{display:block;height:100%;background:var(--blue)}
.signin{display:flex;flex-wrap:wrap;gap:12px}
.legal .card h2{font-size:24px}
.legal .card li{color:var(--sub);margin:4px 0}
.legal .card li{color:var(--ink2);margin:4px 0}
/* My page: the dashboard */
.dash{display:flex;flex-wrap:wrap;background:var(--bg);border:1px solid var(--line);min-width:0}
.dside{flex:1 1 220px;background:var(--royal);color:#E9ECF8;padding:24px 16px;display:flex;flex-direction:column;gap:22px;min-width:0}
.dside .wm{font-family:var(--head);font-weight:700;font-size:19px;color:#fff;padding:0 8px}
.dside .wm b{color:var(--gold)}
.dside nav{display:flex;flex-direction:column;gap:4px}
.dside nav a{display:flex;align-items:center;gap:10px;padding:12px;color:var(--on-dark);text-decoration:none;font-weight:500;border-left:3px solid transparent}
.dside nav a:hover{color:#fff;background:rgba(61,139,255,.1)}
.dside nav a.on{background:rgba(61,139,255,.16);color:#fff;font-weight:600;border-left-color:var(--blue2)}
.dside nav svg{flex:0 0 auto}
.dside .who{margin-top:auto;background:var(--royal2);padding:16px;display:flex;flex-direction:column;gap:6px;clip-path:var(--cut)}
.dside .who span{font-size:13px;color:var(--on-dark)}
.dside .who b{color:#fff;font-weight:600;overflow-wrap:anywhere}
.dside .who code{font:12px var(--mono);color:var(--on-dark2)}
.dside .btn-quiet{background:transparent;color:var(--on-dark);border-color:var(--royal3);margin-top:4px;align-self:flex-start}
.dside .btn-quiet:hover{color:#fff;border-color:#fff}
@media (max-width:820px){.dside nav{flex-direction:row;flex-wrap:wrap}.dside nav a{border-left:0;border-bottom:3px solid transparent;padding:10px}.dside nav a.on{border-bottom-color:var(--blue2)}.dside .who{margin-top:0}}
.dmain{flex:999 1 560px;min-width:0;padding:28px clamp(16px,3vw,40px) 40px;display:flex;flex-direction:column;gap:22px}
.dtop{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px}
.dtop h1{font-size:clamp(28px,3.6vw,34px);overflow-wrap:anywhere}
.dtop .kicker{margin:0 0 4px}
.dcols{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}
.dcol-l{flex:999 1 460px;min-width:0;display:flex;flex-direction:column;gap:20px}
.dcol-r{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:20px}
.dcard{background:var(--card);border:1px solid var(--line);padding:22px;display:flex;flex-direction:column;gap:14px;clip-path:var(--cut);min-width:0}
.dcard h2{font-size:22px}
.dcard .hd{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.dcard .hd .side-note{font-size:13px;color:var(--sub)}
.dcard p{margin:0;color:var(--ink2)}
.adprev{box-shadow:0 0 0 2px var(--blue2) inset;padding:18px;display:flex;flex-direction:column;gap:6px;background:#F6F9FF;clip-path:var(--cut);min-width:0}
.adprev.star{box-shadow:0 0 0 2px var(--gold) inset;background:var(--gpale)}
.adprev .tag{font:700 12px var(--mono);color:var(--link)}
.adprev b{font:700 20px var(--head);overflow-wrap:anywhere}
.adprev span{color:var(--ink2);overflow-wrap:anywhere}
.adprev a{font-weight:600;overflow-wrap:anywhere}
.lbars{display:flex;flex-direction:column;gap:12px}
.lbar{display:grid;grid-template-columns:76px minmax(0,1fr) 92px;gap:12px;align-items:center}
.lbar .k{font:700 13px var(--mono);color:var(--blue-ink)}
.lbar .who2{display:flex;flex-direction:column;gap:4px;min-width:0}
.lbar .who2 b{font-weight:600;font-size:14px;overflow-wrap:anywhere}
.lbar .bar{height:14px;background:var(--line2);display:block}
.lbar .bar i{display:block;height:100%;background:var(--blue)}
.lbar.has .bar i{background:var(--blue)} .lbar.lo .bar i{background:var(--red)}
.lbar .pill{text-align:center}
@media (max-width:420px){.lbar{grid-template-columns:62px minmax(0,1fr) 84px;gap:8px}.lbar .k{font-size:11.5px}}
.dark-card{background:var(--royal);color:#fff;padding:22px;display:flex;flex-direction:column;gap:14px;clip-path:var(--cut);min-width:0}
.dark-card .lab{font:700 12px var(--mono);letter-spacing:1.5px;color:var(--blue-on-dark)}
.dark-card h2{color:#fff;font-size:22px}
.dark-card p,.dark-card .small{color:var(--on-dark);line-height:1.5;margin:0}
.ring{display:flex;align-items:center;gap:18px}
.ring svg{flex:0 0 auto}
.ring b{font:700 28px var(--head);display:block;line-height:1.1}
.ring span{font-size:13px;color:var(--on-dark)}
.dark-card .bl{display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--royal3);padding-top:12px}
.dark-card .bl>div{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--on-dark)}
.dark-card .meter{background:var(--royal3)} .dark-card .meter i{background:var(--blue2)}
.dark-card .pill{background:var(--royal2);color:var(--on-dark)} .dark-card .pill.on{background:var(--gold);color:var(--ink)} .dark-card .pill.done{background:var(--green-tint);color:var(--green-ink)}
.act{display:flex;gap:10px;align-items:flex-start;padding-bottom:12px;border-bottom:1px solid var(--line2)}
.act:last-child{border-bottom:0;padding-bottom:0}
.act>i{width:9px;height:9px;margin-top:7px;flex:none;background:var(--blue)}
.act.red>i{background:var(--red)} .act.gold>i{background:var(--gold)}
.act div{display:flex;flex-direction:column;gap:2px;min-width:0}
.act b{font-weight:600;overflow-wrap:anywhere}
.act span{font-size:13px;color:var(--sub);overflow-wrap:anywhere}
.lrow{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 0;border-top:1px solid var(--line2)}
.lrow:first-child{border-top:0}
/* toasts (real events only) */
.toasts{position:fixed;left:24px;bottom:24px;z-index:50;display:flex;flex-direction:column;gap:10px;max-width:min(340px,calc(100vw - 32px))}
.toast{background:var(--cream);color:var(--paper-ink);border-left:6px solid var(--amber);padding:12px 16px;font-size:14px;box-shadow:0 8px 24px rgba(0,0,0,.45);text-decoration:none;opacity:0;transform:translateY(12px);transition:opacity .35s,transform .35s}
.toast{background:var(--card);color:var(--ink);border-left:6px solid var(--red);padding:12px 16px;font-size:14px;box-shadow:0 10px 30px rgba(10,31,107,.22);text-decoration:none;opacity:0;transform:translateY(12px);transition:opacity .35s,transform .35s}
.toast.gold{border-left-color:var(--gold)}
.toast:hover{color:var(--ink)}
.toast.in{opacity:1;transform:none}
.toast span{color:var(--paper-sub)}
.toast span{color:var(--sub)}
@media (max-width:600px){.toasts{left:16px;bottom:16px}}
/* footer */
footer.foot{border-top:1px solid var(--line);padding:28px 0 36px;color:var(--muted);font-size:13px;text-align:center}
footer.foot p{margin:6px 0} footer.foot a{color:var(--nav)} footer.foot a:hover{color:var(--amber)}
footer.foot .netline a{color:var(--amber)} footer.foot .here{color:var(--cream);font-weight:600}
footer.foot{background:var(--card);border-top:1px solid var(--line);padding:28px 0 36px;color:var(--sub);font-size:13px;text-align:center}
footer.foot p{margin:6px 0} footer.foot a{color:var(--link)} footer.foot a:hover{color:var(--red-d)}
footer.foot .here{color:var(--ink);font-weight:700}
.net-zone{margin:18px auto;text-align:center}
.net-zone-label{font:11px var(--mono);color:var(--muted);margin-bottom:4px;letter-spacing:1px}
.net-zone-label{font:11px var(--mono);color:var(--sub);margin-bottom:4px;letter-spacing:1px}
/* promote page (kit) */
.kit-who{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.kit-who input{flex:1 1 220px;min-width:0;background:var(--bg2);border:1px solid var(--line2);padding:11px 12px;color:var(--text);font:14px var(--mono)}
.kit-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 0;border-top:1px dashed var(--line)}
.kit-who input{flex:1 1 220px;min-width:0;background:#fff;border:2px solid var(--line);padding:11px 12px;color:var(--ink);font:14px var(--mono)}
.kit-who input:focus{outline:none;border-color:var(--blue)}
.kit-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 0;border-top:1px solid var(--line2)}
.kit-row:first-of-type{border-top:0}
.kit-l{flex:1 1 260px;min-width:0;display:flex;flex-direction:column;gap:3px}
.kit-lab{display:block;font:11px var(--mono);color:var(--muted);text-transform:uppercase;letter-spacing:.1em}
.kit-url{font-family:var(--mono);font-size:13.5px;overflow-wrap:anywhere;color:var(--amber)}
.kit-txt{flex:1 1 300px;margin:0;min-width:0;color:var(--sub)}
.kit-pre{white-space:pre-wrap;font-family:var(--body);font-size:14.5px;line-height:1.55;margin:10px 0 0;padding:12px 14px;border:1px solid var(--line);background:var(--bg2);overflow-wrap:anywhere;color:var(--sub)}
.kit-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0 16px}
.kit-tab{font:600 13px var(--mono);padding:9px 13px;border:1px solid var(--line2);background:transparent;color:var(--sub);cursor:pointer}
.kit-tab.on{border-color:var(--amber);color:var(--amber)}
.kit-lab{display:block;font:700 11px var(--mono);color:var(--sub);text-transform:uppercase;letter-spacing:.1em}
.kit-url{font-family:var(--mono);font-size:13.5px;overflow-wrap:anywhere;color:var(--blue-ink)}
.kit-txt{flex:1 1 300px;margin:0;min-width:0;color:var(--ink2)}
.kit-pre{white-space:pre-wrap;font-family:var(--body);font-size:14.5px;line-height:1.55;margin:10px 0 0;padding:12px 14px;border:1px solid var(--line);background:#F6F9FF;overflow-wrap:anywhere;color:var(--ink2)}
.kit-tabs{display:flex;gap:4px;flex-wrap:wrap;margin:6px 0 16px;background:var(--bg);padding:4px;border:1px solid var(--line);width:fit-content;max-width:100%}
.kit-tab{font:600 13px var(--body);padding:9px 13px;border:0;background:transparent;color:var(--ink2);cursor:pointer}
.kit-tab.on{background:var(--royal);color:#fff}
.kit-set{display:flex;flex-wrap:wrap;gap:18px;align-items:flex-start}
.kit-fig{margin:0;display:flex;flex-direction:column;gap:8px;max-width:100%}
.kit-fig img{display:block;max-width:100%;height:auto}
.kit-fig img{display:block;max-width:100%;height:auto;border:1px solid var(--line)}
.kit-social img{width:600px} .kit-square img{width:360px}
.kit-fig figcaption{font-size:13px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.kit-acts{display:flex;gap:6px;flex-wrap:wrap;width:100%}
.btn{font:600 13px var(--body);padding:8px 12px;border:1px solid var(--amber);color:var(--amber);background:transparent;cursor:pointer;text-decoration:none;display:inline-block}
.btn.sec{border-color:var(--line2);color:var(--sub)} .btn.small{font-size:12.5px;padding:6px 10px}
.btn{font:600 13px var(--body);padding:8px 12px;border:2px solid var(--ink);color:var(--ink);background:#fff;cursor:pointer;text-decoration:none;display:inline-block}
.btn:hover{background:var(--tint);color:var(--ink)}
.btn.sec{border-color:var(--line);color:var(--ink2)} .btn.small{font-size:12.5px;padding:6px 10px}
+17 -17
View File
@@ -18,29 +18,29 @@
<meta name="twitter:title" content="Boost | ViralAdBlitz">
<meta name="twitter:description" content="A $5 one-time Boost buys 500 guaranteed network views for your text ad, a starred spot on the live ticker and extra places on member pages. Split on-chain five levels up your line.">
<meta name="twitter:image" content="https://viraladblitz.com/art/og-share.png">
<meta name="theme-color" content="#0a1712">
<meta name="theme-color" content="#0A1F6B">
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=IBM+Plex+Mono:wght@400;600&family=IBM+Plex+Sans:wght@400;600&display=swap">
<link rel="stylesheet" href="/assets/vab.css?v=3">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@1,700;1,800&family=Chakra+Petch:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/vab.css?v=4">
</head>
<body>
<main class="wrap">
<section class="hero" style="align-items:stretch">
<div class="copy" style="display:flex;flex-direction:column;gap:14px">
<p class="kicker">One-time, never a subscription</p>
<h1>Boost your text ad across the network</h1>
<p class="lead" style="margin:0">A Boost puts your ad in front of more people: <b id="bViews">500</b> guaranteed network views, a starred spot on the live ticker, and an extra place on the five-level pages. Paid in POL on Polygon.</p>
<p class="small muted" style="margin:0">Views count only from verified visitors: a real browser that keeps the page open and visible for a few seconds, once per visitor per day. If the views are not all delivered on ViralAdBlitz within <span id="bDays">30</span> days, the rest is finished through Network Ad Space.</p>
<section class="panel hx" style="align-items:stretch"><svg class="netlines" viewBox="0 0 600 400" preserveAspectRatio="none" aria-hidden="true"><g stroke="#9DBEFF" stroke-width="1" fill="none"><path d="M0 300 Q150 180 300 240 T600 120"/><path d="M0 220 Q200 90 360 160 T600 40"/><path d="M40 400 L220 120 L420 260 L600 60"/></g><g fill="#FFC21A"><circle cx="220" cy="120" r="4"/><circle cx="420" cy="260" r="4"/><circle cx="360" cy="160" r="3"/><circle cx="300" cy="240" r="3"/><circle cx="520" cy="90" r="4"/></g></svg>
<div class="hx-copy">
<p class="kicker" style="color:var(--gold);margin:0">One-time, never a subscription</p>
<h1 class="slant sm"><span class="l1">Boost your text ad</span> <span class="l2">across the network</span></h1>
<p class="lead" style="margin:0;color:#E3EBFF">A Boost puts your ad in front of more people: <b id="bViews">500</b> guaranteed network views, a starred spot on the live ticker, and an extra place on the five-level pages. Paid in POL on Polygon.</p>
<p class="small" style="margin:0;color:var(--on-dark)">Views count only from verified visitors: a real browser that keeps the page open and visible for a few seconds, once per visitor per day. If the views are not all delivered on ViralAdBlitz within <span id="bDays">30</span> days, the rest is finished through Network Ad Space.</p>
</div>
<div class="price">
<span class="lab">BOOST PACK</span>
<span class="amt" id="bUsd">$5</span>
<span class="pol" id="bPol">about ... POL at today's price</span>
<ul><li><span id="bViews2">500</span> guaranteed network views</li><li>Starred spot on the live ticker</li><li>Extra place on the five-level pages</li></ul>
<ul class="checks plain"><li><svg width="26" height="26" viewBox="0 0 26 26" aria-hidden="true"><circle cx="13" cy="13" r="12" fill="#16B85A" stroke="#FFFFFF" stroke-width="2"/><path d="M7.5 13.5 L11.5 17 L18.5 9" fill="none" stroke="#FFFFFF" stroke-width="3"/></svg><span><b id="bViews2">500</b> guaranteed network views</span></li><li><svg width="26" height="26" viewBox="0 0 26 26" aria-hidden="true"><circle cx="13" cy="13" r="12" fill="#16B85A" stroke="#FFFFFF" stroke-width="2"/><path d="M7.5 13.5 L11.5 17 L18.5 9" fill="none" stroke="#FFFFFF" stroke-width="3"/></svg><span>Starred spot on the live ticker</span></li><li><svg width="26" height="26" viewBox="0 0 26 26" aria-hidden="true"><circle cx="13" cy="13" r="12" fill="#16B85A" stroke="#FFFFFF" stroke-width="2"/><path d="M7.5 13.5 L11.5 17 L18.5 9" fill="none" stroke="#FFFFFF" stroke-width="3"/></svg><span>Extra place on the five-level pages</span></li></ul>
<label class="qty">How many <select id="bQty"></select></label>
<button type="button" class="btn-green" id="bBuy">Boost with SafePal or any other crypto wallet</button>
<span class="small" id="bWho" style="color:var(--paper-sub)"></span>
<button type="button" class="btn-gold" id="bBuy">Boost with SafePal or any other crypto wallet</button>
<span class="small" id="bWho"></span>
</div>
</section>
<section>
@@ -63,13 +63,13 @@
<h2>Every sale is posted in Telegram</h2>
<p class="sub" style="margin:0">Each Boost posts a card to the network's Telegram with the week's stats and a link to verify the transaction, and every payout gets its own line. The same events show as toasts on the site and rows in the live ledger.</p>
</div>
<div class="card" style="flex:1 1 360px"><span class="small muted">Telegram · payments topic</span><p style="margin:8px 0 0"><b style="font-family:var(--disp);color:var(--cream);font-size:20px">ViralAdBlitz</b><br><span class="mono" style="color:var(--amber)">@member boosted an ad</span><br><span class="mono small">This week: Boosts, ads live, verified clicks</span></p><p class="small">Level payouts in the same transaction. <a href="/ledger">Verify</a></p></div>
<div class="card" style="flex:1 1 360px;border-left:6px solid var(--gold)"><span class="small muted">Telegram · payments topic</span><p style="margin:8px 0 0"><b style="font-family:var(--head);color:var(--ink);font-size:20px">ViralAdBlitz</b><br><span class="mono" style="color:var(--link);font-weight:700">@member boosted an ad</span><br><span class="mono small">This week: Boosts, ads live, verified clicks</span></p><p class="small">Level payouts in the same transaction. <a href="/ledger">Verify</a></p></div>
</section>
<div id="status" class="note" hidden></div>
</main>
<script src="/assets/common.js?v=3"></script>
<script src="/assets/wallet.js?v=3"></script>
<script src="/assets/buy.js?v=3"></script>
<script src="/assets/boost.js?v=3"></script>
<script src="/assets/common.js?v=4"></script>
<script src="/assets/wallet.js?v=4"></script>
<script src="/assets/buy.js?v=4"></script>
<script src="/assets/boost.js?v=4"></script>
</body>
</html>
+6 -6
View File
@@ -18,15 +18,15 @@
<meta name="twitter:title" content="Contract Proof | ViralAdBlitz">
<meta name="twitter:description" content="The ViralAdBlitz Boost contract on Polygon: owner, company, keeper and the fixed five-level split, read live from the chain.">
<meta name="twitter:image" content="https://viraladblitz.com/art/og-share.png">
<meta name="theme-color" content="#0a1712">
<meta name="theme-color" content="#0A1F6B">
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=IBM+Plex+Mono:wght@400;600&family=IBM+Plex+Sans:wght@400;600&display=swap">
<link rel="stylesheet" href="/assets/vab.css?v=3">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@1,700;1,800&family=Chakra+Petch:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/vab.css?v=4">
</head>
<body>
<main class="wrap">
<section class="hero"><div class="copy"><p class="kicker">Read live from Polygon</p><h1>Contract proof</h1><p class="lead">Every Boost is paid to one smart contract on Polygon. It splits the payment in the same transaction. Check every number here yourself.</p></div></section>
<section class="panel hero"><svg class="netlines" viewBox="0 0 600 400" preserveAspectRatio="none" aria-hidden="true"><g stroke="#9DBEFF" stroke-width="1" fill="none"><path d="M0 300 Q150 180 300 240 T600 120"/><path d="M0 220 Q200 90 360 160 T600 40"/><path d="M40 400 L220 120 L420 260 L600 60"/></g><g fill="#FFC21A"><circle cx="220" cy="120" r="4"/><circle cx="420" cy="260" r="4"/><circle cx="360" cy="160" r="3"/><circle cx="300" cy="240" r="3"/><circle cx="520" cy="90" r="4"/></g></svg><div class="copy"><p class="kicker">Read live from Polygon</p><h1>Contract proof</h1><p class="lead">Every Boost is paid to one smart contract on Polygon. It splits the payment in the same transaction. Check every number here yourself.</p></div></section>
<div class="card"><h2>The contract</h2><table class="facts" id="facts"><tbody><tr><td class="muted">Reading the contract...</td></tr></tbody></table></div>
<section>
<div class="shead"><h2>Where each Boost goes</h2></div>
@@ -44,7 +44,7 @@
</ol></div>
<div id="status" class="note" hidden></div>
</main>
<script src="/assets/common.js?v=3"></script>
<script src="/assets/contract.js?v=3"></script>
<script src="/assets/common.js?v=4"></script>
<script src="/assets/contract.js?v=4"></script>
</body>
</html>
+6 -6
View File
@@ -18,22 +18,22 @@
<meta name="twitter:title" content="Earnings Disclaimer | ViralAdBlitz">
<meta name="twitter:description" content="Advertising, not income. Nothing is promised.">
<meta name="twitter:image" content="https://viraladblitz.com/art/og-share.png">
<meta name="theme-color" content="#0a1712">
<meta name="theme-color" content="#0A1F6B">
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=IBM+Plex+Mono:wght@400;600&family=IBM+Plex+Sans:wght@400;600&display=swap">
<link rel="stylesheet" href="/assets/vab.css?v=3">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@1,700;1,800&family=Chakra+Petch:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/vab.css?v=4">
</head>
<body>
<main class="wrap legal">
<section class="hero"><div class="copy"><h1>Earnings Disclaimer</h1><p class="lead">Advertising, not income. Nothing is promised.</p><p class="muted small">Last updated November 14, 2026</p></div></section>
<section class="panel hero"><svg class="netlines" viewBox="0 0 600 400" preserveAspectRatio="none" aria-hidden="true"><g stroke="#9DBEFF" stroke-width="1" fill="none"><path d="M0 300 Q150 180 300 240 T600 120"/><path d="M0 220 Q200 90 360 160 T600 40"/><path d="M40 400 L220 120 L420 260 L600 60"/></g><g fill="#FFC21A"><circle cx="220" cy="120" r="4"/><circle cx="420" cy="260" r="4"/><circle cx="360" cy="160" r="3"/><circle cx="300" cy="240" r="3"/><circle cx="520" cy="90" r="4"/></g></svg><div class="copy"><p class="kicker">ViralAdBlitz</p><h1>Earnings Disclaimer</h1><p class="lead">Advertising, not income. Nothing is promised.</p><p class="muted small">Last updated November 14, 2026</p></div></section>
<div class="card"><h2>What you are buying</h2><p>A ViralAdBlitz Boost is advertising for your own text ad: guaranteed views, a ticker spot and member-page places. It is not an investment, a business opportunity, a share of profits or a promise of any payment.</p></div>
<div class="card"><h2>Level shares are not promised</h2><p>The contract pays a level share only when someone in your team chooses to buy a Boost. Nobody is required to buy one, and we do not know or promise whether anyone in your team ever will. Many members receive nothing, and many receive less than they spend. Your results depend on other people's free choices, not on anything we do.</p></div>
<div class="card"><h2>No examples are promises</h2><p>Any number on this site, in the ledger or in a Telegram post shows what really happened in one transaction. It is not a typical result and not a forecast of what you will receive.</p></div>
<div class="card"><h2>Prices and taxes</h2><p>Boosts are priced in US dollars and paid in POL, whose price moves. Anything you receive is in POL and its dollar value can change. You are responsible for any taxes on what you receive where you live.</p></div>
<div class="card"><h2>Who to ask</h2><p>TrustClickz, 615 Green Valley Drive, Moody, AL 35004. <a href="https://instantadpay.com/support" target="_blank" rel="noopener">Network support</a>.</p></div>
</main>
<script src="/assets/common.js?v=3"></script>
<script src="/assets/static.js?v=3"></script>
<script src="/assets/common.js?v=4"></script>
<script src="/assets/static.js?v=4"></script>
</body>
</html>
+50 -23
View File
@@ -19,43 +19,70 @@
<meta name="twitter:description" content="The network's text ad wire. Post one free text ad: it shows on your page and on the page of everyone you bring in, five levels down. Live ticker, top ads by verified clicks, a $5 one-time Boost.">
<meta name="twitter:image" content="https://viraladblitz.com/art/og-share.png">
<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebSite","name":"ViralAdBlitz","url":"https://viraladblitz.com/"},{"@type":"Organization","name":"ViralAdBlitz","url":"https://viraladblitz.com/","logo":"https://viraladblitz.com/art/icon-192.png"}]}</script>
<meta name="theme-color" content="#0a1712">
<meta name="theme-color" content="#0A1F6B">
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=IBM+Plex+Mono:wght@400;600&family=IBM+Plex+Sans:wght@400;600&display=swap">
<link rel="stylesheet" href="/assets/vab.css?v=3">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@1,700;1,800&family=Chakra+Petch:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/vab.css?v=4">
</head>
<body>
<main class="wrap">
<section class="hero">
<div class="copy">
<p class="kicker">The network's text ad wire</p>
<h1>Your ad runs on your whole team's pages. Five levels deep.</h1>
<p class="lead">Write one text ad: a headline, two lines and your link. It shows on your page and on the page of everyone you bring in, and everyone they bring in, five levels down. Free to join for network members.</p>
<div class="row"><a class="cta" href="/my">Post my free text ad</a><a class="btn-line" href="/boost">How a Boost works</a></div>
<section class="panel hx" aria-label="ViralAdBlitz"><svg class="netlines" viewBox="0 0 600 400" preserveAspectRatio="none" aria-hidden="true"><g stroke="#9DBEFF" stroke-width="1" fill="none"><path d="M0 300 Q150 180 300 240 T600 120"/><path d="M0 220 Q200 90 360 160 T600 40"/><path d="M40 400 L220 120 L420 260 L600 60"/></g><g fill="#FFC21A"><circle cx="220" cy="120" r="4"/><circle cx="420" cy="260" r="4"/><circle cx="360" cy="160" r="3"/><circle cx="300" cy="240" r="3"/><circle cx="520" cy="90" r="4"/></g></svg>
<div class="hx-copy">
<h1 class="slant"><span class="l1">Spread your ad</span> <span class="l2">5 levels deep</span></h1>
<span class="ribbon"><span>across the whole network</span></span>
<ul class="checks slant">
<li><svg width="26" height="26" viewBox="0 0 26 26" aria-hidden="true"><circle cx="13" cy="13" r="12" fill="#16B85A" stroke="#FFFFFF" stroke-width="2"/><path d="M7.5 13.5 L11.5 17 L18.5 9" fill="none" stroke="#FFFFFF" stroke-width="3"/></svg><span>One <em>free text ad</em> for network members</span></li>
<li><svg width="26" height="26" viewBox="0 0 26 26" aria-hidden="true"><circle cx="13" cy="13" r="12" fill="#16B85A" stroke="#FFFFFF" stroke-width="2"/><path d="M7.5 13.5 L11.5 17 L18.5 9" fill="none" stroke="#FFFFFF" stroke-width="3"/></svg><span>Shows on <em>your team's pages</em>, 5 levels down</span></li>
<li><svg width="26" height="26" viewBox="0 0 26 26" aria-hidden="true"><circle cx="13" cy="13" r="12" fill="#16B85A" stroke="#FFFFFF" stroke-width="2"/><path d="M7.5 13.5 L11.5 17 L18.5 9" fill="none" stroke="#FFFFFF" stroke-width="3"/></svg><span>Boost: <em>$5 = 500 guaranteed views</em></span></li>
<li><svg width="26" height="26" viewBox="0 0 26 26" aria-hidden="true"><circle cx="13" cy="13" r="12" fill="#16B85A" stroke="#FFFFFF" stroke-width="2"/><path d="M7.5 13.5 L11.5 17 L18.5 9" fill="none" stroke="#FFFFFF" stroke-width="3"/></svg><span>Every payout <em>on Polygon</em>, verify any line</span></li>
</ul>
</div>
<div class="wirebox" aria-label="Today on the wire">
<span class="lab">TODAY ON THE WIRE</span>
<div class="kv"><span>Ad views</span><b id="stViews">0</b></div>
<div class="kv"><span>Verified clicks</span><b id="stClicks">0</b></div>
<div class="kv"><span>Boosts sold</span><b id="stBoosts">0</b></div>
<div class="kv"><span>Ads live</span><b id="stAds">0</b></div>
<div class="hx-art">
<div class="rise" aria-hidden="true"><span style="height:25%;background:#3D8BFF"></span><span style="height:38%;background:#3D8BFF"></span><span style="height:50%;background:#6B4BFF"></span><span style="height:64%;background:#8A3DFF"></span><span style="height:80%;background:#FFC21A"></span><span style="height:100%;background:#FFC21A"></span><svg viewBox="0 0 300 120" preserveAspectRatio="none"><path d="M10 110 C110 100 170 70 270 14" fill="none" stroke="#FFC21A" stroke-width="7"/><path d="M250 6 L290 4 L276 40 Z" fill="#FFC21A"/></svg></div>
<div class="screens" aria-label="Your ad on level 1 pages, your own page and level 5 pages">
<div class="screen l1"><b>YOUR AD</b><span>level 1 pages</span></div>
<div class="glow"><div class="screen you"><b>YOUR AD</b><span>your page</span></div></div>
<div class="screen l5"><b>YOUR AD</b><span>level 5 pages</span></div>
</div>
<div class="gchips">
<div class="gchip"><svg width="26" height="26" viewBox="0 0 24 24" fill="none" stroke="#0A1F6B" stroke-width="2" aria-hidden="true"><rect x="3" y="5" width="18" height="14"/><path d="M7 10h10M7 14h6"/></svg><span><b>1 FREE</b><i>TEXT AD</i></span></div>
<div class="gchip"><svg width="26" height="26" viewBox="0 0 24 24" fill="none" stroke="#0A1F6B" stroke-width="2" aria-hidden="true"><circle cx="12" cy="5" r="2.5"/><circle cx="6" cy="18" r="2.5"/><circle cx="18" cy="18" r="2.5"/><path d="M12 7.5v4M12 11.5 6 15.5M12 11.5l6 4"/></svg><span><b>5 LEVELS</b><i>OF YOUR TEAM</i></span></div>
<div class="gchip"><svg width="26" height="26" viewBox="0 0 24 24" fill="none" stroke="#0A1F6B" stroke-width="2" aria-hidden="true"><path d="M4 20V10M10 20V6M16 20v-8M22 20V3"/></svg><span><b>500</b><i>VIEWS PER BOOST</i></span></div>
</div>
<div class="hx-cta"><a class="pill-cta" href="/my">Post my free ad<span class="chev" aria-hidden="true"> &raquo;</span></a><span class="slant-note">Free for<br>network members</span></div>
</div>
</section>
<section class="stats" aria-label="Today on the wire">
<div class="stat"><span>Ad views today</span><b id="stViews">0</b></div>
<div class="stat"><span>Verified clicks today</span><b id="stClicks">0</b></div>
<div class="stat red"><span>Boosts sold today</span><b id="stBoosts">0</b></div>
<div class="stat blue"><span>Ads live</span><b id="stAds">0</b></div>
</section>
<section id="board">
<div class="shead"><h2>Top ads this week</h2><span class="side">ranked by verified clicks</span></div>
<div class="shead"><h2>Top ads this week</h2><div class="sortg" role="group" aria-label="Show"><button type="button" class="on" data-sort="clicks" aria-pressed="true">Verified clicks</button><button type="button" data-sort="wire" aria-pressed="false">On the wire</button><button type="button" data-sort="boosted" aria-pressed="false">Boosted</button></div></div>
<div class="cards" id="boardCards"><p class="muted">Loading the board...</p></div>
</section>
<section class="steps" aria-label="How it works">
<div class="step"><span class="n">1</span><b>Post one free text ad</b><span>Sign in with your InstantAdPay or LinkSpin account. A headline, two lines and your link.</span></div>
<div class="step"><span class="n">2</span><b>Share your page</b><span>Your page shows your ad and the five people above you. Every visit shows six ads.</span></div>
<div class="step"><span class="n">3</span><b>Your ad spreads down</b><span>Everyone you bring in shows your ad on their page, five levels deep.</span></div>
<section aria-label="How it works">
<div class="shead"><h2>How your ad spreads</h2></div>
<div class="steps">
<div class="step"><span class="n">01</span><b>Post one free text ad</b><span>Sign in with your InstantAdPay or LinkSpin account. A headline, two lines and your link.</span></div>
<div class="step"><span class="n">02</span><b>Share your page</b><span>Your page shows your ad and the five people above you. Every visit shows six ads.</span></div>
<div class="step"><span class="n">03</span><b>Your ad spreads down</b><span>Everyone you bring in shows your ad on their page, five levels deep.</span></div>
</div>
</section>
<section class="band" aria-label="Boost">
<div class="txt"><span class="lab">BOOST · ONE-TIME, NEVER A SUBSCRIPTION</span><h2>$5 = 500 guaranteed network views</h2><p>Plus a starred spot on the ticker. Each Boost pays 10% to five levels of your sponsor line in the same transaction, and 50% to the company.</p></div>
<div class="lvlbars" aria-label="Where a Boost goes: 10% to each of five levels"><div><span></span><b>L1 10%</b></div><div><span></span><b>L2 10%</b></div><div><span></span><b>L3 10%</b></div><div><span></span><b>L4 10%</b></div><div><span></span><b>L5 10%</b></div></div>
<a class="btn-gold" href="/boost">Boost my ad</a>
</section>
<section id="ledger">
<div class="shead"><h2>Live ledger</h2><span class="side">every Boost and every payout, straight from the chain</span></div>
<div class="shead"><h2>Live ledger</h2><span class="side">Every Boost and every payout, straight from Polygon</span></div>
<div class="tscroll"><table class="t" id="ledgerMini"><thead><tr><th>TIME CT</th><th>EVENT</th><th>MEMBER</th><th>POL</th><th>TX</th></tr></thead><tbody><tr><td colspan="5" class="muted">Loading the ledger...</td></tr></tbody></table></div>
<p class="small"><a href="/ledger">Open the full ledger</a></p>
</section>
@@ -67,7 +94,7 @@
<p class="muted small">A Boost buys advertising, not income. Nothing is promised.</p>
<div id="status" class="note" hidden></div>
</main>
<script src="/assets/common.js?v=3"></script>
<script src="/assets/front.js?v=3"></script>
<script src="/assets/common.js?v=4"></script>
<script src="/assets/front.js?v=4"></script>
</body>
</html>
+6 -6
View File
@@ -18,15 +18,15 @@
<meta name="twitter:title" content="Live Ledger | ViralAdBlitz">
<meta name="twitter:description" content="Every ViralAdBlitz Boost and every level payout, read from the Polygon contract, with a link to verify each transaction.">
<meta name="twitter:image" content="https://viraladblitz.com/art/og-share.png">
<meta name="theme-color" content="#0a1712">
<meta name="theme-color" content="#0A1F6B">
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=IBM+Plex+Mono:wght@400;600&family=IBM+Plex+Sans:wght@400;600&display=swap">
<link rel="stylesheet" href="/assets/vab.css?v=3">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@1,700;1,800&family=Chakra+Petch:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/vab.css?v=4">
</head>
<body>
<main class="wrap">
<section class="hero"><div class="copy"><p class="kicker">Straight from the chain</p><h1>Live ledger</h1><p class="lead">Every Boost and every payout. Each row links to its transaction on Polygonscan, so you can check it yourself.</p></div></section>
<section class="panel hero"><svg class="netlines" viewBox="0 0 600 400" preserveAspectRatio="none" aria-hidden="true"><g stroke="#9DBEFF" stroke-width="1" fill="none"><path d="M0 300 Q150 180 300 240 T600 120"/><path d="M0 220 Q200 90 360 160 T600 40"/><path d="M40 400 L220 120 L420 260 L600 60"/></g><g fill="#FFC21A"><circle cx="220" cy="120" r="4"/><circle cx="420" cy="260" r="4"/><circle cx="360" cy="160" r="3"/><circle cx="300" cy="240" r="3"/><circle cx="520" cy="90" r="4"/></g></svg><div class="copy"><p class="kicker">Straight from the chain</p><h1>Live ledger</h1><p class="lead">Every Boost and every payout. Each row links to its transaction on Polygonscan, so you can check it yourself.</p></div></section>
<div class="stats" id="totals"></div>
<section>
<div class="tscroll"><table class="t" id="rows"><thead><tr><th>TIME CT</th><th>BOOST</th><th>PAID IN THE SAME TRANSACTION</th><th>TX</th></tr></thead><tbody><tr><td colspan="4" class="muted">Loading the ledger...</td></tr></tbody></table></div>
@@ -34,7 +34,7 @@
<p class="muted small">Levels follow the buyer's sponsor line. Someone who has not bought a Boost is passed over and their share goes up to the next person who has. Advertising, not income. Nothing is promised.</p>
<div id="status" class="note" hidden></div>
</main>
<script src="/assets/common.js?v=3"></script>
<script src="/assets/ledger.js?v=3"></script>
<script src="/assets/common.js?v=4"></script>
<script src="/assets/ledger.js?v=4"></script>
</body>
</html>
+7 -8
View File
@@ -18,16 +18,15 @@
<meta name="twitter:title" content="A member's page | ViralAdBlitz">
<meta name="twitter:description" content="Text ads recommended by a ViralAdBlitz member and the five people above them in the network.">
<meta name="twitter:image" content="https://viraladblitz.com/art/og-share.png">
<meta name="theme-color" content="#0a1712">
<meta name="theme-color" content="#0A1F6B">
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=IBM+Plex+Mono:wght@400;600&family=IBM+Plex+Sans:wght@400;600&display=swap">
<link rel="stylesheet" href="/assets/vab.css?v=3">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@1,700;1,800&family=Chakra+Petch:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/vab.css?v=4">
</head>
<body>
<main class="wrap">
<p class="kicker" id="who">RECOMMENDED</p>
<div id="own"><p class="muted">Loading...</p></div>
<div><p class="kicker" id="who">RECOMMENDED</p><div id="own"><p class="muted">Loading...</p></div></div>
<section>
<div class="shead"><h2 id="teamHead">Also recommended by the team</h2><span class="side">the five people above them in the network</span></div>
<div class="levels" id="levels"></div>
@@ -38,12 +37,12 @@
</section>
<section class="joinbar" id="join">
<div class="txt"><b id="joinHead">Want your ad on pages like this one?</b><p id="joinText">Join free. Your ad goes on your own page and on every page you bring in, five levels down.</p></div>
<div class="row" style="margin:0"><a class="cta" id="joinBtn" href="/my">Join free</a><a class="btn-line" href="/my">I am a member: sign in</a></div>
<div class="row on-dark" style="margin:0"><a class="pill-cta" id="joinBtn" href="/my">Join free<span class="chev" aria-hidden="true"> &raquo;</span></a><a class="btn-line" href="/my">I am a member: sign in</a></div>
</section>
<p class="muted small">Advertising, not income. Nothing is promised.</p>
<div id="status" class="note" hidden></div>
</main>
<script src="/assets/common.js?v=3"></script>
<script src="/assets/member.js?v=3"></script>
<script src="/assets/common.js?v=4"></script>
<script src="/assets/member.js?v=4"></script>
</body>
</html>
+52 -26
View File
@@ -18,47 +18,73 @@
<meta name="twitter:title" content="My page | ViralAdBlitz">
<meta name="twitter:description" content="Post or edit your free text ad, share your page, and follow your Boost.">
<meta name="twitter:image" content="https://viraladblitz.com/art/og-share.png">
<meta name="theme-color" content="#0a1712">
<meta name="theme-color" content="#0A1F6B">
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=IBM+Plex+Mono:wght@400;600&family=IBM+Plex+Sans:wght@400;600&display=swap">
<link rel="stylesheet" href="/assets/vab.css?v=3">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@1,700;1,800&family=Chakra+Petch:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/vab.css?v=4">
</head>
<body>
<main class="wrap">
<section class="hero"><div class="copy"><p class="kicker">Your desk</p><h1>My page</h1><p class="lead">One free text ad for network members. Share your page and your ad spreads five levels down.</p></div></section>
<section id="signin" hidden>
<div class="card">
<section class="panel hero"><svg class="netlines" viewBox="0 0 600 400" preserveAspectRatio="none" aria-hidden="true"><g stroke="#9DBEFF" stroke-width="1" fill="none"><path d="M0 300 Q150 180 300 240 T600 120"/><path d="M0 220 Q200 90 360 160 T600 40"/><path d="M40 400 L220 120 L420 260 L600 60"/></g><g fill="#FFC21A"><circle cx="220" cy="120" r="4"/><circle cx="420" cy="260" r="4"/><circle cx="360" cy="160" r="3"/><circle cx="300" cy="240" r="3"/><circle cx="520" cy="90" r="4"/></g></svg><div class="copy"><p class="kicker">Your dashboard</p><h1>My page</h1><p class="lead">One free text ad for network members. Share your page and your ad spreads five levels down.</p></div></section>
<div class="card" style="margin-top:20px">
<h2>Sign in</h2>
<p>Sign in with your network account. Your username and your sponsor line come with you.</p>
<div class="signin"><a class="cta" id="viaIap" href="/sso/start?mode=go&amp;via=iap&amp;to=%2Fmy">Sign in with InstantAdPay</a><a class="cta" id="viaLs" href="/sso/start?mode=go&amp;via=linkspin&amp;to=%2Fmy">Sign in with LinkSpin</a><button class="btn-line" id="viaWallet" type="button">Sign in with your wallet</button></div>
<div class="signin"><a class="btn-red" id="viaIap" href="/sso/start?mode=go&amp;via=iap&amp;to=%2Fmy">Sign in with InstantAdPay</a><a class="btn-red" id="viaLs" href="/sso/start?mode=go&amp;via=linkspin&amp;to=%2Fmy">Sign in with LinkSpin</a><button class="btn-line" id="viaWallet" type="button">Sign in with your wallet</button></div>
<p class="small muted">Wallet sign-in works with SafePal or any other crypto wallet. It is a free signature that cannot move funds.</p>
<p class="small">Not in the network yet? <a id="joinLink" href="https://instantadpay.com/" target="_blank" rel="noopener">Join InstantAdPay free</a>, then come back and sign in through it.</p>
</div>
</section>
<section id="dash" hidden>
<div class="stats" id="stats"></div>
<div class="card" id="pageCard" style="margin-top:16px"></div>
<div class="card" id="adCard" style="margin-top:16px">
<h2 id="adHead">Your text ad</h2>
<p class="small" id="adNote">A headline, two lines and your https link. No link shorteners.</p>
<form class="form" id="adForm">
<label class="f">Headline <input id="fHead" maxlength="60" autocomplete="off" required><span class="cnt" id="cHead"></span></label>
<label class="f">First line <input id="fL1" maxlength="90" autocomplete="off" required><span class="cnt" id="cL1"></span></label>
<label class="f">Second line (optional) <input id="fL2" maxlength="90" autocomplete="off"><span class="cnt" id="cL2"></span></label>
<label class="f">Your link <input id="fLink" maxlength="600" autocomplete="off" inputmode="url" placeholder="https://" required></label>
<div class="row" style="margin:0"><button class="btn-green" id="adSave" type="submit">Post my free text ad</button><span class="small muted">Tracking codes work: {clickid} and {placement} are filled on every click.</span></div>
</form>
<section id="dash" class="dash" hidden>
<aside class="dside" aria-label="Dashboard">
<span class="wm">VIRAL<b>AD</b>BLITZ</span>
<nav aria-label="Dashboard sections">
<a href="#dash" class="on"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><rect x="3" y="3" width="7" height="9"/><rect x="14" y="3" width="7" height="5"/><rect x="14" y="12" width="7" height="9"/><rect x="3" y="16" width="7" height="5"/></svg>Overview</a>
<a href="#adCard"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M4 5h16v14H4z"/><path d="M8 9h8M8 13h5"/></svg>My text ad</a>
<a href="#boostCard"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M13 2 L4 14h7l-1 8 9-12h-7z"/></svg>Boosts</a>
<a href="#lineCard"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><circle cx="12" cy="5" r="2.5"/><circle cx="6" cy="18" r="2.5"/><circle cx="18" cy="18" r="2.5"/><path d="M12 7.5v4M12 11.5 6 15.5M12 11.5l6 4"/></svg>My line</a>
<a href="#earnCard"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M3 12h4l3-8 4 16 3-8h4"/></svg>Payouts</a>
<a href="/promote"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M4 12v8h16v-8M12 3v12M7 8l5-5 5 5"/></svg>Promote</a>
</nav>
<div class="who"><span id="whoVia">Signed in</span><b id="whoName"></b><code id="whoAddr"></code><button class="btn-quiet" id="signout" type="button">Sign out</button></div>
</aside>
<div class="dmain">
<div class="dtop">
<div><p class="kicker">// DASHBOARD</p><h1 id="dHello">My page</h1></div>
<div class="row" style="margin:0"><button class="btn-line" type="button" id="copyTop" hidden>Copy my page link</button><a class="btn-gold" href="/boost">Boost my ad</a></div>
</div>
<div class="stats" id="stats"></div>
<div class="dcols">
<div class="dcol-l">
<section class="dcard" id="adCard">
<div class="hd"><h2 id="adHead">My text ad</h2><span id="adBadges"></span></div>
<div id="adPrev"></div>
<p class="small" id="adNote">A headline, two lines and your https link. No link shorteners.</p>
<form class="form" id="adForm">
<label class="f">Headline <input id="fHead" maxlength="60" autocomplete="off" required><span class="cnt" id="cHead"></span></label>
<label class="f">First line <input id="fL1" maxlength="90" autocomplete="off" required><span class="cnt" id="cL1"></span></label>
<label class="f">Second line (optional) <input id="fL2" maxlength="90" autocomplete="off"><span class="cnt" id="cL2"></span></label>
<label class="f">Your link <input id="fLink" maxlength="600" autocomplete="off" inputmode="url" placeholder="https://" required></label>
<div class="row" style="margin:0"><button class="btn-red" id="adSave" type="submit">Post my free text ad</button><span class="small muted">Tracking codes work: {clickid} and {placement} are filled on every click.</span></div>
</form>
</section>
<section class="dcard" id="pageCard"></section>
<section class="dcard" id="lineCard"><div class="hd"><h2>Your line</h2><span class="side-note">the people above you, nearest first</span></div><div id="line"></div></section>
</div>
<div class="dcol-r">
<section class="dark-card" id="boostCard"><span class="lab">YOUR BOOSTS</span><div id="boosts"></div><a class="btn-gold" href="/boost" id="boostMore">Boost my ad, $5</a></section>
<section class="dcard" id="actCard"><h2>Recent activity</h2><div id="acts"></div></section>
<section class="dcard" id="earnCard"><h2>Paid to you</h2><div id="earned"></div></section>
</div>
</div>
<p class="small muted" style="margin:0">A Boost buys advertising, not income. Nothing is promised.</p>
</div>
<div class="card" id="lineCard" style="margin-top:16px"><h2>Your line</h2><div id="line"></div></div>
<div class="card" id="boostCard" style="margin-top:16px"><h2>Your Boosts</h2><div id="boosts"></div><div class="row"><a class="cta" href="/boost">Boost my ad</a></div></div>
<div class="card" id="earnCard" style="margin-top:16px"><h2>Paid to you</h2><div id="earned"></div></div>
<div class="row"><button class="btn-quiet" id="signout" type="button">Sign out</button></div>
</section>
<div id="status" class="note" hidden></div>
</main>
<script src="/assets/common.js?v=3"></script>
<script src="/assets/wallet.js?v=3"></script>
<script src="/assets/my.js?v=3"></script>
<script src="/assets/common.js?v=4"></script>
<script src="/assets/wallet.js?v=4"></script>
<script src="/assets/my.js?v=4"></script>
</body>
</html>
+6 -6
View File
@@ -18,15 +18,15 @@
<meta name="twitter:title" content="Privacy Policy | ViralAdBlitz">
<meta name="twitter:description" content="What ViralAdBlitz keeps about you, why, and for how long.">
<meta name="twitter:image" content="https://viraladblitz.com/art/og-share.png">
<meta name="theme-color" content="#0a1712">
<meta name="theme-color" content="#0A1F6B">
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=IBM+Plex+Mono:wght@400;600&family=IBM+Plex+Sans:wght@400;600&display=swap">
<link rel="stylesheet" href="/assets/vab.css?v=3">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@1,700;1,800&family=Chakra+Petch:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/vab.css?v=4">
</head>
<body>
<main class="wrap legal">
<section class="hero"><div class="copy"><h1>Privacy Policy</h1><p class="lead">What ViralAdBlitz keeps about you, why, and for how long.</p><p class="muted small">Last updated November 14, 2026</p></div></section>
<section class="panel hero"><svg class="netlines" viewBox="0 0 600 400" preserveAspectRatio="none" aria-hidden="true"><g stroke="#9DBEFF" stroke-width="1" fill="none"><path d="M0 300 Q150 180 300 240 T600 120"/><path d="M0 220 Q200 90 360 160 T600 40"/><path d="M40 400 L220 120 L420 260 L600 60"/></g><g fill="#FFC21A"><circle cx="220" cy="120" r="4"/><circle cx="420" cy="260" r="4"/><circle cx="360" cy="160" r="3"/><circle cx="300" cy="240" r="3"/><circle cx="520" cy="90" r="4"/></g></svg><div class="copy"><p class="kicker">ViralAdBlitz</p><h1>Privacy Policy</h1><p class="lead">What ViralAdBlitz keeps about you, why, and for how long.</p><p class="muted small">Last updated November 14, 2026</p></div></section>
<div class="card"><h2>Who we are</h2><p>ViralAdBlitz is run by TrustClickz, 615 Green Valley Drive, Moody, AL 35004.</p></div>
<div class="card"><h2>What we keep</h2><ul><li>Your wallet address and network username, and your text ad (it is public: that is its purpose).</li><li>Your network record from the network hub: your hub id and your sponsor line. ViralAdBlitz does not store your email. When you sign in through InstantAdPay or LinkSpin, your email is used once to check your network membership and is not kept.</li><li>Your Boosts, which are public on the Polygon blockchain, and how many of their views have been delivered.</li><li>For counting real views and clicks: a one-way code made from your internet address and browser type (never the address itself), the page, and the site that sent you. Visit and click records are kept 15 days; the records of each view counted toward a Boost are kept 120 days so delivery can be checked.</li></ul></div>
<div class="card"><h2>Cookies</h2><p>A sign-in cookie (7 days), a cookie that remembers whose page you came from (30 days), and short-lived cookies for signing in through the network. No advertising or tracking cookies of our own.</p></div>
@@ -34,7 +34,7 @@
<div class="card"><h2>Your choices</h2><p>You can edit your ad at any time, or ask us to remove it and your account here. Records on the blockchain cannot be removed by anyone.</p></div>
<div class="card"><h2>Contact</h2><p>Questions, problems or a request about your data: <a href="https://instantadpay.com/support" target="_blank" rel="noopener">network support</a>, or write to TrustClickz, 615 Green Valley Drive, Moody, AL 35004.</p></div>
</main>
<script src="/assets/common.js?v=3"></script>
<script src="/assets/static.js?v=3"></script>
<script src="/assets/common.js?v=4"></script>
<script src="/assets/static.js?v=4"></script>
</body>
</html>
+8 -8
View File
@@ -18,23 +18,23 @@
<meta name="twitter:title" content="Promote | ViralAdBlitz">
<meta name="twitter:description" content="Your ViralAdBlitz links, creatives in every common size, and copy you can paste anywhere.">
<meta name="twitter:image" content="https://viraladblitz.com/art/og-share.png">
<meta name="theme-color" content="#0a1712">
<meta name="theme-color" content="#0A1F6B">
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=IBM+Plex+Mono:wght@400;600&family=IBM+Plex+Sans:wght@400;600&display=swap">
<link rel="stylesheet" href="/assets/vab.css?v=3">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@1,700;1,800&family=Chakra+Petch:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/vab.css?v=4">
</head>
<body>
<main class="wrap">
<section class="hero"><div class="copy"><p class="kicker">Share the wire</p><h1>Promote ViralAdBlitz</h1><p class="lead">Your links, creatives in every common size, and copy you can paste anywhere. Everything carries your network username.</p></div></section>
<section class="panel hero"><svg class="netlines" viewBox="0 0 600 400" preserveAspectRatio="none" aria-hidden="true"><g stroke="#9DBEFF" stroke-width="1" fill="none"><path d="M0 300 Q150 180 300 240 T600 120"/><path d="M0 220 Q200 90 360 160 T600 40"/><path d="M40 400 L220 120 L420 260 L600 60"/></g><g fill="#FFC21A"><circle cx="220" cy="120" r="4"/><circle cx="420" cy="260" r="4"/><circle cx="360" cy="160" r="3"/><circle cx="300" cy="240" r="3"/><circle cx="520" cy="90" r="4"/></g></svg><div class="copy"><p class="kicker">Share the wire</p><h1>Promote ViralAdBlitz</h1><p class="lead">Your links, creatives in every common size, and copy you can paste anywhere. Everything carries your network username.</p></div></section>
<div class="card" id="whoCard"><h3>Your network username</h3>
<p class="small" id="whoNote">Your InstantAdPay or LinkSpin username works here. Sign in on <a href="/my">My page</a> and it fills in by itself.</p>
<form class="kit-who" id="whoForm"><input id="whoIn" autocomplete="off" spellcheck="false" maxlength="42" placeholder="your username"><button class="cta" type="submit">Use it</button></form></div>
<form class="kit-who" id="whoForm"><input id="whoIn" autocomplete="off" spellcheck="false" maxlength="42" placeholder="your username"><button class="btn-red" type="submit">Use it</button></form></div>
<div id="status" class="note" hidden></div>
<div id="kit" style="display:flex;flex-direction:column;gap:16px"><p class="muted">Loading the kit...</p></div>
</main>
<script src="/assets/common.js?v=3"></script>
<script src="/assets/kitpage.js?v=3"></script>
<script src="/assets/promote.js?v=3"></script>
<script src="/assets/common.js?v=4"></script>
<script src="/assets/kitpage.js?v=4"></script>
<script src="/assets/promote.js?v=4"></script>
</body>
</html>
+6 -6
View File
@@ -18,15 +18,15 @@
<meta name="twitter:title" content="Terms and Conditions | ViralAdBlitz">
<meta name="twitter:description" content="The rules for using ViralAdBlitz, in plain English.">
<meta name="twitter:image" content="https://viraladblitz.com/art/og-share.png">
<meta name="theme-color" content="#0a1712">
<meta name="theme-color" content="#0A1F6B">
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=IBM+Plex+Mono:wght@400;600&family=IBM+Plex+Sans:wght@400;600&display=swap">
<link rel="stylesheet" href="/assets/vab.css?v=3">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@1,700;1,800&family=Chakra+Petch:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/vab.css?v=4">
</head>
<body>
<main class="wrap legal">
<section class="hero"><div class="copy"><h1>Terms and Conditions</h1><p class="lead">The rules for using ViralAdBlitz, in plain English.</p><p class="muted small">Last updated November 14, 2026</p></div></section>
<section class="panel hero"><svg class="netlines" viewBox="0 0 600 400" preserveAspectRatio="none" aria-hidden="true"><g stroke="#9DBEFF" stroke-width="1" fill="none"><path d="M0 300 Q150 180 300 240 T600 120"/><path d="M0 220 Q200 90 360 160 T600 40"/><path d="M40 400 L220 120 L420 260 L600 60"/></g><g fill="#FFC21A"><circle cx="220" cy="120" r="4"/><circle cx="420" cy="260" r="4"/><circle cx="360" cy="160" r="3"/><circle cx="300" cy="240" r="3"/><circle cx="520" cy="90" r="4"/></g></svg><div class="copy"><p class="kicker">ViralAdBlitz</p><h1>Terms and Conditions</h1><p class="lead">The rules for using ViralAdBlitz, in plain English.</p><p class="muted small">Last updated November 14, 2026</p></div></section>
<div class="card"><h2>Who we are</h2><p>ViralAdBlitz (viraladblitz.com) is run by TrustClickz, 615 Green Valley Drive, Moody, AL 35004. It is part of the network: one network account works across InstantAdPay, LinkSpin, Downline Banners, Viral Banner Blitz, ViralAdBlitz, Stack POL and Earners Corner. By using ViralAdBlitz you agree to these terms.</p></div>
<div class="card"><h2>What ViralAdBlitz is</h2><p>ViralAdBlitz is the network's home for text ads. A network member posts one text ad: a headline, two lines and a link. Each member has a page that shows their own ad and the ads of the five people above them in their network sponsor line, so an ad appears on the pages of the people its owner brings in, five levels down. The front page shows a live ticker of the newest ads and a weekly board of the top ads by verified clicks.</p></div>
<div class="card"><h2>Your free text ad</h2><p>One text ad is free for each network member (InstantAdPay or LinkSpin, checked with the network hub). You can edit it at any time. There is nothing to pay to post it.</p></div>
@@ -42,7 +42,7 @@
<div class="card"><h2>Limits</h2><p>As far as the law allows, we are not responsible for losses caused by the blockchain, your wallet, the price of POL, third-party websites in ads, or events outside our control, and our total responsibility to you is limited to what you paid for the purchase in question. These terms are governed by the laws of the State of Alabama, USA.</p></div>
<div class="card"><h2>Contact</h2><p>Questions, problems or a request about your data: <a href="https://instantadpay.com/support" target="_blank" rel="noopener">network support</a>, or write to TrustClickz, 615 Green Valley Drive, Moody, AL 35004.</p></div>
</main>
<script src="/assets/common.js?v=3"></script>
<script src="/assets/static.js?v=3"></script>
<script src="/assets/common.js?v=4"></script>
<script src="/assets/static.js?v=4"></script>
</body>
</html>
+7 -6
View File
@@ -181,7 +181,7 @@ async function main() {
const anon = client();
for (const p of ['/', '/my', '/boost', '/ledger', '/contract', '/promote', '/terms', '/disclaimer', '/privacy', '/admin', '/robots.txt', '/sitemap.xml', '/art/mark.svg', '/art/og-share.png', '/assets/vab.css', '/assets/common.js']) { const r = await anon.req(p); ok(r.status === 200, 'GET ' + p + ' 200', r.status); }
let r = await anon.req('/'); const home = await r.text();
ok(/Your ad runs on your whole team's pages\. Five levels deep\./.test(home) && /id="boardCards"/.test(home) && /og:image" content="https:\/\/viraladblitz\.com\/art\/og-share\.png/.test(home), 'front page: headline, board, Open Graph');
ok(/<h1 class="slant"><span class="l1">Spread your ad<\/span> <span class="l2">5 levels deep<\/span><\/h1>/.test(home) && /id="boardCards"/.test(home) && /og:image" content="https:\/\/viraladblitz\.com\/art\/og-share\.png/.test(home), 'front page: "Spread your ad 5 levels deep" headline, board, Open Graph');
ok(!r.headers.get('x-frame-options'), 'front page stays frameable (traffic exchanges)');
r = await anon.req('/my'); ok(r.headers.get('x-frame-options') === 'DENY', '/my is never framed');
ok(/script-src[^;]*https:\/\/linkspin\.app/.test(r.headers.get('content-security-policy') || ''), 'CSP admits linkspin.app (network zones)');
@@ -201,7 +201,7 @@ async function main() {
for (const c of k.creatives) { const rr = await anon.req(new URL(c.url).pathname); const buf = Buffer.from(await rr.arrayBuffer()); const w = buf.readUInt32BE(16), h = buf.readUInt32BE(20);
if (rr.status !== 200 || w !== c.w || h !== c.h || !c.html.includes('href="https://viraladblitz.com/smokeleader"')) { dimOk = false; dimBad.push(c.key + ' ' + w + 'x' + h); } }
ok(dimOk, 'kit: every creative is a PNG at its exact size and its HTML links to the member page', dimBad);
const pr = await anon.req('/art/proof/vab-proof-amber.png'); ok(pr.status === 200 && pr.headers.get('content-type') === 'image/png', 'Telegram proof card image served'); }
const pr = await anon.req('/art/proof/vab-proof-royal.png'); ok(pr.status === 200 && pr.headers.get('content-type') === 'image/png', 'Telegram proof card image served'); }
console.log('5. sign-in and network membership');
// the hub line used through the test (nearest first above OWNER): L1 (ad) <- L2 (NO ad) <- L3 (ad, NO wallet in hub) <- L4 (ad) <- L5 (ad) <- L6 (ad) <- L7 (ad) <- TOP
@@ -254,9 +254,9 @@ async function main() {
r = await anon.req('/owner'); ok(r.status === 200 && /member\.js/.test(await r.text()) && /vab\.ref=owner/.test(String(r.headers.get('set-cookie'))), 'GET /owner serves the member page and remembers the referrer');
let mp = await anon.json('/api/wire?page=member&u=owner');
ok(mp.page && mp.page.ad && mp.page.ad.id === OWNAD && mp.page.username === 'owner', 'member page: the owner\'s own ad', mp.page && mp.page.ad);
const lv = (mp.page.line || []).map(x => [x.level, x.owner]);
ok(JSON.stringify(lv) === JSON.stringify([[1, '@one'], [4, '@four'], [5, '@five'], [6, '@six'], [7, '@seven']]), 'five upline ads, by place in the line: L2 (no ad) and L3 (no wallet) skipped, the 6th with an ad (topdog) not shown', lv);
ok(mp.page.joinUrl === 'https://instantadpay.com/?ref=owner', 'join link: InstantAdPay under the page owner', mp.page.joinUrl);
const lv = (mp.page.line || []).map(x => [x.level, x.depth, x.owner]);
ok(JSON.stringify(lv) === JSON.stringify([[1, 1, '@one'], [2, 4, '@four'], [3, 5, '@five'], [4, 6, '@six'], [5, 7, '@seven']]), 'five upline ads labelled LEVEL 1 to 5 in display order (real places 1,4,5,6,7): place 2 (no ad) and place 3 (no wallet) skipped, the 6th with an ad (topdog) not shown', lv);
ok(mp.page.joinUrl === 'https://instantadpay.com/join/owner', 'join link: the InstantAdPay join page under the page owner', mp.page.joinUrl);
mp = await anon.json('/api/wire?page=member&u=nobody-here'); ok(mp._status === 404, 'unknown member: 404 from the page API');
console.log('8. verified visits, views and clicks');
@@ -396,7 +396,8 @@ const mtop = await anon.json('/api/wire?page=member&u=topdog');
const { chromium } = require(PW); const browser = await chromium.launch();
for (const [label, vp] of [['desktop', { width: 1280, height: 900 }], ['phone', { width: 390, height: 844 }]]) {
const ctx = await browser.newContext({ viewport: vp, isMobile: label === 'phone', userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 Chrome/130.0 Safari/537.36 SmokeUI-' + label });
await ctx.route(/^https:\/\//, rt => rt.abort()); // nothing leaves this machine (Google Fonts too: the pages fall back to Georgia + system fonts here)
// nothing leaves this machine; UI_FONTS=1 lets Google Fonts through so the screenshots show the real type (read-only font GETs)
await ctx.route(/^https:\/\//, rt => (process.env.UI_FONTS && /^https:\/\/fonts\.(googleapis|gstatic)\.com\//.test(rt.request().url())) ? rt.continue() : rt.abort());
const errs = []; const pg = await ctx.newPage(); pg.on('pageerror', e => errs.push(e.message));
for (const [p, sel] of [['/', '#boardCards .paper'], ['/owner', '#levels .lvl'], ['/boost', '#bQty option'], ['/ledger', '#rows tbody tr'], ['/contract', '#facts th'], ['/promote', '#kit .card'], ['/terms', '.legal .card'], ['/disclaimer', '.legal .card'], ['/privacy', '.legal .card']]) {
await pg.goto(BASE + p, { waitUntil: 'domcontentloaded' }); await pg.waitForSelector(sel, { timeout: 8000 }).catch(() => {});
+7 -6
View File
@@ -3,7 +3,7 @@
// Product: the network's text-ad home. A network member (signed in through InstantAdPay / LinkSpin, membership checked with the
// hub) posts one free text ad: a headline, two lines and an https link. Their page viraladblitz.com/<username> shows their ad plus
// the ads of the 5 people above them in their hub sponsor line, so recruiting spreads an ad 5 levels down. The front page: a live
// amber ticker (Boosted ads starred), "Top ads this week" by verified clicks, 3 steps, the live ledger, contract proof.
// royal ticker (Boosted ads starred), "Top ads this week" by verified clicks, 3 steps, the live ledger, contract proof.
// Boost: $5 one-time, 500 guaranteed network views (wire.js delivers and counts them), paid in POL through VABShop and split on
// chain 10% to each of 5 sponsor levels (pass-up to the next person who has boosted) + 50% company.
// Pages: / (front), /<username> (member page), /my, /boost, /ledger, /contract, /promote, /terms, /disclaimer, /privacy, /admin.
@@ -176,7 +176,7 @@ async function memberPage(name) {
if (line.length >= C.levels) break;
let a = p.wallet ? store.adOf(p.wallet) : null;
if (!a && p.username) { const lm = store.memberByName(p.username); if (lm) a = store.adOf(lm.address); }
if (a && a.status === 'live' && a.owner !== ownerAddr && !used.has(a.id)) { used.add(a.id); line.push({ level: p.depth, ad: a }); }
if (a && a.status === 'live' && a.owner !== ownerAddr && !used.has(a.id)) { used.add(a.id); line.push({ level: line.length + 1, depth: p.depth, ad: a }); } // LEVEL n = the nth row shown (Marty 2026-11-14); depth = real place
}
const boosted = wire.pickBoosted(C.boostSlots, used);
return { known: !!(local || person), hubOk: lo.ok, stale: !!lo.stale, ownerAddr, ownerName, ownAd, line, boosted };
@@ -190,7 +190,8 @@ function issueTicket(req, page, shownIds, ref, src) {
return t;
}
const todayStats = () => { const t = store.today(); return { views: t.views || 0, vclicks: t.vclicks || 0, boosts: t.boosts || 0, ads: store.liveAds().length }; };
const joinUrl = ref => C.joinUrl.split('{ref}').join(encodeURIComponent(ref || ''));
// with no ref, the join page without a sponsor: /join/{ref} becomes the site root, ?ref={ref} is dropped
const joinUrl = ref => ref ? C.joinUrl.split('{ref}').join(encodeURIComponent(ref)) : C.joinUrl.replace(/\/join\/\{ref\}.*$/, '/').replace(/[?&]ref=\{ref\}/, '').split('{ref}').join('');
// tracking macros in an ad link, filled on every click: {clickid} a fresh id, {placement} where it was clicked
const MACRO = /\{(clickid|placement)\}|%7B(clickid|placement)%7D/gi;
function clickLink(a, placement) {
@@ -269,7 +270,7 @@ const server = http.createServer(async (req, res) => {
if (!mp.known && mp.hubOk) return json(res, 404, { error: 'No network member by that name.' });
const boostedIds = new Set(wire.activeBoosts().map(b => b.adId));
out.page = { username: mp.ownerName, known: mp.known, hubOk: mp.hubOk, ad: mp.ownAd ? wire.adCard(mp.ownAd, boostedIds.has(mp.ownAd.id)) : null,
line: mp.line.map(x => Object.assign({ level: x.level }, wire.adCard(x.ad, boostedIds.has(x.ad.id)))), boosted: mp.boosted.map(a => wire.adCard(a, true)),
line: mp.line.map(x => Object.assign({ level: x.level, depth: x.depth }, wire.adCard(x.ad, boostedIds.has(x.ad.id)))), boosted: mp.boosted.map(a => wire.adCard(a, true)),
joinUrl: joinUrl(mp.ownerName) };
if (mp.ownAd) shown.push(mp.ownAd.id); mp.line.forEach(x => shown.push(x.ad.id)); mp.boosted.forEach(a => shown.push(a.id));
ref = mp.ownerAddr;
@@ -436,8 +437,8 @@ const server = http.createServer(async (req, res) => {
if (p.startsWith('/api/')) return json(res, 404, { error: 'Not found' });
res.writeHead(404, headers({ 'Content-Type': 'text/html; charset=utf-8' }));
return res.end('<!doctype html><meta name="viewport" content="width=device-width,initial-scale=1"><title>Not found | ViralAdBlitz</title><body style="background:#0a1712;color:#e8efe9;font-family:Georgia,serif;text-align:center;padding:40px 16px"><p style="font-size:22px">Not found.</p><p><a style="color:#ffb000;font-weight:700" href="/">Back to the wire</a></p>'
+ (ZONE_404 ? '<p style="color:#8fa89a;font-size:11px;margin:24px 0 4px">Network</p><script async src="https://linkspin.app/z.js" data-zone="' + ZONE_404 + '"></script>' : '') + '</body>');
return res.end('<!doctype html><meta name="viewport" content="width=device-width,initial-scale=1"><title>Not found | ViralAdBlitz</title><body style="background:#EAF0FF;color:#0A1F6B;font-family:Inter,system-ui,sans-serif;text-align:center;padding:40px 16px"><p style="font-size:22px;font-weight:700">Not found.</p><p><a style="color:#C4111A;font-weight:700" href="/">Back to the wire</a></p>'
+ (ZONE_404 ? '<p style="color:#3E4C7A;font-size:11px;margin:24px 0 4px">Network</p><script async src="https://linkspin.app/z.js" data-zone="' + ZONE_404 + '"></script>' : '') + '</body>');
} catch (e) {
console.error('request', p, e.message);
if (!res.headersSent) json(res, 500, { error: 'Server error' });
+54 -33
View File
@@ -1,6 +1,7 @@
// Renders the site art with Playwright (local only): the icon, the OG share image, the Telegram proof cards
// (public/art/proof/vab-proof-{amber,cream,green}.png) and the promo kit (public/art/kit/vab-<angle>-<shape>.png, 3 angles x 7
// (public/art/proof/vab-proof-{royal,daylight,navy}.png) and the promo kit (public/art/kit/vab-<angle>-<shape>.png, 3 angles x 7
// shapes, ad-blocker-neutral names). Copy facts come from config.js (Boost price + views) and promokit.js (angles, shapes).
// The look is the site's "daylight cyberpunk" (approved 2026-11-14): royal blue panels, gold, red pill CTA, slanted condensed type.
// node tools/art.mjs (PLAYWRIGHT = path to the playwright package)
import fs from 'node:fs';
import path from 'node:path';
@@ -14,49 +15,68 @@ const C = require(path.join(APP, 'config.js')).get();
const { SHAPES } = require(path.join(APP, 'promokit.js'));
const ART = path.join(APP, 'public', 'art');
fs.mkdirSync(path.join(ART, 'kit'), { recursive: true }); fs.mkdirSync(path.join(ART, 'proof'), { recursive: true });
const FONTS = '<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=IBM+Plex+Mono:wght@400;600&family=IBM+Plex+Sans:wght@400;600&display=swap">';
const BASE = `*{box-sizing:border-box;margin:0}html,body{width:100%;height:100%;overflow:hidden}body{background:#0a1712;color:#e8efe9;font-family:'IBM Plex Sans',sans-serif}
.wm{font-family:'Playfair Display',Georgia,serif;font-weight:900;color:#f4efe3;letter-spacing:-.02em}.mono{font-family:'IBM Plex Mono',monospace}.amber{color:#ffb000}
.tick{background:#000;border-bottom:2px solid #ffb000;color:#ffb000;font-family:'IBM Plex Mono',monospace;white-space:nowrap;overflow:hidden}
.paper{background:#f4efe3;color:#13201a;border-top:6px solid #ffb000}.cta{background:#ffb000;color:#1a1200;font-weight:600;display:inline-block}`;
const FONTS = '<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@1,700;1,800&family=Chakra+Petch:wght@600;700&family=Inter:wght@500;600;700&family=JetBrains+Mono:wght@700&display=swap">';
const BASE = `*{box-sizing:border-box;margin:0}html,body{width:100%;height:100%;overflow:hidden}
body{background:#0A2FA8;color:#fff;font-family:Inter,sans-serif;position:relative}
body>*{position:relative}body>.net{position:absolute;inset:0;width:100%;height:100%;opacity:.22}
.wm{font-family:'Chakra Petch',sans-serif;font-weight:700;letter-spacing:.02em;white-space:nowrap}.wm b{color:#E3141E}.wm.ondark b{color:#FFC21A}
.mono{font-family:'JetBrains Mono',monospace;font-weight:700}
.disp{font-family:'Barlow Condensed',sans-serif;font-weight:800;font-style:italic;text-transform:uppercase;line-height:.92}
.gold{color:#FFC21A}.sh{text-shadow:3px 3px 0 #061A66}.shg{text-shadow:2px 2px 0 #8A5A00,4px 4px 0 #061A66}
.tick{background:#0A1F6B;border-bottom:3px solid #3D8BFF;color:#E9FBFF;font-family:'JetBrains Mono',monospace;white-space:nowrap;overflow:hidden}
.tick b{color:#FFC21A}.tick i{font-style:normal;color:#7DB2FF}
.pill{display:inline-block;background:#E3141E;color:#fff;border:3px solid #fff;border-radius:999px;font-family:'Barlow Condensed',sans-serif;font-weight:800;font-style:italic;text-transform:uppercase;box-shadow:0 4px 0 #8E0C12;white-space:nowrap;line-height:1.05}
.rib{display:inline-block;background:#E3141E;color:#fff;font-family:'Barlow Condensed',sans-serif;font-weight:800;font-style:italic;text-transform:uppercase;transform:skewX(-12deg);box-shadow:3px 3px 0 #061A66;white-space:nowrap}
.cut{clip-path:polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,8px 100%,0 calc(100% - 8px))}
.scr{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff}.scr span{white-space:nowrap}`;
const NET = '<svg class="net" viewBox="0 0 600 400" preserveAspectRatio="none"><g stroke="#9DBEFF" stroke-width="1.4" fill="none"><path d="M0 300 Q150 180 300 240 T600 120"/><path d="M0 220 Q200 90 360 160 T600 40"/><path d="M40 400 L220 120 L420 260 L600 60"/></g><g fill="#FFC21A"><circle cx="220" cy="120" r="5"/><circle cx="420" cy="260" r="5"/><circle cx="360" cy="160" r="4"/><circle cx="300" cy="240" r="4"/><circle cx="520" cy="90" r="5"/></g></svg>';
const WM = (px, dark) => `<span class="wm${dark ? ' ondark' : ''}" style="font-size:${px}px">VIRAL<b>AD</b>BLITZ</span>`;
const views = Number(C.boost.views).toLocaleString('en-US');
const ANG = {
free: { k: 'FREE FOR NETWORK MEMBERS', h: 'Post your text ad free', s: 'It runs on your page and your team\'s pages.', cta: 'Post my free ad' },
spread: { k: 'FIVE LEVELS DEEP', h: 'Your ad on your whole team\'s pages', s: 'Everyone you bring in shows your ad, five levels down.', cta: 'Get my page' },
boost: { k: 'ONE-TIME BOOST', h: '$' + C.boost.usd + ' for ' + views + ' guaranteed views', s: 'Starred on the live ticker. Never a subscription.', cta: 'Boost my ad' }
free: { k: 'FREE FOR NETWORK MEMBERS', h1: 'Post your text ad', h2: 'free', s: 'It runs on your page and your team\'s pages.', cta: 'Post my free ad' },
spread: { k: 'FIVE LEVELS DEEP', h1: 'Spread your ad', h2: '5 levels deep', s: 'Everyone you bring in shows your ad, five levels down.', cta: 'Get my page' },
boost: { k: 'ONE-TIME BOOST', h1: '$' + C.boost.usd + ' Boost', h2: views + ' views', s: views + ' guaranteed network views. Starred on the live ticker. Never a subscription.', cta: 'Boost my ad' }
};
const TICK = '▲ FREE TRAFFIC THAT CONVERTS · ★ BOOSTED: ONE LINK FOR EVERY OFFER · ▲ BUILD A LIST WITH ZERO BUDGET · ▲ ';
const TICK = '<b>★ BOOSTED</b> One link for every offer · <i>▲ LIVE</i> Free traffic tools for affiliates · <i>▲ LIVE</i> Build a list with one page · ';
const screens = f => `<div style="display:flex;align-items:flex-end;gap:${Math.round(6 * f)}px">
<div class="scr cut" style="flex:1;background:#1F66FF;border:${Math.max(2, Math.round(2 * f))}px solid #9DBEFF;padding:${Math.round(8 * f)}px 4px"><span class="disp" style="font-size:${Math.round(15 * f)}px">YOUR AD</span><span style="font-size:${Math.round(8 * f)}px;font-weight:700">level 1</span></div>
<div class="scr cut" style="flex:1.35;background:#FFC21A;color:#0A1F6B;border:${Math.max(2, Math.round(2 * f))}px solid #fff;padding:${Math.round(13 * f)}px 4px"><span class="disp" style="font-size:${Math.round(21 * f)}px;color:#0A1F6B">YOUR AD</span><span style="font-size:${Math.round(9 * f)}px;font-weight:700;color:#0A1F6B">your page</span></div>
<div class="scr cut" style="flex:1;background:#6B2BD9;border:${Math.max(2, Math.round(2 * f))}px solid #C7A8FF;padding:${Math.round(8 * f)}px 4px"><span class="disp" style="font-size:${Math.round(15 * f)}px">YOUR AD</span><span style="font-size:${Math.round(8 * f)}px;font-weight:700">level 5</span></div></div>`;
function kitHtml(angle, shape, w, h) {
const a = ANG[angle]; const m = Math.min(w, h);
if (shape === 'tile') return `<body style="display:flex;flex-direction:column;justify-content:space-between;padding:9px;border:2px solid #ffb000"><div class="wm" style="font-size:15px">ViralAdBlitz</div><div class="wm" style="font-size:${angle === 'boost' ? 20 : 17}px;line-height:1.02">${angle === 'boost' ? '$' + C.boost.usd + ' = ' + views + ' views' : angle === 'free' ? 'Free text ad' : '5 levels deep'}</div><div class="mono amber" style="font-size:10px">viraladblitz.com</div></body>`;
if (shape === 'tile') return `<body style="display:flex;flex-direction:column;justify-content:space-between;padding:8px;border:3px solid #FFC21A">${NET}${WM(12, true)}<div class="disp" style="font-size:${angle === 'spread' ? 23 : 25}px"><span class="sh">${angle === 'boost' ? '$' + C.boost.usd + ' =' : angle === 'free' ? 'Free' : '5 levels'}</span><br><span class="gold shg">${angle === 'boost' ? views + ' views' : angle === 'free' ? 'text ad' : 'deep'}</span></div><div class="mono" style="font-size:9px;color:#fff">viraladblitz.com</div></body>`;
if (shape === 'strip' || shape === 'leader') {
const big = shape === 'leader';
return `<body style="display:flex;align-items:center;gap:${big ? 18 : 10}px;padding:0 ${big ? 18 : 10}px;border-bottom:3px solid #ffb000"><div class="wm" style="font-size:${big ? 30 : 20}px;flex:0 0 auto">ViralAdBlitz</div><div style="flex:1;min-width:0"><div class="mono amber" style="font-size:${big ? 12 : 9}px;letter-spacing:1px">${a.k}</div><div class="wm" style="font-size:${big ? 24 : 15}px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis">${a.h}</div></div><div class="cta" style="font-size:${big ? 15 : 11}px;padding:${big ? '10px 14px' : '6px 8px'};flex:0 0 auto">${a.cta}</div></body>`;
return `<body style="display:flex;align-items:center;gap:${big ? 16 : 9}px;padding:0 ${big ? 16 : 9}px;border-bottom:3px solid #FFC21A">${NET}<div style="flex:0 0 auto">${WM(big ? 20 : 13, true)}</div><div style="flex:1;min-width:0"><div class="mono" style="font-size:${big ? 11 : 8}px;letter-spacing:1px;color:#7DB2FF">${a.k}</div><div class="disp" style="font-size:${big ? 36 : 22}px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis"><span class="sh">${a.h1}</span> <span class="gold shg">${a.h2}</span></div></div><span class="pill" style="font-size:${big ? 21 : 13}px;padding:${big ? '6px 16px' : '3px 9px'};flex:0 0 auto;border-width:${big ? 3 : 2}px">${a.cta} »</span></body>`;
}
if (shape === 'tower') return `<body style="display:flex;flex-direction:column"><div class="tick" style="font-size:11px;padding:6px 4px">${TICK}</div><div style="padding:14px;display:flex;flex-direction:column;gap:14px;flex:1"><div class="wm" style="font-size:24px">ViralAdBlitz</div><div class="mono amber" style="font-size:11px;letter-spacing:1px">${a.k}</div><div class="wm" style="font-size:28px;line-height:1.05">${a.h}</div><div style="font-size:14px;color:#b9c8bd;line-height:1.4">${a.s}</div><div class="paper" style="padding:10px;font-size:12px"><b style="font-family:'Playfair Display',serif;font-size:15px">Your headline</b><br>Your two lines. Your link.</div><div style="margin-top:auto"><div class="cta" style="font-size:14px;padding:10px 12px;width:100%;text-align:center">${a.cta}</div><div class="mono amber" style="font-size:10px;margin-top:8px;text-align:center">viraladblitz.com</div></div></div></body>`;
if (shape === 'tower') return `<body style="display:flex;flex-direction:column">${NET}<div class="tick" style="font-size:10px;padding:6px 4px">${TICK}</div><div style="padding:14px 12px;display:flex;flex-direction:column;gap:14px;flex:1">${WM(17, true)}<div class="mono" style="font-size:10px;letter-spacing:1px;color:#7DB2FF">${a.k}</div><div class="disp" style="font-size:38px"><span class="sh">${a.h1}</span><br><span class="gold shg">${a.h2}</span></div><div style="font-size:13px;color:#E3EBFF;line-height:1.4">${a.s}</div>${screens(.62)}<div style="margin-top:auto;text-align:center"><span class="pill" style="font-size:19px;padding:6px 12px;display:block">${a.cta} »</span><div class="mono" style="font-size:10px;margin-top:10px">viraladblitz.com</div></div></div></body>`;
// box, social, square
const f = m / 250;
return `<body style="display:flex;flex-direction:column"><div class="tick" style="font-size:${Math.round(11 * f)}px;padding:${Math.round(6 * f)}px ${Math.round(8 * f)}px">${TICK + TICK}</div>
<div style="flex:1;padding:${Math.round(16 * f)}px;display:flex;flex-direction:column;gap:${Math.round(10 * f)}px;justify-content:center">
<div style="display:flex;align-items:baseline;gap:${Math.round(8 * f)}px"><span class="wm" style="font-size:${Math.round(20 * f)}px">ViralAdBlitz</span><span class="mono amber" style="font-size:${Math.round(9 * f)}px;border:1px solid #ffb000;padding:1px 4px">LIVE</span></div>
<div class="mono amber" style="font-size:${Math.round(10 * f)}px;letter-spacing:1px">${a.k}</div>
<div class="wm" style="font-size:${Math.round((shape === 'social' ? 30 : 26) * f)}px;line-height:1.04">${a.h}</div>
<div style="font-size:${Math.round(12 * f)}px;color:#b9c8bd;line-height:1.4">${a.s}</div>
<div style="display:flex;align-items:center;gap:${Math.round(10 * f)}px;margin-top:${Math.round(4 * f)}px"><span class="cta" style="font-size:${Math.round(12 * f)}px;padding:${Math.round(7 * f)}px ${Math.round(10 * f)}px">${a.cta}</span><span class="mono" style="font-size:${Math.round(10 * f)}px;color:#8fa89a">viraladblitz.com</span></div></div></body>`;
const f = m / 250; const wide = shape === 'social';
return `<body style="display:flex;flex-direction:column">${NET}<div class="tick" style="font-size:${Math.round(10 * f)}px;padding:${Math.round(6 * f)}px ${Math.round(8 * f)}px">${TICK + TICK}</div>
<div style="flex:1;padding:${Math.round(14 * f)}px ${Math.round(16 * f)}px;display:flex;gap:${Math.round(16 * f)}px;align-items:center">
<div style="flex:1.3;min-width:0;display:flex;flex-direction:column;gap:${Math.round(8 * f)}px">
${WM(Math.round(15 * f), true)}
<div class="disp" style="font-size:${Math.round((wide ? 46 : 36) * f)}px"><span class="sh">${a.h1}</span><br><span class="gold shg">${a.h2}</span></div>
<div><span class="rib" style="font-size:${Math.round(12 * f)}px;padding:${Math.round(3 * f)}px ${Math.round(10 * f)}px">${a.k}</span></div>
<div style="font-size:${Math.round(11 * f)}px;color:#E3EBFF;line-height:1.35">${a.s}</div>
<div style="display:flex;align-items:center;gap:${Math.round(10 * f)}px;margin-top:${Math.round(4 * f)}px;flex-wrap:wrap"><span class="pill" style="font-size:${Math.round(16 * f)}px;padding:${Math.round(4 * f)}px ${Math.round(13 * f)}px;border-width:${Math.max(2, Math.round(2 * f))}px">${a.cta} »</span><span class="mono" style="font-size:${Math.round(9 * f)}px">viraladblitz.com</span></div></div>
${wide ? `<div style="flex:1;min-width:0">${screens(f * 1.05)}</div>` : ''}</div></body>`;
}
function proofHtml(variant) {
const bg = { amber: '#0a1712', cream: '#f4efe3', green: '#0b5d3b' }[variant]; const ink = variant === 'cream' ? '#13201a' : '#f4efe3'; const acc = variant === 'green' ? '#ffd166' : '#ffb000';
return `<body style="background:${bg};color:${ink};display:flex;flex-direction:column"><div class="tick" style="font-size:20px;padding:12px 16px">${TICK + TICK}</div>
<div style="flex:1;padding:48px 60px;display:flex;flex-direction:column;gap:22px;justify-content:center">
<div style="display:flex;align-items:baseline;gap:14px"><span style="font-family:'Playfair Display',serif;font-weight:900;font-size:64px;color:${ink}">ViralAdBlitz</span><span class="mono" style="font-size:18px;color:${acc};border:2px solid ${acc};padding:2px 8px">PAID ON-CHAIN</span></div>
<div style="font-family:'Playfair Display',serif;font-weight:900;font-size:58px;line-height:1.05">A Boost was just paid out on-chain</div>
<div class="mono" style="font-size:24px;color:${acc}">up to 5 sponsor levels x 10% · same transaction</div>
<div style="font-size:22px;opacity:.8">Every Boost and every payout: viraladblitz.com/ledger</div></div></body>`;
const V = { royal: { bg: '#0A2FA8', ink: '#fff', acc: '#FFC21A' }, daylight: { bg: '#EAF0FF', ink: '#0A1F6B', acc: '#C4111A' }, navy: { bg: '#0A1F6B', ink: '#fff', acc: '#FFC21A' } }[variant];
return `<body style="background:${V.bg};color:${V.ink};display:flex;flex-direction:column">${variant === 'daylight' ? '' : NET}<div class="tick" style="font-size:20px;padding:12px 16px">${TICK + TICK}</div>
<div style="flex:1;padding:44px 60px;display:flex;flex-direction:column;gap:20px;justify-content:center">
<div style="display:flex;align-items:center;gap:18px">${WM(48, variant !== 'daylight')}<span class="mono" style="font-size:18px;color:${variant === 'daylight' ? '#fff' : '#0A1F6B'};background:${variant === 'daylight' ? '#0A1F6B' : '#FFC21A'};padding:6px 12px">PAID ON-CHAIN</span></div>
<div class="disp" style="font-size:86px;${variant === 'daylight' ? 'color:#0A1F6B' : ''}"><span${variant === 'daylight' ? '' : ' class="sh"'}>A Boost was just</span><br><span style="color:${variant === 'navy' ? '#fff' : V.acc};${variant === 'daylight' ? '' : 'text-shadow:3px 3px 0 #061A66'}">paid out on-chain</span></div>
<div><span class="rib" style="font-size:30px;padding:6px 22px">Up to 5 sponsor levels x 10% · same transaction</span></div>
<div style="font-size:22px;font-weight:600;opacity:.9">Every Boost and every payout: viraladblitz.com/ledger</div></div></body>`;
}
const ogHtml = () => `<body style="display:flex;flex-direction:column"><div class="tick" style="font-size:20px;padding:12px 16px">${TICK + TICK}</div><div style="flex:1;padding:56px 64px;display:flex;flex-direction:column;gap:20px;justify-content:center">
<div class="mono amber" style="font-size:22px;letter-spacing:3px">THE NETWORK'S TEXT AD WIRE</div><div class="wm" style="font-size:74px;line-height:1.02">Your ad runs on your whole team's pages. Five levels deep.</div>
<div style="display:flex;gap:18px;align-items:center"><span class="cta" style="font-size:26px;padding:14px 22px">Post your free text ad</span><span class="wm" style="font-size:36px">ViralAdBlitz</span></div></div></body>`;
const iconHtml = () => `<body style="display:flex;align-items:center;justify-content:center;background:#0a1712"><img src="data:image/svg+xml;base64,${Buffer.from(fs.readFileSync(path.join(ART, 'mark.svg'))).toString('base64')}" style="width:192px;height:192px"></body>`;
const ogHtml = () => `<body style="display:flex;flex-direction:column">${NET}<div class="tick" style="font-size:20px;padding:12px 16px">${TICK + TICK}</div><div style="flex:1;padding:40px 60px;display:flex;gap:40px;align-items:center">
<div style="flex:1.25;display:flex;flex-direction:column;gap:20px">${WM(34, true)}<div class="disp" style="font-size:96px"><span class="sh">Spread your ad</span><br><span class="gold shg">5 levels deep</span></div>
<div><span class="rib" style="font-size:30px;padding:6px 22px">The network's text ad wire</span></div>
<div><span class="pill" style="font-size:34px;padding:8px 28px;border-width:4px">Post your free text ad »</span></div></div>
<div style="flex:1">${screens(2.1)}</div></div></body>`;
const iconHtml = () => `<body style="display:flex;align-items:center;justify-content:center;background:#EAF0FF"><img src="data:image/svg+xml;base64,${Buffer.from(fs.readFileSync(path.join(ART, 'mark.svg'))).toString('base64')}" style="width:192px;height:192px"></body>`;
const browser = await chromium.launch(); let made = 0;
async function shot(html, w, h, out) {
@@ -66,7 +86,8 @@ async function shot(html, w, h, out) {
}
await shot(iconHtml(), 192, 192, path.join(ART, 'icon-192.png'));
await shot(ogHtml(), 1200, 630, path.join(ART, 'og-share.png'));
for (const v of ['amber', 'cream', 'green']) await shot(proofHtml(v), 1200, 630, path.join(ART, 'proof', 'vab-proof-' + v + '.png'));
for (const v of ['royal', 'daylight', 'navy']) await shot(proofHtml(v), 1200, 630, path.join(ART, 'proof', 'vab-proof-' + v + '.png'));
for (const old of ['amber', 'cream', 'green']) { try { fs.unlinkSync(path.join(ART, 'proof', 'vab-proof-' + old + '.png')); } catch (e) {} }
for (const angle of Object.keys(ANG)) for (const [shape, [w, h]] of Object.entries(SHAPES)) await shot(kitHtml(angle, shape, w, h), w, h, path.join(ART, 'kit', 'vab-' + angle + '-' + shape + '.png'));
await browser.close();
console.log(made + ' images rendered');
+122 -60
View File
@@ -7,9 +7,19 @@ import path from 'node:path';
import { fileURLToPath } from 'node:url';
const PUB = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..', 'public');
const SITE = 'https://viraladblitz.com';
const V = { css: 3, common: 3, page: 3 };
const V = { css: 4, common: 4, page: 4 };
const F = { co: 'TrustClickz', addr: '615 Green Valley Drive, Moody, AL 35004', updated: 'November 14, 2026', boostUsd: 5, views: '500', days: 30 };
const FONTS = 'https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=IBM+Plex+Mono:wght@400;600&family=IBM+Plex+Sans:wght@400;600&display=swap';
const FONTS = 'https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@1,700;1,800&family=Chakra+Petch:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap';
// the daylight look's shared SVG bits (same as common.js)
const NETLINES = '<svg class="netlines" viewBox="0 0 600 400" preserveAspectRatio="none" aria-hidden="true"><g stroke="#9DBEFF" stroke-width="1" fill="none"><path d="M0 300 Q150 180 300 240 T600 120"/><path d="M0 220 Q200 90 360 160 T600 40"/><path d="M40 400 L220 120 L420 260 L600 60"/></g><g fill="#FFC21A"><circle cx="220" cy="120" r="4"/><circle cx="420" cy="260" r="4"/><circle cx="360" cy="160" r="3"/><circle cx="300" cy="240" r="3"/><circle cx="520" cy="90" r="4"/></g></svg>';
const CHECK = '<svg width="26" height="26" viewBox="0 0 26 26" aria-hidden="true"><circle cx="13" cy="13" r="12" fill="#16B85A" stroke="#FFFFFF" stroke-width="2"/><path d="M7.5 13.5 L11.5 17 L18.5 9" fill="none" stroke="#FFFFFF" stroke-width="3"/></svg>';
const ICON = {
ad: '<svg width="26" height="26" viewBox="0 0 24 24" fill="none" stroke="#0A1F6B" stroke-width="2" aria-hidden="true"><rect x="3" y="5" width="18" height="14"/><path d="M7 10h10M7 14h6"/></svg>',
team: '<svg width="26" height="26" viewBox="0 0 24 24" fill="none" stroke="#0A1F6B" stroke-width="2" aria-hidden="true"><circle cx="12" cy="5" r="2.5"/><circle cx="6" cy="18" r="2.5"/><circle cx="18" cy="18" r="2.5"/><path d="M12 7.5v4M12 11.5 6 15.5M12 11.5l6 4"/></svg>',
bars: '<svg width="26" height="26" viewBox="0 0 24 24" fill="none" stroke="#0A1F6B" stroke-width="2" aria-hidden="true"><path d="M4 20V10M10 20V6M16 20v-8M22 20V3"/></svg>'
};
const PAGEHEAD = (kicker, title, lead, extra) => ` <section class="panel hero">${NETLINES}<div class="copy">${kicker ? `<p class="kicker">${kicker}</p>` : ''}<h1>${title}</h1>${lead ? `<p class="lead">${lead}</p>` : ''}${extra || ''}</div></section>`;
const LVLBARS = '<div class="lvlbars" aria-label="Where a Boost goes: 10% to each of five levels">' + [1, 2, 3, 4, 5].map(i => `<div><span></span><b>L${i} 10%</b></div>`).join('') + '</div>';
function head(o) {
const t = o.title, d = o.desc, url = SITE + o.path;
@@ -33,7 +43,7 @@ ${o.noindex ? '<meta name="robots" content="noindex">' : `<link rel="canonical"
<meta name="twitter:title" content="${t}">
<meta name="twitter:description" content="${d}">
<meta name="twitter:image" content="${SITE}/art/og-share.png">
${o.ld ? '<script type="application/ld+json">' + JSON.stringify(o.ld) + '</script>\n' : ''}<meta name="theme-color" content="#0a1712">
${o.ld ? '<script type="application/ld+json">' + JSON.stringify(o.ld) + '</script>\n' : ''}<meta name="theme-color" content="#0A1F6B">
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="${FONTS}">
@@ -49,35 +59,62 @@ const page = (file, o, body, scripts) => fs.writeFileSync(path.join(PUB, file),
page('index.html', { path: '/', title: 'ViralAdBlitz | Your text ad on your whole team\'s pages, five levels deep',
desc: 'The network\'s text ad wire. Post one free text ad: it shows on your page and on the page of everyone you bring in, five levels down. Live ticker, top ads by verified clicks, a $5 one-time Boost.',
ld: { '@context': 'https://schema.org', '@graph': [{ '@type': 'WebSite', name: 'ViralAdBlitz', url: SITE + '/' }, { '@type': 'Organization', name: 'ViralAdBlitz', url: SITE + '/', logo: SITE + '/art/icon-192.png' }] } }, `<main class="wrap">
<section class="hero">
<div class="copy">
<p class="kicker">The network's text ad wire</p>
<h1>Your ad runs on your whole team's pages. Five levels deep.</h1>
<p class="lead">Write one text ad: a headline, two lines and your link. It shows on your page and on the page of everyone you bring in, and everyone they bring in, five levels down. Free to join for network members.</p>
<div class="row"><a class="cta" href="/my">Post my free text ad</a><a class="btn-line" href="/boost">How a Boost works</a></div>
<section class="panel hx" aria-label="ViralAdBlitz">${NETLINES}
<div class="hx-copy">
<h1 class="slant"><span class="l1">Spread your ad</span> <span class="l2">5 levels deep</span></h1>
<span class="ribbon"><span>across the whole network</span></span>
<ul class="checks slant">
<li>${CHECK}<span>One <em>free text ad</em> for network members</span></li>
<li>${CHECK}<span>Shows on <em>your team's pages</em>, 5 levels down</span></li>
<li>${CHECK}<span>Boost: <em>$${F.boostUsd} = ${F.views} guaranteed views</em></span></li>
<li>${CHECK}<span>Every payout <em>on Polygon</em>, verify any line</span></li>
</ul>
</div>
<div class="wirebox" aria-label="Today on the wire">
<span class="lab">TODAY ON THE WIRE</span>
<div class="kv"><span>Ad views</span><b id="stViews">0</b></div>
<div class="kv"><span>Verified clicks</span><b id="stClicks">0</b></div>
<div class="kv"><span>Boosts sold</span><b id="stBoosts">0</b></div>
<div class="kv"><span>Ads live</span><b id="stAds">0</b></div>
<div class="hx-art">
<div class="rise" aria-hidden="true"><span style="height:25%;background:#3D8BFF"></span><span style="height:38%;background:#3D8BFF"></span><span style="height:50%;background:#6B4BFF"></span><span style="height:64%;background:#8A3DFF"></span><span style="height:80%;background:#FFC21A"></span><span style="height:100%;background:#FFC21A"></span><svg viewBox="0 0 300 120" preserveAspectRatio="none"><path d="M10 110 C110 100 170 70 270 14" fill="none" stroke="#FFC21A" stroke-width="7"/><path d="M250 6 L290 4 L276 40 Z" fill="#FFC21A"/></svg></div>
<div class="screens" aria-label="Your ad on level 1 pages, your own page and level 5 pages">
<div class="screen l1"><b>YOUR AD</b><span>level 1 pages</span></div>
<div class="glow"><div class="screen you"><b>YOUR AD</b><span>your page</span></div></div>
<div class="screen l5"><b>YOUR AD</b><span>level 5 pages</span></div>
</div>
<div class="gchips">
<div class="gchip">${ICON.ad}<span><b>1 FREE</b><i>TEXT AD</i></span></div>
<div class="gchip">${ICON.team}<span><b>5 LEVELS</b><i>OF YOUR TEAM</i></span></div>
<div class="gchip">${ICON.bars}<span><b>${F.views}</b><i>VIEWS PER BOOST</i></span></div>
</div>
<div class="hx-cta"><a class="pill-cta" href="/my">Post my free ad<span class="chev" aria-hidden="true"> &raquo;</span></a><span class="slant-note">Free for<br>network members</span></div>
</div>
</section>
<section class="stats" aria-label="Today on the wire">
<div class="stat"><span>Ad views today</span><b id="stViews">0</b></div>
<div class="stat"><span>Verified clicks today</span><b id="stClicks">0</b></div>
<div class="stat red"><span>Boosts sold today</span><b id="stBoosts">0</b></div>
<div class="stat blue"><span>Ads live</span><b id="stAds">0</b></div>
</section>
<section id="board">
<div class="shead"><h2>Top ads this week</h2><span class="side">ranked by verified clicks</span></div>
<div class="shead"><h2>Top ads this week</h2><div class="sortg" role="group" aria-label="Show"><button type="button" class="on" data-sort="clicks" aria-pressed="true">Verified clicks</button><button type="button" data-sort="wire" aria-pressed="false">On the wire</button><button type="button" data-sort="boosted" aria-pressed="false">Boosted</button></div></div>
<div class="cards" id="boardCards"><p class="muted">Loading the board...</p></div>
</section>
<section class="steps" aria-label="How it works">
<div class="step"><span class="n">1</span><b>Post one free text ad</b><span>Sign in with your InstantAdPay or LinkSpin account. A headline, two lines and your link.</span></div>
<div class="step"><span class="n">2</span><b>Share your page</b><span>Your page shows your ad and the five people above you. Every visit shows six ads.</span></div>
<div class="step"><span class="n">3</span><b>Your ad spreads down</b><span>Everyone you bring in shows your ad on their page, five levels deep.</span></div>
<section aria-label="How it works">
<div class="shead"><h2>How your ad spreads</h2></div>
<div class="steps">
<div class="step"><span class="n">01</span><b>Post one free text ad</b><span>Sign in with your InstantAdPay or LinkSpin account. A headline, two lines and your link.</span></div>
<div class="step"><span class="n">02</span><b>Share your page</b><span>Your page shows your ad and the five people above you. Every visit shows six ads.</span></div>
<div class="step"><span class="n">03</span><b>Your ad spreads down</b><span>Everyone you bring in shows your ad on their page, five levels deep.</span></div>
</div>
</section>
<section class="band" aria-label="Boost">
<div class="txt"><span class="lab">BOOST · ONE-TIME, NEVER A SUBSCRIPTION</span><h2>$${F.boostUsd} = ${F.views} guaranteed network views</h2><p>Plus a starred spot on the ticker. Each Boost pays 10% to five levels of your sponsor line in the same transaction, and 50% to the company.</p></div>
${LVLBARS}
<a class="btn-gold" href="/boost">Boost my ad</a>
</section>
<section id="ledger">
<div class="shead"><h2>Live ledger</h2><span class="side">every Boost and every payout, straight from the chain</span></div>
<div class="shead"><h2>Live ledger</h2><span class="side">Every Boost and every payout, straight from Polygon</span></div>
<div class="tscroll"><table class="t" id="ledgerMini"><thead><tr><th>TIME CT</th><th>EVENT</th><th>MEMBER</th><th>POL</th><th>TX</th></tr></thead><tbody><tr><td colspan="5" class="muted">Loading the ledger...</td></tr></tbody></table></div>
<p class="small"><a href="/ledger">Open the full ledger</a></p>
</section>
@@ -93,8 +130,7 @@ page('index.html', { path: '/', title: 'ViralAdBlitz | Your text ad on your whol
// ---------------------------------------------------------------- member page
page('member.html', { path: '/', title: 'A member\'s page | ViralAdBlitz', desc: 'Text ads recommended by a ViralAdBlitz member and the five people above them in the network.', noindex: false }, `<main class="wrap">
<p class="kicker" id="who">RECOMMENDED</p>
<div id="own"><p class="muted">Loading...</p></div>
<div><p class="kicker" id="who">RECOMMENDED</p><div id="own"><p class="muted">Loading...</p></div></div>
<section>
<div class="shead"><h2 id="teamHead">Also recommended by the team</h2><span class="side">the five people above them in the network</span></div>
<div class="levels" id="levels"></div>
@@ -105,7 +141,7 @@ page('member.html', { path: '/', title: 'A member\'s page | ViralAdBlitz', desc:
</section>
<section class="joinbar" id="join">
<div class="txt"><b id="joinHead">Want your ad on pages like this one?</b><p id="joinText">Join free. Your ad goes on your own page and on every page you bring in, five levels down.</p></div>
<div class="row" style="margin:0"><a class="cta" id="joinBtn" href="/my">Join free</a><a class="btn-line" href="/my">I am a member: sign in</a></div>
<div class="row on-dark" style="margin:0"><a class="pill-cta" id="joinBtn" href="/my">Join free<span class="chev" aria-hidden="true"> &raquo;</span></a><a class="btn-line" href="/my">I am a member: sign in</a></div>
</section>
<p class="muted small">Advertising, not income. Nothing is promised.</p>
<div id="status" class="note" hidden></div>
@@ -114,34 +150,60 @@ page('member.html', { path: '/', title: 'A member\'s page | ViralAdBlitz', desc:
// ---------------------------------------------------------------- my page
page('my.html', { path: '/my', title: 'My page | ViralAdBlitz', desc: 'Post or edit your free text ad, share your page, and follow your Boost.', noindex: true }, `<main class="wrap">
<section class="hero"><div class="copy"><p class="kicker">Your desk</p><h1>My page</h1><p class="lead">One free text ad for network members. Share your page and your ad spreads five levels down.</p></div></section>
<section id="signin" hidden>
<div class="card">
${PAGEHEAD('Your dashboard', 'My page', 'One free text ad for network members. Share your page and your ad spreads five levels down.')}
<div class="card" style="margin-top:20px">
<h2>Sign in</h2>
<p>Sign in with your network account. Your username and your sponsor line come with you.</p>
<div class="signin"><a class="cta" id="viaIap" href="/sso/start?mode=go&amp;via=iap&amp;to=%2Fmy">Sign in with InstantAdPay</a><a class="cta" id="viaLs" href="/sso/start?mode=go&amp;via=linkspin&amp;to=%2Fmy">Sign in with LinkSpin</a><button class="btn-line" id="viaWallet" type="button">Sign in with your wallet</button></div>
<div class="signin"><a class="btn-red" id="viaIap" href="/sso/start?mode=go&amp;via=iap&amp;to=%2Fmy">Sign in with InstantAdPay</a><a class="btn-red" id="viaLs" href="/sso/start?mode=go&amp;via=linkspin&amp;to=%2Fmy">Sign in with LinkSpin</a><button class="btn-line" id="viaWallet" type="button">Sign in with your wallet</button></div>
<p class="small muted">Wallet sign-in works with SafePal or any other crypto wallet. It is a free signature that cannot move funds.</p>
<p class="small">Not in the network yet? <a id="joinLink" href="https://instantadpay.com/" target="_blank" rel="noopener">Join InstantAdPay free</a>, then come back and sign in through it.</p>
</div>
</section>
<section id="dash" hidden>
<div class="stats" id="stats"></div>
<div class="card" id="pageCard" style="margin-top:16px"></div>
<div class="card" id="adCard" style="margin-top:16px">
<h2 id="adHead">Your text ad</h2>
<p class="small" id="adNote">A headline, two lines and your https link. No link shorteners.</p>
<form class="form" id="adForm">
<label class="f">Headline <input id="fHead" maxlength="60" autocomplete="off" required><span class="cnt" id="cHead"></span></label>
<label class="f">First line <input id="fL1" maxlength="90" autocomplete="off" required><span class="cnt" id="cL1"></span></label>
<label class="f">Second line (optional) <input id="fL2" maxlength="90" autocomplete="off"><span class="cnt" id="cL2"></span></label>
<label class="f">Your link <input id="fLink" maxlength="600" autocomplete="off" inputmode="url" placeholder="https://" required></label>
<div class="row" style="margin:0"><button class="btn-green" id="adSave" type="submit">Post my free text ad</button><span class="small muted">Tracking codes work: {clickid} and {placement} are filled on every click.</span></div>
</form>
<section id="dash" class="dash" hidden>
<aside class="dside" aria-label="Dashboard">
<span class="wm">VIRAL<b>AD</b>BLITZ</span>
<nav aria-label="Dashboard sections">
<a href="#dash" class="on"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><rect x="3" y="3" width="7" height="9"/><rect x="14" y="3" width="7" height="5"/><rect x="14" y="12" width="7" height="9"/><rect x="3" y="16" width="7" height="5"/></svg>Overview</a>
<a href="#adCard"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M4 5h16v14H4z"/><path d="M8 9h8M8 13h5"/></svg>My text ad</a>
<a href="#boostCard"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M13 2 L4 14h7l-1 8 9-12h-7z"/></svg>Boosts</a>
<a href="#lineCard"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><circle cx="12" cy="5" r="2.5"/><circle cx="6" cy="18" r="2.5"/><circle cx="18" cy="18" r="2.5"/><path d="M12 7.5v4M12 11.5 6 15.5M12 11.5l6 4"/></svg>My line</a>
<a href="#earnCard"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M3 12h4l3-8 4 16 3-8h4"/></svg>Payouts</a>
<a href="/promote"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M4 12v8h16v-8M12 3v12M7 8l5-5 5 5"/></svg>Promote</a>
</nav>
<div class="who"><span id="whoVia">Signed in</span><b id="whoName"></b><code id="whoAddr"></code><button class="btn-quiet" id="signout" type="button">Sign out</button></div>
</aside>
<div class="dmain">
<div class="dtop">
<div><p class="kicker">// DASHBOARD</p><h1 id="dHello">My page</h1></div>
<div class="row" style="margin:0"><button class="btn-line" type="button" id="copyTop" hidden>Copy my page link</button><a class="btn-gold" href="/boost">Boost my ad</a></div>
</div>
<div class="stats" id="stats"></div>
<div class="dcols">
<div class="dcol-l">
<section class="dcard" id="adCard">
<div class="hd"><h2 id="adHead">My text ad</h2><span id="adBadges"></span></div>
<div id="adPrev"></div>
<p class="small" id="adNote">A headline, two lines and your https link. No link shorteners.</p>
<form class="form" id="adForm">
<label class="f">Headline <input id="fHead" maxlength="60" autocomplete="off" required><span class="cnt" id="cHead"></span></label>
<label class="f">First line <input id="fL1" maxlength="90" autocomplete="off" required><span class="cnt" id="cL1"></span></label>
<label class="f">Second line (optional) <input id="fL2" maxlength="90" autocomplete="off"><span class="cnt" id="cL2"></span></label>
<label class="f">Your link <input id="fLink" maxlength="600" autocomplete="off" inputmode="url" placeholder="https://" required></label>
<div class="row" style="margin:0"><button class="btn-red" id="adSave" type="submit">Post my free text ad</button><span class="small muted">Tracking codes work: {clickid} and {placement} are filled on every click.</span></div>
</form>
</section>
<section class="dcard" id="pageCard"></section>
<section class="dcard" id="lineCard"><div class="hd"><h2>Your line</h2><span class="side-note">the people above you, nearest first</span></div><div id="line"></div></section>
</div>
<div class="dcol-r">
<section class="dark-card" id="boostCard"><span class="lab">YOUR BOOSTS</span><div id="boosts"></div><a class="btn-gold" href="/boost" id="boostMore">Boost my ad, $${F.boostUsd}</a></section>
<section class="dcard" id="actCard"><h2>Recent activity</h2><div id="acts"></div></section>
<section class="dcard" id="earnCard"><h2>Paid to you</h2><div id="earned"></div></section>
</div>
</div>
<p class="small muted" style="margin:0">A Boost buys advertising, not income. Nothing is promised.</p>
</div>
<div class="card" id="lineCard" style="margin-top:16px"><h2>Your line</h2><div id="line"></div></div>
<div class="card" id="boostCard" style="margin-top:16px"><h2>Your Boosts</h2><div id="boosts"></div><div class="row"><a class="cta" href="/boost">Boost my ad</a></div></div>
<div class="card" id="earnCard" style="margin-top:16px"><h2>Paid to you</h2><div id="earned"></div></div>
<div class="row"><button class="btn-quiet" id="signout" type="button">Sign out</button></div>
</section>
<div id="status" class="note" hidden></div>
</main>
@@ -149,21 +211,21 @@ page('my.html', { path: '/my', title: 'My page | ViralAdBlitz', desc: 'Post or e
// ---------------------------------------------------------------- boost
page('boost.html', { path: '/boost', title: 'Boost | ViralAdBlitz', desc: 'A $5 one-time Boost buys 500 guaranteed network views for your text ad, a starred spot on the live ticker and extra places on member pages. Split on-chain five levels up your line.' }, `<main class="wrap">
<section class="hero" style="align-items:stretch">
<div class="copy" style="display:flex;flex-direction:column;gap:14px">
<p class="kicker">One-time, never a subscription</p>
<h1>Boost your text ad across the network</h1>
<p class="lead" style="margin:0">A Boost puts your ad in front of more people: <b id="bViews">500</b> guaranteed network views, a starred spot on the live ticker, and an extra place on the five-level pages. Paid in POL on Polygon.</p>
<p class="small muted" style="margin:0">Views count only from verified visitors: a real browser that keeps the page open and visible for a few seconds, once per visitor per day. If the views are not all delivered on ViralAdBlitz within <span id="bDays">30</span> days, the rest is finished through Network Ad Space.</p>
<section class="panel hx" style="align-items:stretch">${NETLINES}
<div class="hx-copy">
<p class="kicker" style="color:var(--gold);margin:0">One-time, never a subscription</p>
<h1 class="slant sm"><span class="l1">Boost your text ad</span> <span class="l2">across the network</span></h1>
<p class="lead" style="margin:0;color:#E3EBFF">A Boost puts your ad in front of more people: <b id="bViews">500</b> guaranteed network views, a starred spot on the live ticker, and an extra place on the five-level pages. Paid in POL on Polygon.</p>
<p class="small" style="margin:0;color:var(--on-dark)">Views count only from verified visitors: a real browser that keeps the page open and visible for a few seconds, once per visitor per day. If the views are not all delivered on ViralAdBlitz within <span id="bDays">30</span> days, the rest is finished through Network Ad Space.</p>
</div>
<div class="price">
<span class="lab">BOOST PACK</span>
<span class="amt" id="bUsd">$5</span>
<span class="pol" id="bPol">about ... POL at today's price</span>
<ul><li><span id="bViews2">500</span> guaranteed network views</li><li>Starred spot on the live ticker</li><li>Extra place on the five-level pages</li></ul>
<ul class="checks plain"><li>${CHECK}<span><b id="bViews2">500</b> guaranteed network views</span></li><li>${CHECK}<span>Starred spot on the live ticker</span></li><li>${CHECK}<span>Extra place on the five-level pages</span></li></ul>
<label class="qty">How many <select id="bQty"></select></label>
<button type="button" class="btn-green" id="bBuy">Boost with SafePal or any other crypto wallet</button>
<span class="small" id="bWho" style="color:var(--paper-sub)"></span>
<button type="button" class="btn-gold" id="bBuy">Boost with SafePal or any other crypto wallet</button>
<span class="small" id="bWho"></span>
</div>
</section>
<section>
@@ -186,7 +248,7 @@ page('boost.html', { path: '/boost', title: 'Boost | ViralAdBlitz', desc: 'A $5
<h2>Every sale is posted in Telegram</h2>
<p class="sub" style="margin:0">Each Boost posts a card to the network's Telegram with the week's stats and a link to verify the transaction, and every payout gets its own line. The same events show as toasts on the site and rows in the live ledger.</p>
</div>
<div class="card" style="flex:1 1 360px"><span class="small muted">Telegram · payments topic</span><p style="margin:8px 0 0"><b style="font-family:var(--disp);color:var(--cream);font-size:20px">ViralAdBlitz</b><br><span class="mono" style="color:var(--amber)">@member boosted an ad</span><br><span class="mono small">This week: Boosts, ads live, verified clicks</span></p><p class="small">Level payouts in the same transaction. <a href="/ledger">Verify</a></p></div>
<div class="card" style="flex:1 1 360px;border-left:6px solid var(--gold)"><span class="small muted">Telegram · payments topic</span><p style="margin:8px 0 0"><b style="font-family:var(--head);color:var(--ink);font-size:20px">ViralAdBlitz</b><br><span class="mono" style="color:var(--link);font-weight:700">@member boosted an ad</span><br><span class="mono small">This week: Boosts, ads live, verified clicks</span></p><p class="small">Level payouts in the same transaction. <a href="/ledger">Verify</a></p></div>
</section>
<div id="status" class="note" hidden></div>
</main>
@@ -194,7 +256,7 @@ page('boost.html', { path: '/boost', title: 'Boost | ViralAdBlitz', desc: 'A $5
// ---------------------------------------------------------------- ledger
page('ledger.html', { path: '/ledger', title: 'Live Ledger | ViralAdBlitz', desc: 'Every ViralAdBlitz Boost and every level payout, read from the Polygon contract, with a link to verify each transaction.' }, `<main class="wrap">
<section class="hero"><div class="copy"><p class="kicker">Straight from the chain</p><h1>Live ledger</h1><p class="lead">Every Boost and every payout. Each row links to its transaction on Polygonscan, so you can check it yourself.</p></div></section>
${PAGEHEAD('Straight from the chain', 'Live ledger', 'Every Boost and every payout. Each row links to its transaction on Polygonscan, so you can check it yourself.')}
<div class="stats" id="totals"></div>
<section>
<div class="tscroll"><table class="t" id="rows"><thead><tr><th>TIME CT</th><th>BOOST</th><th>PAID IN THE SAME TRANSACTION</th><th>TX</th></tr></thead><tbody><tr><td colspan="4" class="muted">Loading the ledger...</td></tr></tbody></table></div>
@@ -206,7 +268,7 @@ page('ledger.html', { path: '/ledger', title: 'Live Ledger | ViralAdBlitz', desc
// ---------------------------------------------------------------- contract
page('contract.html', { path: '/contract', title: 'Contract Proof | ViralAdBlitz', desc: 'The ViralAdBlitz Boost contract on Polygon: owner, company, keeper and the fixed five-level split, read live from the chain.' }, `<main class="wrap">
<section class="hero"><div class="copy"><p class="kicker">Read live from Polygon</p><h1>Contract proof</h1><p class="lead">Every Boost is paid to one smart contract on Polygon. It splits the payment in the same transaction. Check every number here yourself.</p></div></section>
${PAGEHEAD('Read live from Polygon', 'Contract proof', 'Every Boost is paid to one smart contract on Polygon. It splits the payment in the same transaction. Check every number here yourself.')}
<div class="card"><h2>The contract</h2><table class="facts" id="facts"><tbody><tr><td class="muted">Reading the contract...</td></tr></tbody></table></div>
<section>
<div class="shead"><h2>Where each Boost goes</h2></div>
@@ -228,10 +290,10 @@ page('contract.html', { path: '/contract', title: 'Contract Proof | ViralAdBlitz
// ---------------------------------------------------------------- promote
page('promote.html', { path: '/promote', title: 'Promote | ViralAdBlitz', desc: 'Your ViralAdBlitz links, creatives in every common size, and copy you can paste anywhere.' }, `<main class="wrap">
<section class="hero"><div class="copy"><p class="kicker">Share the wire</p><h1>Promote ViralAdBlitz</h1><p class="lead">Your links, creatives in every common size, and copy you can paste anywhere. Everything carries your network username.</p></div></section>
${PAGEHEAD('Share the wire', 'Promote ViralAdBlitz', 'Your links, creatives in every common size, and copy you can paste anywhere. Everything carries your network username.')}
<div class="card" id="whoCard"><h3>Your network username</h3>
<p class="small" id="whoNote">Your InstantAdPay or LinkSpin username works here. Sign in on <a href="/my">My page</a> and it fills in by itself.</p>
<form class="kit-who" id="whoForm"><input id="whoIn" autocomplete="off" spellcheck="false" maxlength="42" placeholder="your username"><button class="cta" type="submit">Use it</button></form></div>
<form class="kit-who" id="whoForm"><input id="whoIn" autocomplete="off" spellcheck="false" maxlength="42" placeholder="your username"><button class="btn-red" type="submit">Use it</button></form></div>
<div id="status" class="note" hidden></div>
<div id="kit" style="display:flex;flex-direction:column;gap:16px"><p class="muted">Loading the kit...</p></div>
</main>
@@ -239,7 +301,7 @@ page('promote.html', { path: '/promote', title: 'Promote | ViralAdBlitz', desc:
// ---------------------------------------------------------------- admin
page('admin.html', { path: '/admin', title: 'Admin | ViralAdBlitz', desc: 'ViralAdBlitz admin.', noindex: true }, `<main class="wrap">
<section class="hero"><div class="copy"><h1>Admin</h1></div></section>
${PAGEHEAD('', 'Admin', '')}
<div class="card"><form class="kit-who" id="tokForm"><input id="tok" type="password" autocomplete="off" placeholder="admin token"><button class="cta" type="submit">Load</button></form></div>
<div class="card"><h3>Status</h3><pre class="kit-pre" id="statusOut">Enter the token.</pre></div>
<div class="card"><h3>Boosts</h3><div class="tscroll"><table class="t" id="boostRows"><tbody></tbody></table></div></div>
@@ -252,7 +314,7 @@ page('admin.html', { path: '/admin', title: 'Admin | ViralAdBlitz', desc: 'Viral
// ---------------------------------------------------------------- legal (one source of facts)
const legal = (file, p, title, lead, cards) => page(file, { path: p, title: title + ' | ViralAdBlitz', desc: lead }, `<main class="wrap legal">
<section class="hero"><div class="copy"><h1>${title}</h1><p class="lead">${lead}</p><p class="muted small">Last updated ${F.updated}</p></div></section>
${PAGEHEAD('ViralAdBlitz', title, lead, `<p class="muted small">Last updated ${F.updated}</p>`)}
${cards.map(c => ` <div class="card"><h2>${c[0]}</h2>${c[1]}</div>`).join('\n')}
</main>
`, ['static.js']);