How it works page /how (Marty 2026-11-15: "a How It Works section with maybe a diagram"): three accessible inline SVG diagrams in the daylight look (your ad spreading five levels down with YOUR ad in the matching LEVEL row; what a member page shows; where a $5 Boost goes with the pass-up skip over a non-buyer and the 50% company share), What counts as a view cards, 500-view delivery (ticker star, Boosted places, Network Ad Space after 30 days), Start in 3 steps with CTAs, FAQ with FAQPage schema. Linked from the nav, the footer and the front page ("How a Boost works", "See how it works"); /how reserved from usernames, in the sitemap; css v6, common v7. Smoke 194/194 (new: /how content, links, sitemap, desktop + phone render, no dashes, no console errors).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+3
-3
@@ -22,7 +22,7 @@
|
||||
<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=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=5">
|
||||
<link rel="stylesheet" href="/assets/vab.css?v=6">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
@@ -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=6"></script>
|
||||
<script src="/assets/admin.js?v=5"></script>
|
||||
<script src="/assets/common.js?v=7"></script>
|
||||
<script src="/assets/admin.js?v=6"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -18,7 +18,7 @@ window.VAB = (function () {
|
||||
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']];
|
||||
const links = [['/#board', 'Top ads'], ['/how', 'How it works'], ['/my', 'My page'], ['/boost', 'Boost'], ['/ledger', 'Ledger'], ['/contract', 'Contract'], ['/promote', 'Promote']];
|
||||
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>';
|
||||
@@ -102,7 +102,7 @@ window.VAB = (function () {
|
||||
const f = document.createElement('footer'); f.className = 'foot';
|
||||
f.innerHTML = '<div class="wrap"><p><b>ViralAdBlitz</b>, the network\'s text ad wire</p>'
|
||||
+ '<p>A Boost buys advertising, not income. Nothing is promised.</p>'
|
||||
+ '<p><a href="/">Front page</a> · <a href="/my">My page</a> · <a href="/boost">Boost</a> · <a href="/promote">Promote</a></p>'
|
||||
+ '<p><a href="/">Front page</a> · <a href="/how">How it works</a> · <a href="/my">My page</a> · <a href="/boost">Boost</a> · <a href="/promote">Promote</a></p>'
|
||||
+ '<p class="legal-links"><a href="/terms">Terms</a> · <a href="/disclaimer">Earnings Disclaimer</a> · <a href="/privacy">Privacy</a> · <a href="/contract">Contract</a> · <a href="/ledger">Ledger</a> · <a href="https://instantadpay.com/support" target="_blank" rel="noopener">Support</a></p>'
|
||||
+ '<p class="co">TrustClickz · 615 Green Valley Drive, Moody, AL 35004</p><p class="netline"></p></div>';
|
||||
document.body.appendChild(f);
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
// How it works (/how): a plain page with nav, the ticker (its views count like any page) and the footer.
|
||||
(function () { VAB.renderNav('/how'); VAB.renderFooter(); VAB.wire('other').catch(() => {}); })();
|
||||
@@ -380,3 +380,58 @@ footer.foot .here{color:var(--ink);font-weight:700}
|
||||
.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}
|
||||
|
||||
/* How it works page (/how): diagrams are inline SVG, text styled here so it follows the type scale */
|
||||
.shead a.side{color:var(--link);font-weight:600}
|
||||
.jump{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 0;padding:0;list-style:none}
|
||||
.jump a{display:inline-flex;gap:8px;align-items:center;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.4);color:#fff;text-decoration:none;padding:9px 14px;font:600 14px var(--body);clip-path:var(--cuts)}
|
||||
.jump a b{font:700 12px var(--mono);color:var(--gold)}
|
||||
.jump a:hover{background:rgba(255,255,255,.2);color:#fff}
|
||||
.hsec{scroll-margin-top:16px}
|
||||
.hsec .shead .kicker{margin:0 0 6px}
|
||||
.hsplit{display:flex;flex-wrap:wrap;gap:28px;align-items:flex-start}
|
||||
.hsplit>.dg{flex:1 1 400px;max-width:520px}
|
||||
.htxt{flex:999 1 340px;min-width:0;display:flex;flex-direction:column;gap:18px}
|
||||
.dg{background:var(--card);border:1px solid var(--line);padding:22px;clip-path:var(--cut);min-width:0;margin:0}
|
||||
.dg.sm{max-width:440px;width:100%;border-top:6px solid var(--blue2)}
|
||||
.dg svg{display:block;width:100%;height:auto}
|
||||
.dg figcaption{margin-top:14px;font-size:13.5px;color:var(--sub);line-height:1.5}
|
||||
@media (max-width:600px){.dg{padding:12px}.hsplit>.dg{flex-basis:100%}}
|
||||
.dg .sv-tag{font:700 12px var(--mono);letter-spacing:.5px}
|
||||
.dg .sv-lv{font:700 12.5px var(--mono)}
|
||||
.dg .sv-h{font:700 18px var(--head)}
|
||||
.dg .sv-h2{font:700 14.5px var(--head)}
|
||||
.dg .sv-big{font:700 23px var(--head)}
|
||||
.dg .sv-b{font:500 13px var(--body)}
|
||||
.dg .sv-s{font:500 12.5px var(--body)}
|
||||
.dg .sv-url{font:500 12px var(--mono)}
|
||||
.dg .sv-j{font:700 14.5px var(--head)}
|
||||
.legend{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0;padding:0;list-style:none;font-size:13.5px;color:var(--ink2)}
|
||||
.legend li{display:flex;align-items:center;gap:8px}
|
||||
.legend i{width:18px;height:12px;display:inline-block;flex:none}
|
||||
.hpts{margin:0;padding:0;list-style:none;counter-reset:hp;display:flex;flex-direction:column;gap:14px}
|
||||
.hpts li{counter-increment:hp;display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:14px;row-gap:2px;background:var(--card);border:1px solid var(--line);padding:16px 18px;clip-path:var(--cut)}
|
||||
.hpts li:before{content:counter(hp,decimal-leading-zero);grid-row:1 / span 2;width:40px;height:40px;display:flex;align-items:center;justify-content:center;font:700 17px var(--head);background:var(--tint);color:var(--blue-ink);clip-path:var(--cuts)}
|
||||
.hpts b{font:700 18px var(--head);color:var(--ink);line-height:1.25}
|
||||
.hpts span{color:var(--ink2);line-height:1.5}
|
||||
.vcards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}
|
||||
.vcard{background:var(--card);border:1px solid var(--line);padding:22px;display:flex;flex-direction:column;gap:8px;clip-path:var(--cut);min-width:0;border-top:5px solid var(--blue2)}
|
||||
.vcard .ic{width:42px;height:42px;display:flex;align-items:center;justify-content:center;background:var(--royal);color:var(--gold);clip-path:var(--cuts);margin-bottom:4px}
|
||||
.vcard b{font:700 18px var(--head);color:var(--ink);line-height:1.25}
|
||||
.vcard span:not(.ic){color:var(--ink2);line-height:1.5}
|
||||
.deliv{display:flex;flex-direction:column;gap:0;background:var(--royal);clip-path:var(--cut);padding:8px 20px}
|
||||
.deliv>div{display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:14px;padding:14px 0;border-top:1px solid var(--royal3)}
|
||||
.deliv>div:first-child{border-top:0}
|
||||
.deliv .dn{grid-row:1 / span 2;width:34px;height:34px;display:flex;align-items:center;justify-content:center;background:var(--gold);color:var(--ink);font:700 16px var(--head);clip-path:var(--cuts)}
|
||||
.deliv b{font:700 17px var(--head);color:#fff}
|
||||
.deliv span:not(.dn){color:var(--on-dark);line-height:1.5;font-size:15px}
|
||||
.faq{display:flex;flex-direction:column;gap:10px}
|
||||
.faq details{background:var(--card);border:1px solid var(--line);clip-path:var(--cut)}
|
||||
.faq summary{list-style:none;cursor:pointer;padding:18px 56px 18px 20px;font:700 18px var(--head);color:var(--ink);position:relative;line-height:1.3}
|
||||
.faq summary::-webkit-details-marker{display:none}
|
||||
.faq summary:after{content:'+';position:absolute;right:20px;top:50%;transform:translateY(-50%);width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:var(--tint);color:var(--blue-ink);font:700 20px var(--head);transition:transform .2s}
|
||||
.faq details[open] summary:after{transform:translateY(-50%) rotate(45deg);background:var(--gold);color:var(--ink)}
|
||||
.faq summary:focus-visible{outline:3px solid var(--blue);outline-offset:-3px}
|
||||
.faq details p{margin:0;padding:0 20px 20px;color:var(--ink2);line-height:1.6;max-width:820px}
|
||||
.how .joinbar .row{gap:14px}
|
||||
@media (max-width:600px){.faq summary{font-size:16.5px;padding:16px 52px 16px 16px}.faq details p{padding:0 16px 16px}.hpts li{padding:14px}}
|
||||
|
||||
+5
-5
@@ -22,7 +22,7 @@
|
||||
<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=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=5">
|
||||
<link rel="stylesheet" href="/assets/vab.css?v=6">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
@@ -67,9 +67,9 @@
|
||||
</section>
|
||||
<div id="status" class="note" hidden></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=6"></script>
|
||||
<script src="/assets/wallet.js?v=5"></script>
|
||||
<script src="/assets/buy.js?v=5"></script>
|
||||
<script src="/assets/boost.js?v=5"></script>
|
||||
<script src="/assets/common.js?v=7"></script>
|
||||
<script src="/assets/wallet.js?v=6"></script>
|
||||
<script src="/assets/buy.js?v=6"></script>
|
||||
<script src="/assets/boost.js?v=6"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<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=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=5">
|
||||
<link rel="stylesheet" href="/assets/vab.css?v=6">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
@@ -44,7 +44,7 @@
|
||||
</ol></div>
|
||||
<div id="status" class="note" hidden></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=6"></script>
|
||||
<script src="/assets/contract.js?v=5"></script>
|
||||
<script src="/assets/common.js?v=7"></script>
|
||||
<script src="/assets/contract.js?v=6"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<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=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=5">
|
||||
<link rel="stylesheet" href="/assets/vab.css?v=6">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap legal">
|
||||
@@ -33,7 +33,7 @@
|
||||
<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=6"></script>
|
||||
<script src="/assets/static.js?v=5"></script>
|
||||
<script src="/assets/common.js?v=7"></script>
|
||||
<script src="/assets/static.js?v=6"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+135
File diff suppressed because one or more lines are too long
+5
-5
@@ -23,7 +23,7 @@
|
||||
<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=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=5">
|
||||
<link rel="stylesheet" href="/assets/vab.css?v=6">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
@@ -67,7 +67,7 @@
|
||||
</section>
|
||||
|
||||
<section aria-label="How it works">
|
||||
<div class="shead"><h2>How your ad spreads</h2></div>
|
||||
<div class="shead"><h2>How your ad spreads</h2><a class="side" href="/how">See how it works, in pictures</a></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>
|
||||
@@ -79,7 +79,7 @@
|
||||
<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>
|
||||
<div class="row on-dark" style="margin:0"><a class="btn-gold" href="/boost">Boost my ad</a><a class="btn-line" href="/how#boost">How a Boost works</a></div>
|
||||
</section>
|
||||
|
||||
<section id="ledger">
|
||||
@@ -95,7 +95,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=6"></script>
|
||||
<script src="/assets/front.js?v=5"></script>
|
||||
<script src="/assets/common.js?v=7"></script>
|
||||
<script src="/assets/front.js?v=6"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+3
-3
@@ -22,7 +22,7 @@
|
||||
<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=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=5">
|
||||
<link rel="stylesheet" href="/assets/vab.css?v=6">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
@@ -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=6"></script>
|
||||
<script src="/assets/ledger.js?v=5"></script>
|
||||
<script src="/assets/common.js?v=7"></script>
|
||||
<script src="/assets/ledger.js?v=6"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+3
-3
@@ -22,7 +22,7 @@
|
||||
<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=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=5">
|
||||
<link rel="stylesheet" href="/assets/vab.css?v=6">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
@@ -42,7 +42,7 @@
|
||||
<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=6"></script>
|
||||
<script src="/assets/member.js?v=5"></script>
|
||||
<script src="/assets/common.js?v=7"></script>
|
||||
<script src="/assets/member.js?v=6"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+4
-4
@@ -22,7 +22,7 @@
|
||||
<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=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=5">
|
||||
<link rel="stylesheet" href="/assets/vab.css?v=6">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
@@ -84,8 +84,8 @@
|
||||
</section>
|
||||
<div id="status" class="note" hidden></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=6"></script>
|
||||
<script src="/assets/wallet.js?v=5"></script>
|
||||
<script src="/assets/my.js?v=5"></script>
|
||||
<script src="/assets/common.js?v=7"></script>
|
||||
<script src="/assets/wallet.js?v=6"></script>
|
||||
<script src="/assets/my.js?v=6"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+3
-3
@@ -22,7 +22,7 @@
|
||||
<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=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=5">
|
||||
<link rel="stylesheet" href="/assets/vab.css?v=6">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap legal">
|
||||
@@ -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=6"></script>
|
||||
<script src="/assets/static.js?v=5"></script>
|
||||
<script src="/assets/common.js?v=7"></script>
|
||||
<script src="/assets/static.js?v=6"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+4
-4
@@ -22,7 +22,7 @@
|
||||
<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=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=5">
|
||||
<link rel="stylesheet" href="/assets/vab.css?v=6">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
@@ -33,8 +33,8 @@
|
||||
<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=6"></script>
|
||||
<script src="/assets/kitpage.js?v=5"></script>
|
||||
<script src="/assets/promote.js?v=5"></script>
|
||||
<script src="/assets/common.js?v=7"></script>
|
||||
<script src="/assets/kitpage.js?v=6"></script>
|
||||
<script src="/assets/promote.js?v=6"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+3
-3
@@ -22,7 +22,7 @@
|
||||
<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=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=5">
|
||||
<link rel="stylesheet" href="/assets/vab.css?v=6">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap legal">
|
||||
@@ -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=6"></script>
|
||||
<script src="/assets/static.js?v=5"></script>
|
||||
<script src="/assets/common.js?v=7"></script>
|
||||
<script src="/assets/static.js?v=6"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+14
-2
@@ -195,9 +195,14 @@ async function main() {
|
||||
|
||||
console.log('3. pages');
|
||||
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); }
|
||||
for (const p of ['/', '/how', '/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(/<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');
|
||||
r = await anon.req('/how'); const how = await r.text();
|
||||
ok((how.match(/<svg viewBox="[^"]+" role="img" aria-labelledby="[^"]+"/g) || []).length === 3 && /Your ad spreads down your team/.test(how) && /What counts as a view/.test(how) && /Boost: where your \$5 goes/.test(how) && /Start in 3 steps/.test(how)
|
||||
&& (how.match(/<details>/g) || []).length >= 5 && /PASSED OVER/.test(how) && /A Boost buys advertising, not income\. Nothing is promised\./.test(how) && /SafePal or any other crypto wallet/.test(how) && !/[—–]/.test(how) && /"@type":"FAQPage"/.test(how), 'How it works page: 3 accessible diagrams, 4 sections, FAQ, pass-up shown, copy rules', how.length);
|
||||
ok(/href="\/how#boost">How a Boost works</.test(home) && /href="\/how"/.test(home) && /'\/how', 'How it works'/.test(fs.readFileSync(path.join(APP, 'public/assets/common.js'), 'utf8')) && /<a href="\/how">How it works<\/a>/.test(fs.readFileSync(path.join(APP, 'public/assets/common.js'), 'utf8')), 'How it works linked from the nav, the footer and the front page ("How a Boost works")');
|
||||
ok((await (await anon.req('/sitemap.xml')).text()).includes('/how</loc>'), 'sitemap lists /how');
|
||||
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)');
|
||||
@@ -460,13 +465,20 @@ const mtop = await anon.json('/api/wire?page=member&u=topdog');
|
||||
// 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']]) {
|
||||
for (const [p, sel] of [['/', '#boardCards .paper'], ['/how', '.dg svg[role=img]'], ['/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(() => {});
|
||||
const found = await pg.$$eval(sel, els => els.length);
|
||||
const wide = await pg.evaluate(() => document.documentElement.scrollWidth - window.innerWidth);
|
||||
ok(found > 0 && wide <= 1, label + ' ' + p + ': renders (' + sel + ') with no sideways scroll', { found, wide });
|
||||
await pg.screenshot({ path: path.join(OUT, label + '-' + (p === '/' ? 'front' : p.slice(1)) + '.png'), fullPage: true });
|
||||
}
|
||||
{ const cerr = [], bad = []; const onC = m => { if (m.type() === 'error' && !/Failed to load resource|net::ERR_FAILED/.test(m.text())) cerr.push(m.text()); }; const onR = rs => { if (rs.url().startsWith(BASE) && rs.status() >= 400) bad.push(rs.status() + ' ' + rs.url()); };
|
||||
pg.on('console', onC); pg.on('response', onR);
|
||||
await pg.goto(BASE + '/how', { waitUntil: 'load' }); await pg.waitForSelector('#ticker .run a', { timeout: 8000 }).catch(() => {});
|
||||
const hv = await pg.evaluate(() => ({ svgs: [...document.querySelectorAll('.dg svg')].map(s => Math.round(s.getBoundingClientRect().width)), dash: /[—–]/.test(document.body.innerText), nav: !!document.querySelector('nav.top a.on[href="/how"]'), foot: !!document.querySelector('footer a[href="/how"]'), wide: document.documentElement.scrollWidth - window.innerWidth }));
|
||||
await pg.click('.faq details summary'); const opened = await pg.$eval('.faq details', d => d.open);
|
||||
ok(hv.svgs.length === 3 && hv.svgs.every(w => w >= 280) && !hv.dash && hv.nav && hv.foot && hv.wide <= 1 && opened && !cerr.length && !bad.length, label + ' /how: 3 diagrams at readable width, no dashes, nav on, footer link, FAQ opens, no console errors, no failed same-origin requests', { hv, opened, cerr, bad });
|
||||
pg.off('console', onC); pg.off('response', onR); }
|
||||
await pg.goto(BASE + '/', { waitUntil: 'domcontentloaded' }); await pg.waitForSelector('#ticker .run a', { timeout: 8000 }).catch(() => {});
|
||||
ok((await pg.$$eval('#ticker .run a', els => els.length)) > 0 && (await pg.textContent('footer')).includes('TrustClickz') && /Part of the network/.test(await pg.textContent('footer')), label + ': ticker runs; footer has the company line and the network line');
|
||||
await pg.goto(BASE + '/owner', { waitUntil: 'domcontentloaded' }); await pg.waitForSelector('#levels .lvl a[data-go]', { timeout: 8000 }).catch(() => {});
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// 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.
|
||||
// Pages: / (front), /<username> (member page), /how, /my, /boost, /ledger, /contract, /promote, /terms, /disclaimer, /privacy, /admin.
|
||||
'use strict';
|
||||
const http = require('http');
|
||||
const fs = require('fs');
|
||||
@@ -156,9 +156,9 @@ function oldLink(u) {
|
||||
}
|
||||
|
||||
const ZONE_404 = 'ls-c6c515'; // LinkSpin zone "ViralAdBlitz not found" (300x250) on Marty's LinkSpin account (2026-11-15); '' = off
|
||||
const PAGES = { '/': 'index.html', '/my': 'my.html', '/boost': 'boost.html', '/ledger': 'ledger.html', '/contract': 'contract.html', '/admin': 'admin.html',
|
||||
const PAGES = { '/': 'index.html', '/how': 'how.html', '/my': 'my.html', '/boost': 'boost.html', '/ledger': 'ledger.html', '/contract': 'contract.html', '/admin': 'admin.html',
|
||||
'/terms': 'terms.html', '/disclaimer': 'disclaimer.html', '/privacy': 'privacy.html' };
|
||||
const RESERVED = new Set(['api', 'assets', 'art', 'go', 'r', 'sso', 'health', 'promote', 'sitemap.xml', 'robots.txt', 'favicon.ico', 'index.php', 'my', 'boost', 'ledger', 'contract', 'admin', 'terms', 'disclaimer', 'privacy']);
|
||||
const RESERVED = new Set(['api', 'assets', 'art', 'go', 'r', 'sso', 'health', 'promote', 'sitemap.xml', 'robots.txt', 'favicon.ico', 'index.php', 'how', 'my', 'boost', 'ledger', 'contract', 'admin', 'terms', 'disclaimer', 'privacy']);
|
||||
const challenges = new Map();
|
||||
const tickets = new Map();
|
||||
const srcHost = raw => { try { const u = new URL(String(raw || '')); if (!/^https?:$/.test(u.protocol)) return ''; const h = u.hostname.toLowerCase().replace(/^www\./, ''); return h === C.site || h.endsWith('.' + C.site) || !h.includes('.') ? '' : h.slice(0, 80); } catch (e) { return ''; } };
|
||||
@@ -227,7 +227,7 @@ const server = http.createServer(async (req, res) => {
|
||||
if (/^\/r\/[^/]+$/.test(p)) { res.writeHead(302, { Location: '/' + encodeURIComponent(decodeURIComponent(p.slice(3))) }); return res.end(); }
|
||||
if (p === '/sitemap.xml') {
|
||||
const day = new Date().toISOString().slice(0, 10);
|
||||
const urls = ['/', '/boost', '/ledger', '/contract', '/promote', '/terms', '/disclaimer', '/privacy'].map(x => '<url><loc>https://' + C.site + x + '</loc><lastmod>' + day + '</lastmod></url>').join('');
|
||||
const urls = ['/', '/how', '/boost', '/ledger', '/contract', '/promote', '/terms', '/disclaimer', '/privacy'].map(x => '<url><loc>https://' + C.site + x + '</loc><lastmod>' + day + '</lastmod></url>').join('');
|
||||
res.writeHead(200, headers({ 'Content-Type': 'application/xml; charset=utf-8', 'Cache-Control': 'public, max-age=3600' }));
|
||||
return res.end('<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' + urls + '</urlset>');
|
||||
}
|
||||
|
||||
+188
-3
@@ -7,7 +7,7 @@ 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: 5, common: 6, page: 5 };
|
||||
const V = { css: 6, common: 7, page: 6 };
|
||||
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=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)
|
||||
@@ -99,7 +99,7 @@ page('index.html', { path: '/', title: 'ViralAdBlitz | Your text ad on your whol
|
||||
</section>
|
||||
|
||||
<section aria-label="How it works">
|
||||
<div class="shead"><h2>How your ad spreads</h2></div>
|
||||
<div class="shead"><h2>How your ad spreads</h2><a class="side" href="/how">See how it works, in pictures</a></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>
|
||||
@@ -111,7 +111,7 @@ page('index.html', { path: '/', title: 'ViralAdBlitz | Your text ad on your whol
|
||||
<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>
|
||||
<div class="row on-dark" style="margin:0"><a class="btn-gold" href="/boost">Boost my ad</a><a class="btn-line" href="/how#boost">How a Boost works</a></div>
|
||||
</section>
|
||||
|
||||
<section id="ledger">
|
||||
@@ -349,4 +349,189 @@ legal('privacy.html', '/privacy', 'Privacy Policy', 'What ViralAdBlitz keeps abo
|
||||
['Who else sees data', `<ul><li>The Polygon blockchain: every Boost and payment is public there, by its nature.</li><li>The network hub, which keeps one record per person across the network sites (username, wallet, sponsor).</li><li>Our Telegram payments topic: each Boost is posted with the buyer's username (or a shortened wallet) and the amounts paid.</li><li>Services the pages load: Google Fonts, WalletConnect (Reown) when you connect a wallet, LinkSpin network ad zones, and Network Ad Space for finishing Boost views.</li></ul><p>We do not sell personal data.</p>`],
|
||||
['Your choices', `<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>`],
|
||||
CONTACT]);
|
||||
// ---------------------------------------------------------------- how it works (Marty 2026-11-15: "a How It Works section with maybe a diagram")
|
||||
// Every fact here is from the code: server.js memberPage (own ad + first 5 people above with a live ad, LEVEL 1-5 in display
|
||||
// order, C.lineSearch 20 places, C.boostSlots 2 Boosted places), wire.js (one view per visitor per ad per 24 h, never the owner's
|
||||
// own, verified clicks the same), config.js split (5 x 10% + 50%, maxDepth 20), contracts/README (pass-up), vabnas.js (30 days, NAS).
|
||||
const T = (x, y, cls, fill, txt, anchor) => `<text x="${x}" y="${y}" class="${cls}" fill="${fill}"${anchor ? ` text-anchor="${anchor}"` : ''}>${txt}</text>`;
|
||||
const ORD = ['1st', '2nd', '3rd', '4th', '5th'];
|
||||
// 1. the spread: YOU, then member pages five levels down, each showing YOUR ad in the LEVEL row that matches its depth
|
||||
function svgSpread() {
|
||||
const rows = [2, 3, 4, 5, 5], pw = 40, ph = 54, x0 = 108, aw = 244, top0 = 136, pitch = 96, H = 584;
|
||||
const subs = ['your directs', 'their people', 'their people', 'their people', 'their people'];
|
||||
const pos = rows.map((n, i) => { const gap = n > 1 ? Math.min(30, (aw - n * pw) / (n - 1)) : 0; const sx = x0 + (aw - (n * pw + (n - 1) * gap)) / 2;
|
||||
return Array.from({ length: n }, (_, k) => ({ x: Math.round(sx + k * (pw + gap)), y: top0 + i * pitch })); });
|
||||
let lines = '', pages = '', left = '';
|
||||
// connectors: YOU card to level 1, each page to the pages below it
|
||||
pos[0].forEach(p => { lines += `<path d="M230 100 L${p.x + pw / 2} ${p.y}"/>`; });
|
||||
for (let i = 1; i < rows.length; i++) pos[i].forEach((p, k) => { const par = pos[i - 1][Math.min(pos[i - 1].length - 1, Math.floor(k * pos[i - 1].length / rows[i]))]; lines += `<path d="M${par.x + pw / 2} ${par.y + ph} L${p.x + pw / 2} ${p.y}"/>`; });
|
||||
pos.forEach((row, i) => row.forEach(p => {
|
||||
let bars = `<rect x="4" y="4" width="32" height="9" fill="#1F66FF"/>`;
|
||||
for (let r = 0; r < 5; r++) bars += r === i ? `<rect x="3" y="${16 + r * 7}" width="34" height="6" fill="#FFC21A" stroke="#0A1F6B" stroke-width="1"/>` : `<rect x="4" y="${17 + r * 7}" width="32" height="4" fill="#C9D6F5"/>`;
|
||||
pages += `<g transform="translate(${p.x} ${p.y})"><rect x="0.75" y="0.75" width="${pw - 1.5}" height="${ph - 1.5}" fill="#FFFFFF" stroke="#0A1F6B" stroke-width="1.5"/>${bars}</g>`;
|
||||
}));
|
||||
// the left column: YOU badge, LEVEL badges, red arrows down
|
||||
const badge = (y, txt, fill, sub) => `<rect x="4" y="${y + 8}" width="88" height="26" fill="${fill}"/>` + T(48, y + 26, 'sv-lv', '#FFFFFF', txt, 'middle') + T(48, y + 52, 'sv-s', '#3E4C7A', sub, 'middle');
|
||||
left += badge(8, 'YOU', '#E3141E', 'your ad');
|
||||
pos.forEach((row, i) => { left += badge(row[0].y, 'LEVEL ' + (i + 1), '#0A1F6B', subs[i]); });
|
||||
const ys = [8].concat(pos.map(r => r[0].y));
|
||||
for (let i = 0; i < ys.length - 1; i++) left += `<path d="M48 ${ys[i] + 60} L48 ${ys[i + 1] + 2}" stroke="#E3141E" stroke-width="2.5" marker-end="url(#mkSpread)"/>`;
|
||||
const you = `<rect x="112" y="8" width="236" height="92" fill="#FFC21A" stroke="#0A1F6B" stroke-width="2"/>` + T(126, 30, 'sv-tag', '#0A1F6B', 'YOUR FREE TEXT AD') + T(126, 54, 'sv-h', '#0A1F6B', 'Your headline here') + T(126, 74, 'sv-b', '#2A3A6E', 'Two short lines about your offer') + T(126, 92, 'sv-tag', '#0A1F6B', 'yoursite.com');
|
||||
return `<svg viewBox="0 0 360 ${H}" role="img" aria-labelledby="dgSpreadT dgSpreadD" xmlns="http://www.w3.org/2000/svg"><title id="dgSpreadT">Your ad spreads five levels down your team</title><desc id="dgSpreadD">You post one free text ad at the top. Below you are the people you bring in (level 1), their people (level 2), and so on to level 5. Every one of their member pages shows your ad among the five team ads: on a level 1 page it is the LEVEL 1 row, on a level 5 page the LEVEL 5 row.</desc>`
|
||||
+ `<defs><marker id="mkSpread" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="5" markerHeight="5" orient="auto"><path d="M0 0 L10 5 L0 10 Z" fill="#E3141E"/></marker></defs>`
|
||||
+ `<g stroke="#9DBEFF" stroke-width="1.5" fill="none">${lines}</g>${left}${you}${pages}</svg>`;
|
||||
}
|
||||
// 2. a member's page: their own ad, five team ads labelled LEVEL 1-5, two Boosted places, the join bar
|
||||
function svgPage() {
|
||||
let s = `<rect x="1" y="1" width="358" height="482" fill="#FFFFFF" stroke="#0A1F6B" stroke-width="2"/><rect x="1" y="1" width="358" height="30" fill="#0A1F6B"/>`
|
||||
+ `<circle cx="16" cy="16" r="4.5" fill="#E3141E"/><circle cx="30" cy="16" r="4.5" fill="#FFC21A"/><circle cx="44" cy="16" r="4.5" fill="#3D8BFF"/>` + T(58, 21, 'sv-url', '#D3DEFF', 'viraladblitz.com/their-name')
|
||||
+ `<rect x="14" y="42" width="332" height="74" fill="#0A2FA8"/>` + T(26, 61, 'sv-tag', '#FFC21A', 'THEIR OWN AD, ON TOP') + T(26, 85, 'sv-h', '#FFFFFF', 'Their headline') + T(26, 105, 'sv-b', '#E3EBFF', 'Their two lines and their link')
|
||||
+ T(14, 138, 'sv-tag', '#1546D6', 'THE 5 PEOPLE ABOVE THEM WITH A LIVE AD');
|
||||
for (let i = 0; i < 5; i++) { const y = 146 + i * 38;
|
||||
s += `<rect x="14.5" y="${y + 0.5}" width="331" height="31" fill="#FFFFFF" stroke="#C9D6F5"/><rect x="14" y="${y}" width="80" height="32" fill="#0A1F6B"/>` + T(54, y + 21, 'sv-lv', '#FFFFFF', 'LEVEL ' + (i + 1), 'middle') + T(106, y + 21, 'sv-b', '#0A1F6B', 'Ad of the ' + ORD[i] + ' person above'); }
|
||||
s += T(14, 352, 'sv-tag', '#7A5B00', 'BOOSTED PLACES');
|
||||
for (let i = 0; i < 2; i++) { const y = 360 + i * 38;
|
||||
s += `<rect x="15" y="${y + 1}" width="330" height="30" fill="#FFFBEA" stroke="#FFC21A" stroke-width="2"/><rect x="14" y="${y}" width="80" height="32" fill="#FFC21A"/>` + T(54, y + 21, 'sv-lv', '#0A1F6B', '★ BOOST', 'middle') + T(106, y + 21, 'sv-b', '#0A1F6B', 'A Boosted ad from the network'); }
|
||||
s += `<rect x="14" y="440" width="332" height="32" fill="#E3141E"/>` + T(180, 461, 'sv-j', '#FFFFFF', 'Join free under @their-name', 'middle');
|
||||
return `<svg viewBox="0 0 360 484" role="img" aria-labelledby="dgPageT dgPageD" xmlns="http://www.w3.org/2000/svg"><title id="dgPageT">What a member page shows</title><desc id="dgPageD">A member page at viraladblitz.com slash their name: their own ad on top, then the ads of the first five people above them in their sponsor line who have a live ad, labelled LEVEL 1 to LEVEL 5, then two Boosted places, then a button to join free under them.</desc>${s}</svg>`;
|
||||
}
|
||||
// 3. where a $5 Boost goes: 50% company, 50% as five 10% shares walking up the line; a person with no Boost is passed over
|
||||
function svgBoost() {
|
||||
const line = [['1 place up', 'Your sponsor, has boosted', 1], ['2 places up', 'No Boost yet: passed over', 0], ['3 places up', 'Has boosted', 2], ['4 places up', 'Has boosted', 3], ['5 places up', 'Has boosted', 4], ['6 places up', 'Has boosted', 5]];
|
||||
const y0 = 178, pitch = 58, h = 46, cx = 52;
|
||||
let rows = '', spine = '';
|
||||
line.forEach(([a, b, lv], i) => { const y = y0 + i * pitch, cy = y + h / 2, paid = lv > 0;
|
||||
rows += paid ? `<rect x="28.5" y="${y + 0.5}" width="323" height="${h - 1}" fill="#FFFFFF" stroke="#C9D6F5"/>` : `<rect x="28.5" y="${y + 0.5}" width="323" height="${h - 1}" fill="#F1F4FB" stroke="#8C9AC4" stroke-dasharray="5 4"/>`;
|
||||
rows += `<circle cx="${cx}" cy="${cy}" r="13" fill="${paid ? '#1F66FF' : '#C9D6F5'}"/>` + T(cx, cy + 4.5, 'sv-lv', paid ? '#FFFFFF' : '#3E4C7A', String(i + 1), 'middle')
|
||||
+ T(76, y + 20, 'sv-h2', paid ? '#0A1F6B' : '#3E4C7A', a) + T(76, y + 37, 'sv-s', paid ? '#2A3A6E' : '#3E4C7A', b);
|
||||
rows += paid ? `<rect x="242" y="${y + 9}" width="102" height="28" fill="#E1EBFF"/>` + T(293, y + 28, 'sv-lv', '#1546D6', 'LEVEL ' + lv + ' · 10%', 'middle')
|
||||
: `<rect x="242.5" y="${y + 9.5}" width="101" height="27" fill="none" stroke="#8C9AC4" stroke-dasharray="4 3"/>` + T(293, y + 28, 'sv-lv', '#3E4C7A', 'PASSED OVER', 'middle');
|
||||
});
|
||||
const cy = i => y0 + i * pitch + h / 2;
|
||||
spine += `<path d="M${cx} 150 L${cx} ${cy(0) - 15}" marker-end="url(#mkBoostB)"/>`;
|
||||
for (const i of [2, 3, 4]) spine += `<path d="M${cx} ${cy(i) + 13} L${cx} ${cy(i + 1) - 15}" marker-end="url(#mkBoostB)"/>`;
|
||||
const skip = `<path d="M${cx - 9} ${cy(0) + 10} C 8 ${cy(0) + 30}, 8 ${cy(2) - 30}, ${cx - 9} ${cy(2) - 12}" fill="none" stroke="#E3141E" stroke-width="2.5" marker-end="url(#mkBoostR)"/>`;
|
||||
const fy = y0 + 6 * pitch + 6;
|
||||
return `<svg viewBox="0 0 360 ${fy + 40}" role="img" aria-labelledby="dgBoostT dgBoostD" xmlns="http://www.w3.org/2000/svg"><title id="dgBoostT">Where a $5 Boost goes</title><desc id="dgBoostD">You buy a $5 Boost. In the same transaction half goes to the company and half is paid as five shares of 10% up your sponsor line. In this example the person 1 place up has boosted and gets the LEVEL 1 share. The person 2 places up has not bought a Boost, so they are passed over and the next share skips to the person 3 places up, who gets LEVEL 2. The people 4, 5 and 6 places up get LEVEL 3, 4 and 5. The contract looks up to 20 places up; a share nobody qualifies for goes to the company.</desc>`
|
||||
+ `<defs><marker id="mkBoostB" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="5" markerHeight="5" orient="auto"><path d="M0 0 L10 5 L0 10 Z" fill="#3D8BFF"/></marker><marker id="mkBoostR" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="5" markerHeight="5" orient="auto"><path d="M0 0 L10 5 L0 10 Z" fill="#E3141E"/></marker></defs>`
|
||||
+ `<rect x="90" y="6" width="180" height="58" fill="#FFC21A" stroke="#0A1F6B" stroke-width="2"/>` + T(180, 27, 'sv-tag', '#0A1F6B', 'YOU BUY A BOOST', 'middle') + T(180, 53, 'sv-big', '#0A1F6B', '$5, one time', 'middle')
|
||||
+ `<g stroke="#0A1F6B" stroke-width="2" fill="none"><path d="M150 64 L96 92" marker-end="url(#mkBoostN)"/><path d="M210 64 L264 92" marker-end="url(#mkBoostN)"/></g>`
|
||||
+ `<defs><marker id="mkBoostN" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="5" markerHeight="5" orient="auto"><path d="M0 0 L10 5 L0 10 Z" fill="#0A1F6B"/></marker></defs>`
|
||||
+ `<rect x="8" y="96" width="166" height="54" fill="#1F66FF"/>` + T(91, 118, 'sv-tag', '#FFFFFF', '50% · FIVE LEVELS', 'middle') + T(91, 138, 'sv-b', '#FFFFFF', '10% each, $0.50 in POL', 'middle')
|
||||
+ `<rect x="186" y="96" width="166" height="54" fill="#0A1F6B"/>` + T(269, 118, 'sv-tag', '#FFC21A', '50% · COMPANY', 'middle') + T(269, 138, 'sv-b', '#D3DEFF', '$2.50, runs the network', 'middle')
|
||||
+ rows + `<g stroke="#3D8BFF" stroke-width="3" fill="none">${spine}</g>` + skip
|
||||
+ T(180, fy + 8, 'sv-s', '#3E4C7A', 'The contract looks up to 20 places up your line.', 'middle') + T(180, fy + 26, 'sv-s', '#3E4C7A', 'A share nobody qualifies for goes to the company.', 'middle')
|
||||
+ `</svg>`;
|
||||
}
|
||||
const FAQ = [
|
||||
['Is it really free?', `Yes. Every network member (InstantAdPay or LinkSpin) gets one free text ad: a headline, two lines and your link. Posting it and editing it costs nothing. A Boost is optional.`],
|
||||
['Whose ads show on my page?', `Your own ad on top. Then the ads of the first five people above you in your sponsor line who have a live ad here, labelled LEVEL 1 to LEVEL 5 in the order shown. If someone above you has no live ad, the next person up takes the place (the site looks up to 20 places). Then two Boosted places.`],
|
||||
['How far does my ad spread?', `Five levels down. Your ad shows on the page of everyone you bring in, of everyone they bring in, and so on, as long as you are one of the first five people above them with a live ad.`],
|
||||
['What does a $5 Boost buy?', `${F.views} guaranteed network views from verified visitors, a starred spot on the live ticker and an extra place on member pages. It is paid once in POL on Polygon and never renews: one-time, never a subscription. Views not delivered on ViralAdBlitz within ${F.days} days are finished through Network Ad Space.`],
|
||||
['Who is paid when someone boosts?', `The contract pays 10% to each of five people up the buyer's sponsor line and 50% to the company, in the same transaction. Only people who have bought a Boost receive a share; anyone who has not is passed over and the share goes to the next person up who has, up to 20 places. A Boost buys advertising, not income. Nothing is promised.`],
|
||||
['Which wallet do I need?', `SafePal or any other crypto wallet that holds POL on Polygon. You only need it to buy a Boost or to sign in by wallet; signing in is a free signature that cannot move funds.`],
|
||||
['Can I check the payouts myself?', `Yes. Every Boost and every level payout is in the live ledger with a link to its transaction on Polygonscan, and the contract page reads the fixed split straight from the chain.`]
|
||||
];
|
||||
const VC = (ic, b, t) => `<div class="vcard"><span class="ic" aria-hidden="true">${ic}</span><b>${b}</b><span>${t}</span></div>`;
|
||||
const I = p => `<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" aria-hidden="true">${p}</svg>`;
|
||||
page('how.html', { path: '/how', title: 'How It Works | ViralAdBlitz', desc: 'How ViralAdBlitz works: one free text ad that shows on your team\'s pages five levels down, what counts as a view, and where a $5 one-time Boost goes, in pictures.',
|
||||
ld: { '@context': 'https://schema.org', '@type': 'FAQPage', mainEntity: FAQ.map(([q, a]) => ({ '@type': 'Question', name: q, acceptedAnswer: { '@type': 'Answer', text: a } })) } }, `<main class="wrap how">
|
||||
<section class="panel hx" aria-label="How it works">${NETLINES}
|
||||
<div class="hx-copy">
|
||||
<p class="kicker" style="color:var(--gold);margin:0">How it works</p>
|
||||
<h1 class="slant sm"><span class="l1">One free ad.</span> <span class="l2">Five levels deep.</span></h1>
|
||||
<p class="lead" style="margin:0;color:#E3EBFF">Post one text ad. It shows on your page and on the page of everyone you bring in, five levels down. Here is the whole idea in three pictures.</p>
|
||||
<ul class="jump" aria-label="On this page">
|
||||
<li><a href="#spread"><b>01</b>Your ad spreads</a></li><li><a href="#views"><b>02</b>What counts</a></li><li><a href="#boost"><b>03</b>Boost</a></li><li><a href="#start"><b>04</b>Start</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="hx-art">
|
||||
<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></div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="hsec" id="spread" aria-labelledby="hSpread">
|
||||
<div class="shead"><div><p class="kicker">01 · The spread</p><h2 id="hSpread">Your ad spreads down your team</h2></div></div>
|
||||
<div class="hsplit">
|
||||
<figure class="dg">${svgSpread()}
|
||||
<figcaption><ul class="legend"><li><i style="background:#1F66FF"></i>their own ad</li><li><i style="background:#FFC21A;box-shadow:0 0 0 1px #0A1F6B inset"></i>YOUR ad</li><li><i style="background:#C9D6F5"></i>other team ads</li></ul></figcaption>
|
||||
</figure>
|
||||
<div class="htxt">
|
||||
<ol class="hpts">
|
||||
<li><b>You post one free text ad.</b><span>A headline, two lines and your link. It goes on your own page, <span class="mono">viraladblitz.com/your-name</span>.</span></li>
|
||||
<li><b>Everyone you bring in shows it.</b><span>Their page carries your ad as one of the five team ads. That is level 1.</span></li>
|
||||
<li><b>And so on, five levels down.</b><span>When they bring people in, your ad is on those pages too: level 2, then 3, 4 and 5. On a level 3 page, yours is the LEVEL 3 row.</span></li>
|
||||
</ol>
|
||||
<p class="small muted" style="margin:0">The rows show the first five people above a member who have a live ad. If someone in between has no live ad, the next person up moves into their place, so the picture holds when everyone in between has posted.</p>
|
||||
<figure class="dg sm">${svgPage()}
|
||||
<figcaption>Every member page looks like this: their own ad, the five team ads labelled LEVEL 1 to LEVEL 5, two Boosted places and a button to join free under them.</figcaption>
|
||||
</figure>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="hsec" id="views" aria-labelledby="hViews">
|
||||
<div class="shead"><div><p class="kicker">02 · Fair counting</p><h2 id="hViews">What counts as a view</h2></div><span class="side">The same rules for every ad, Boosted or not</span></div>
|
||||
<div class="vcards">
|
||||
${VC(I('<rect x="3" y="4" width="18" height="14"/><path d="M8 21h8M12 18v3"/>'), 'A real browser, a few seconds', 'A view counts only when a real browser keeps the page open and visible for a few seconds. The server decides which ads the page showed, never the browser.')}
|
||||
${VC(I('<circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/>'), 'Once per visitor per ad per day', 'Each ad on the page gets at most one view from the same visitor in 24 hours. Reloading the page does not add more.')}
|
||||
${VC(I('<circle cx="12" cy="8" r="4"/><path d="M4 21c1-4 4-6 8-6s7 2 8 6M3 3l18 18"/>'), 'Your own views never count', 'When you look at your own page, or any page showing your ad, your ad gets no view and no verified click from you.')}
|
||||
${VC(I('<path d="M12 3l8 4v5c0 5-3.5 8-8 9-4.5-1-8-4-8-9V7z"/><path d="M9 12l2 2 4-4"/>'), 'Bots and tricks are refused', 'Bots, sends that come too early and more than a few browsers from one connection in a day are not counted.')}
|
||||
${VC(I('<path d="M5 3l14 8-6 2-2 6z"/>'), 'Verified clicks, the same way', 'A click counts as verified once per visitor per ad per 24 hours, never your own. Top ads this week is ranked by verified clicks.')}
|
||||
${VC(I('<path d="M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1"/>'), 'A LinkSpin tracked link', 'Your ad link goes out as a tracked link on your own LinkSpin account, and My page shows its LinkSpin clicks. Visitors still land on your link.')}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="hsec" id="boost" aria-labelledby="hBoost">
|
||||
<div class="shead"><div><p class="kicker">03 · Boost</p><h2 id="hBoost">Boost: where your $${F.boostUsd} goes</h2></div><span class="side">One-time, never a subscription</span></div>
|
||||
<div class="hsplit">
|
||||
<figure class="dg">${svgBoost()}
|
||||
<figcaption><ul class="legend"><li><i style="background:#1F66FF"></i>has bought a Boost: receives a share</li><li><i style="background:#F1F4FB;box-shadow:0 0 0 1px #8C9AC4 inset"></i>no Boost yet: passed over</li><li><i style="background:#E3141E"></i>the share skips up</li></ul></figcaption>
|
||||
</figure>
|
||||
<div class="htxt">
|
||||
<ol class="hpts">
|
||||
<li><b>Split in the same transaction.</b><span>You pay ${'$'}${F.boostUsd} in POL on Polygon. The contract pays 10% to each of five people up your sponsor line and 50% to the company before the transaction ends. Nothing is held and there is nothing to withdraw.</span></li>
|
||||
<li><b>Only Boost buyers receive a share.</b><span>Someone in your line who has never bought a Boost is passed over, and that share goes to the next person up who has. One Boost ever is enough to qualify.</span></li>
|
||||
<li><b>Up to 20 places up.</b><span>The contract looks for five buyers within 20 places up your line. A share nobody qualifies for goes to the company.</span></li>
|
||||
</ol>
|
||||
<div class="box" style="border-left-color:var(--gold)"><div class="txt"><span class="lab">${F.views} GUARANTEED VIEWS</span><span class="big">What you buy is advertising for your own ad.</span><span class="sub">A Boost buys advertising, not income. Nothing is promised.</span></div></div>
|
||||
<div class="deliv" aria-label="How the ${F.views} views are delivered">
|
||||
<div><span class="dn">1</span><b>Starred on the ticker</b><span>Your ad gets a gold star on the live ticker on every page while its views are delivered.</span></div>
|
||||
<div><span class="dn">2</span><b>Boosted places on member pages</b><span>Boosted ads fill the two Boosted places on every member page, the one furthest behind first. Every verified view counts toward your ${F.views}.</span></div>
|
||||
<div><span class="dn">3</span><b>Finished within ${F.days} days</b><span>Views not delivered on ViralAdBlitz within ${F.days} days are finished through Network Ad Space as a text ad with your headline, lines and link, for exactly the views still owed.</span></div>
|
||||
</div>
|
||||
<p class="small" style="margin:0"><a href="/ledger">See every Boost in the live ledger</a> · <a href="/contract">Check the contract</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="hsec" id="start" aria-labelledby="hStart">
|
||||
<div class="shead"><div><p class="kicker">04 · Go</p><h2 id="hStart">Start in 3 steps</h2></div></div>
|
||||
<div class="steps">
|
||||
<div class="step"><span class="n">01</span><b>Sign in</b><span>With your InstantAdPay or LinkSpin account, or your wallet. Your username and sponsor line come with you.</span></div>
|
||||
<div class="step"><span class="n">02</span><b>Post your free text ad</b><span>A headline, two lines and your link. You can edit it any time.</span></div>
|
||||
<div class="step"><span class="n">03</span><b>Share your page</b><span>Send people to viraladblitz.com/your-name. Everyone who joins under you carries your ad.</span></div>
|
||||
</div>
|
||||
<div class="joinbar" style="margin-top:16px">
|
||||
<div class="txt"><b>Ready to spread your ad?</b><p>Free for network members. Boost it any time for ${F.views} guaranteed views.</p></div>
|
||||
<div class="row on-dark" style="margin:0"><a class="pill-cta" href="/my">Post my free text ad<span class="chev" aria-hidden="true"> »</span></a><a class="btn-gold" href="/boost">Boost my ad</a></div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section aria-labelledby="hFaq">
|
||||
<div class="shead"><h2 id="hFaq">Questions</h2></div>
|
||||
<div class="faq">
|
||||
${FAQ.map(([q, a]) => ` <details><summary>${q}</summary><p>${a}</p></details>`).join('\n')}
|
||||
</div>
|
||||
</section>
|
||||
<p class="muted small">A Boost buys advertising, not income. Nothing is promised.</p>
|
||||
<div id="status" class="note" hidden></div>
|
||||
</main>
|
||||
`, ['how.js']);
|
||||
|
||||
console.log('pages written');
|
||||
|
||||
Reference in New Issue
Block a user