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:
+122
-60
@@ -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"> »</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"> »</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&via=iap&to=%2Fmy">Sign in with InstantAdPay</a><a class="cta" id="viaLs" href="/sso/start?mode=go&via=linkspin&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&via=iap&to=%2Fmy">Sign in with InstantAdPay</a><a class="btn-red" id="viaLs" href="/sso/start?mode=go&via=linkspin&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']);
|
||||
|
||||
Reference in New Issue
Block a user