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:
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user