f41d1ef384
Founder badge (cosmetic only: no credits, no POL, no perks, never posted to Telegram) - Criterion: the account's earliest signed-in visit is before the launch moment (launchAt, default 2026-11-15T06:00:00-06:00). Field: accounts.firstSeen, else lastSeen. Both are written only by accounts.touchSeen() on signed-in requests (dashboard, ping, chat); touchSeen now keeps firstSeen = the previous lastSeen on the next visit, so a pre-launch member who signs in again after launch still qualifies. Carried-over shells that never signed in have neither field and never qualify. - Stored flag accounts.founder (JSON + MySQL column). Grant: launchweek.tick every 10 minutes from the launch moment, idempotent, one run per 10-minute slot across app copies (marks.claim); founderGrant '0' turns it off. Admin preview + "Grant Founder badges now" (refused before launch). - Shown in the badge strip (on the way before launch, Share works, no Telegram post), wall (wall-founder.js), Team rows (my.js + team.js), the Team activity chip, and next to names on /leaderboard. Art: /badges/badge-founder.jpg, drawn in code in the existing card layout. Launch week contest - Window [launchContestStart or launchAt, launchContestEnd) = Sun Nov 15 6:00 AM to the end of Sat Nov 21, Central (end stored exclusive, 2026-11-22T00:00:00-06:00). Count = the weekly board's tier-1 TierPaid sales. Never counted: own positions, buys by linked positions (Qualified Start), the admin account and overrideHouseIds (as contestants or buyers), launchContestExcludeEmails/Ids. launchContestMinSales 2. Ties: sales, dollars, who got there first. Prizes launchContestPrizesPol '10,6,4'. - Payout only by Admin > Launch week > Pay launch contest: the ranking is frozen on the first press, the admin's confirmed list must match it, balance + gas checked first, each place claimed once (marks.claim) and written as sending before award(memberId) from the Level 4 override payer wallet (override.payerHandle). Records tx hashes; resolve paid-with-tx or retry for blocked/failed/review. The prize email + feed line say "Launch week contest prize". - /leaderboard panel from the launch moment until the prizes are paid; /launch copy states both rules. - chatbot: CANNED founder-badge + launch-contest, FACTS lines (no amounts quoted before launch). - qa/launchweek.test.cjs (16 checks: Central window bounds, exclusions, minimum, two-copy payout once, frozen result, Founder criterion + grant, touchSeen backfill); run.sh launchweek and in all. - Versions: my.js?v=20261105fd, team.js?v=20261105fd, wall-founder.js?v=20261105fd, admin-launchweek.js?v=20261105lw (wall.js unchanged: the shared policy test pins it). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
57 lines
4.3 KiB
HTML
57 lines
4.3 KiB
HTML
<!doctype html>
|
|
<html lang="en" data-theme-base="dark">
|
|
<head>
|
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<title>Banner wall | LinkSpin</title>
|
|
<!--OG-->
|
|
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"light",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("ls.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.LSTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("ls.theme",c);else localStorage.removeItem("ls.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("ls-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Manrope:wght@500;700;800&display=swap">
|
|
<link rel="icon" type="image/png" href="/logo-icon.png">
|
|
<link rel="stylesheet" href="/assets/site.css?v=ls20261101t">
|
|
</head>
|
|
<body>
|
|
<div id="nav"></div>
|
|
<section>
|
|
<div class="wrap" style="max-width:920px">
|
|
<div class="wall-hero" style="text-align:center;padding:26px 0 18px">
|
|
<p style="margin:0 0 8px;font-family:var(--disp);font-weight:800;font-size:clamp(22px,3vw,30px);color:var(--ink);letter-spacing:-.01em">Link<span style="color:var(--mint)">Spin</span> <span style="font-weight:500;font-size:.62em;color:var(--muted)">member wall</span></p>
|
|
<h1 style="font-size:clamp(28px,4.4vw,44px);margin:0 0 10px;line-height:1.1">Advertise and earn. <em style="font-style:normal;color:var(--mint)">Paid on-chain, instantly.</em></h1>
|
|
<p class="muted" style="max-width:640px;margin:0 auto;font-size:15.5px">Real ad packages from $5. Every payout arrives as <b style="color:var(--ink)">POL on Polygon</b> in your own wallet, in the same transaction the package sells, on a public ledger. Free to join by email, and <span id="wallHost">this member</span> is your sponsor if you join from here.</p>
|
|
</div>
|
|
<div class="bio-head" id="bioHead" hidden>
|
|
<img id="bioAvatar" class="bio-avatar" alt="" hidden>
|
|
<img id="bioBadge" class="bio-badge" alt="achievement badge" hidden>
|
|
<img id="bioFounder" class="bio-badge" alt="Founder badge" hidden>
|
|
<div class="bio-meta">
|
|
<p class="eyebrow">Your sponsor on LinkSpin</p>
|
|
<h2 id="wallTitle" style="margin:.1em 0">Loading…</h2>
|
|
<p id="bioText" class="lead" style="font-size:16px"></p>
|
|
<div id="bioSocials" class="bio-socials"></div>
|
|
</div>
|
|
<div class="bio-qr"><img id="bioQr" alt="Join QR code" width="150" height="150"><div class="small muted" style="text-align:center">scan to join</div></div>
|
|
</div>
|
|
<div class="bio-video" id="bioVideo" hidden></div>
|
|
<div class="sectionhead" style="text-align:left;margin-top:10px">
|
|
<h3 style="margin:0">The line, three levels deep</h3>
|
|
<p>Three positions, three levels — the exact levels the contract pays. Every banner here belongs
|
|
to a real member of this line, and every payment between them settles on-chain, instantly.</p>
|
|
</div>
|
|
<div class="grid c3" id="wallGrid"></div>
|
|
<div class="card" id="adSlotWallText" hidden style="margin-top:16px"></div>
|
|
<div class="card" id="adSlotWallBanner" hidden></div>
|
|
<div class="card" style="margin-top:22px;text-align:center">
|
|
<h3 id="wallCtaHead">Join this line</h3>
|
|
<p class="muted small">Free to join with just an email. Your wallet only comes out if you buy —
|
|
and payments go straight to member wallets, never through an admin.</p>
|
|
<p id="wallGate" class="small" style="color:var(--amber);font-weight:600" hidden></p>
|
|
<p><a class="btn" id="wallJoin">Join free through this wall</a></p>
|
|
<p class="small muted"><a href="/ledger">Watch the live ledger</a> · <a href="/contract">Read the contract</a></p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<script src="/assets/common.js?v=20261105po"></script>
|
|
<script src="/assets/wall.js?v=20261030pp"></script>
|
|
<script src="/assets/wall-founder.js?v=20261105fd"></script>
|
|
</body>
|
|
</html>
|