Files
viraladblitz/public/my.html
T
martbost d611c4b251 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>
2026-11-14 15:17:30 -06:00

91 lines
7.8 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
<title>My page | ViralAdBlitz</title>
<meta name="description" content="Post or edit your free text ad, share your page, and follow your Boost.">
<meta name="robots" content="noindex">
<meta property="og:type" content="website">
<meta property="og:site_name" content="ViralAdBlitz">
<meta property="og:title" content="My page | ViralAdBlitz">
<meta property="og:description" content="Post or edit your free text ad, share your page, and follow your Boost.">
<meta property="og:url" content="https://viraladblitz.com/my">
<meta property="og:image" content="https://viraladblitz.com/art/og-share.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="ViralAdBlitz: the network's text ad wire">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="My page | ViralAdBlitz">
<meta name="twitter:description" content="Post or edit your free text ad, share your page, and follow your Boost.">
<meta name="twitter:image" content="https://viraladblitz.com/art/og-share.png">
<meta name="theme-color" content="#0A1F6B">
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@1,700;1,800&family=Chakra+Petch:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/vab.css?v=4">
</head>
<body>
<main class="wrap">
<section id="signin" hidden>
<section class="panel hero"><svg class="netlines" viewBox="0 0 600 400" preserveAspectRatio="none" aria-hidden="true"><g stroke="#9DBEFF" stroke-width="1" fill="none"><path d="M0 300 Q150 180 300 240 T600 120"/><path d="M0 220 Q200 90 360 160 T600 40"/><path d="M40 400 L220 120 L420 260 L600 60"/></g><g fill="#FFC21A"><circle cx="220" cy="120" r="4"/><circle cx="420" cy="260" r="4"/><circle cx="360" cy="160" r="3"/><circle cx="300" cy="240" r="3"/><circle cx="520" cy="90" r="4"/></g></svg><div class="copy"><p class="kicker">Your dashboard</p><h1>My page</h1><p class="lead">One free text ad for network members. Share your page and your ad spreads five levels down.</p></div></section>
<div class="card" style="margin-top:20px">
<h2>Sign in</h2>
<p>Sign in with your network account. Your username and your sponsor line come with you.</p>
<div class="signin"><a class="btn-red" id="viaIap" href="/sso/start?mode=go&amp;via=iap&amp;to=%2Fmy">Sign in with InstantAdPay</a><a class="btn-red" id="viaLs" href="/sso/start?mode=go&amp;via=linkspin&amp;to=%2Fmy">Sign in with LinkSpin</a><button class="btn-line" id="viaWallet" type="button">Sign in with your wallet</button></div>
<p class="small muted">Wallet sign-in works with SafePal or any other crypto wallet. It is a free signature that cannot move funds.</p>
<p class="small">Not in the network yet? <a id="joinLink" href="https://instantadpay.com/" target="_blank" rel="noopener">Join InstantAdPay free</a>, then come back and sign in through it.</p>
</div>
</section>
<section id="dash" class="dash" hidden>
<aside class="dside" aria-label="Dashboard">
<span class="wm">VIRAL<b>AD</b>BLITZ</span>
<nav aria-label="Dashboard sections">
<a href="#dash" class="on"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><rect x="3" y="3" width="7" height="9"/><rect x="14" y="3" width="7" height="5"/><rect x="14" y="12" width="7" height="9"/><rect x="3" y="16" width="7" height="5"/></svg>Overview</a>
<a href="#adCard"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M4 5h16v14H4z"/><path d="M8 9h8M8 13h5"/></svg>My text ad</a>
<a href="#boostCard"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M13 2 L4 14h7l-1 8 9-12h-7z"/></svg>Boosts</a>
<a href="#lineCard"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><circle cx="12" cy="5" r="2.5"/><circle cx="6" cy="18" r="2.5"/><circle cx="18" cy="18" r="2.5"/><path d="M12 7.5v4M12 11.5 6 15.5M12 11.5l6 4"/></svg>My line</a>
<a href="#earnCard"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M3 12h4l3-8 4 16 3-8h4"/></svg>Payouts</a>
<a href="/promote"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M4 12v8h16v-8M12 3v12M7 8l5-5 5 5"/></svg>Promote</a>
</nav>
<div class="who"><span id="whoVia">Signed in</span><b id="whoName"></b><code id="whoAddr"></code><button class="btn-quiet" id="signout" type="button">Sign out</button></div>
</aside>
<div class="dmain">
<div class="dtop">
<div><p class="kicker">// DASHBOARD</p><h1 id="dHello">My page</h1></div>
<div class="row" style="margin:0"><button class="btn-line" type="button" id="copyTop" hidden>Copy my page link</button><a class="btn-gold" href="/boost">Boost my ad</a></div>
</div>
<div class="stats" id="stats"></div>
<div class="dcols">
<div class="dcol-l">
<section class="dcard" id="adCard">
<div class="hd"><h2 id="adHead">My text ad</h2><span id="adBadges"></span></div>
<div id="adPrev"></div>
<p class="small" id="adNote">A headline, two lines and your https link. No link shorteners.</p>
<form class="form" id="adForm">
<label class="f">Headline <input id="fHead" maxlength="60" autocomplete="off" required><span class="cnt" id="cHead"></span></label>
<label class="f">First line <input id="fL1" maxlength="90" autocomplete="off" required><span class="cnt" id="cL1"></span></label>
<label class="f">Second line (optional) <input id="fL2" maxlength="90" autocomplete="off"><span class="cnt" id="cL2"></span></label>
<label class="f">Your link <input id="fLink" maxlength="600" autocomplete="off" inputmode="url" placeholder="https://" required></label>
<div class="row" style="margin:0"><button class="btn-red" id="adSave" type="submit">Post my free text ad</button><span class="small muted">Tracking codes work: {clickid} and {placement} are filled on every click.</span></div>
</form>
</section>
<section class="dcard" id="pageCard"></section>
<section class="dcard" id="lineCard"><div class="hd"><h2>Your line</h2><span class="side-note">the people above you, nearest first</span></div><div id="line"></div></section>
</div>
<div class="dcol-r">
<section class="dark-card" id="boostCard"><span class="lab">YOUR BOOSTS</span><div id="boosts"></div><a class="btn-gold" href="/boost" id="boostMore">Boost my ad, $5</a></section>
<section class="dcard" id="actCard"><h2>Recent activity</h2><div id="acts"></div></section>
<section class="dcard" id="earnCard"><h2>Paid to you</h2><div id="earned"></div></section>
</div>
</div>
<p class="small muted" style="margin:0">A Boost buys advertising, not income. Nothing is promised.</p>
</div>
</section>
<div id="status" class="note" hidden></div>
</main>
<script src="/assets/common.js?v=4"></script>
<script src="/assets/wallet.js?v=4"></script>
<script src="/assets/my.js?v=4"></script>
</body>
</html>