Mockup: every network game in the stack (SpellWheel, ClutterHunt, Road Agent, PolyBreak, POL Miner, PolyWarriors) and Turkey Drop as the seasonal feature (Spooky Doors ended Oct 31)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
After Width: | Height: | Size: 64 KiB |
@@ -0,0 +1 @@
|
|||||||
|
https://clutterhunt.com/og-clutterhunt.jpg?v=c2
|
||||||
|
After Width: | Height: | Size: 75 KiB |
|
After Width: | Height: | Size: 163 KiB |
|
After Width: | Height: | Size: 87 KiB |
|
After Width: | Height: | Size: 197 KiB |
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 782 KiB |
|
After Width: | Height: | Size: 44 KiB |
@@ -0,0 +1 @@
|
|||||||
|
https://polybreak.app/og-polybreak.jpg?v=1
|
||||||
|
After Width: | Height: | Size: 80 KiB |
|
After Width: | Height: | Size: 32 KiB |
|
After Width: | Height: | Size: 77 KiB |
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 118 KiB |
|
After Width: | Height: | Size: 58 KiB |
@@ -0,0 +1 @@
|
|||||||
|
https://polminer.com/og-polminer.jpg?v=2
|
||||||
|
After Width: | Height: | Size: 68 KiB |
@@ -0,0 +1 @@
|
|||||||
|
https://www.polywarriors.com/og-polywarriors.jpg
|
||||||
|
After Width: | Height: | Size: 41 KiB |
@@ -0,0 +1 @@
|
|||||||
|
https://roadagent.app/og-roadagent.jpg
|
||||||
|
After Width: | Height: | Size: 71 KiB |
|
After Width: | Height: | Size: 198 KiB |
|
After Width: | Height: | Size: 60 KiB |
|
After Width: | Height: | Size: 145 KiB |
|
After Width: | Height: | Size: 54 KiB |
@@ -0,0 +1 @@
|
|||||||
|
https://spellwheel.com/og-spellwheel.jpg?v=1
|
||||||
|
After Width: | Height: | Size: 80 KiB |
@@ -0,0 +1 @@
|
|||||||
|
https://turkeydropgame.com/og-turkeydrop.jpg?v=1
|
||||||
@@ -0,0 +1,238 @@
|
|||||||
|
<title>Stack POL Member Page</title>
|
||||||
|
<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=Sora:wght@600;700;800&family=Manrope:wght@400;500;600;700&family=JetBrains+Mono:wght@500&display=swap">
|
||||||
|
<style>
|
||||||
|
/* Stack POL's own look: Polygon violet + coin gold on deep night. One dark theme on purpose (matches the live site + video). */
|
||||||
|
:root {
|
||||||
|
color-scheme: dark;
|
||||||
|
--ground: #0a0715; --panel: #130c24; --panel-2: #1b1232; --line: rgba(183,148,255,.18);
|
||||||
|
--ink: #f3efff; --muted: #a8a0c6; --violet: #8247e5; --violet-hi: #b794ff; --gold: #ffc24b; --gold-d: #b9781a; --ok: #4ade80;
|
||||||
|
--display: "Sora", "Segoe UI", system-ui, sans-serif; --body: "Manrope", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
|
||||||
|
}
|
||||||
|
* { box-sizing: border-box; }
|
||||||
|
body { margin: 0; background: var(--ground); color: var(--ink); font: 15px/1.6 var(--body); padding-inline: 16px; padding-block: 0 64px;
|
||||||
|
background-image: radial-gradient(ellipse 60% 38% at 78% 4%, rgba(130,71,229,.30), transparent 70%), radial-gradient(ellipse 50% 30% at 10% 0%, rgba(255,194,75,.08), transparent 70%); }
|
||||||
|
.wrap { max-width: 1180px; margin: 0 auto; }
|
||||||
|
a { color: var(--violet-hi); }
|
||||||
|
.mock { margin: 14px auto 0; max-width: 1180px; font-size: 12.5px; color: var(--muted); border: 1px dashed rgba(255,194,75,.4); border-radius: 10px; padding: 7px 12px; }
|
||||||
|
.mock b { color: var(--gold); letter-spacing: .08em; font-size: 11px; text-transform: uppercase; margin-right: 8px; }
|
||||||
|
|
||||||
|
header.bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 18px 4px; flex-wrap: wrap; }
|
||||||
|
.logo { display: flex; gap: 10px; align-items: center; font: 800 19px var(--display); letter-spacing: -.01em; }
|
||||||
|
.logo svg { width: 30px; height: 30px; }
|
||||||
|
.live { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
|
||||||
|
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(74,222,128,.15); flex: none; }
|
||||||
|
|
||||||
|
/* ---- hero: proof on the left, the video on the right ---- */
|
||||||
|
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 26px 10px; }
|
||||||
|
@media (max-width: 880px) { .hero { grid-template-columns: 1fr; gap: 24px; } }
|
||||||
|
.who { display: flex; gap: 12px; align-items: center; }
|
||||||
|
.av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--violet-hi)); display: grid; place-items: center; font: 800 18px var(--display); color: #fff; flex: none; box-shadow: 0 0 0 3px rgba(183,148,255,.25); }
|
||||||
|
.who b { font: 700 17px var(--display); display: block; line-height: 1.2; }
|
||||||
|
.who span { color: var(--muted); font-size: 13.5px; }
|
||||||
|
.kick { margin: 22px 0 0; font: 700 13px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--violet-hi); }
|
||||||
|
.total { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 4px 0 2px; }
|
||||||
|
.total .n { font: 800 clamp(54px, 8.5vw, 92px)/1 var(--display); letter-spacing: -.035em; color: var(--gold); text-shadow: 0 0 46px rgba(255,194,75,.28); font-variant-numeric: tabular-nums; }
|
||||||
|
.total .u { font: 800 26px var(--display); color: var(--gold); }
|
||||||
|
.verify { display: inline-flex; gap: 7px; align-items: center; font-size: 13.5px; color: var(--ok); margin: 2px 0 18px; }
|
||||||
|
/* the stack: one bar, a segment per program, sized by what it paid */
|
||||||
|
.bar-wrap { margin-bottom: 10px; }
|
||||||
|
.stackbar { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: var(--panel-2); gap: 2px; }
|
||||||
|
.stackbar i { display: block; height: 100%; background: var(--c); min-width: 3px; }
|
||||||
|
.keys { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
|
||||||
|
.keys span { display: inline-flex; gap: 6px; align-items: center; }
|
||||||
|
.keys i { width: 9px; height: 9px; border-radius: 3px; background: var(--c); }
|
||||||
|
.keys b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
|
||||||
|
.cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
|
||||||
|
.btn { font: 800 17px var(--display); color: #160b02; background: var(--gold); border-radius: 14px; padding: 15px 26px; text-decoration: none; box-shadow: 0 6px 0 var(--gold-d), 0 14px 30px rgba(255,194,75,.18); display: inline-block; }
|
||||||
|
.btn:hover { transform: translateY(-1px); }
|
||||||
|
.btn:focus-visible, .card a:focus-visible { outline: 3px solid var(--violet-hi); outline-offset: 3px; }
|
||||||
|
.cta .fine { font-size: 12.5px; color: var(--muted); max-width: 30ch; line-height: 1.45; }
|
||||||
|
.vid .frame { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 0 6px rgba(130,71,229,.10); background: #000; aspect-ratio: 16 / 9; max-width: 100%; position: relative; }
|
||||||
|
.vid video { width: 100%; height: 100%; display: block; object-fit: cover; }
|
||||||
|
.snd { position: absolute; right: 12px; bottom: 12px; font: 600 12px var(--body); color: #fff; background: rgba(10,7,21,.72); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
|
||||||
|
.vid .trust { margin-top: 14px; display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
|
||||||
|
.vid .trust svg { flex: none; margin-top: 2px; }
|
||||||
|
.vid .trust b { color: var(--ink); }
|
||||||
|
|
||||||
|
/* ---- program cards: the share image does the explaining ---- */
|
||||||
|
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 52px 0 16px; }
|
||||||
|
h2 { font: 800 clamp(22px, 3vw, 28px) var(--display); letter-spacing: -.015em; margin: 0; }
|
||||||
|
.sec-head p { margin: 0; color: var(--muted); font-size: 14px; }
|
||||||
|
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
|
||||||
|
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
||||||
|
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
|
||||||
|
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, border-color .18s ease; }
|
||||||
|
.card:hover { transform: translateY(-3px); border-color: rgba(183,148,255,.4); }
|
||||||
|
.card .img { position: relative; aspect-ratio: 1200 / 630; background: #000; }
|
||||||
|
.card .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
|
||||||
|
.card .head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
|
||||||
|
.card .earned { text-align: right; flex: none; }
|
||||||
|
.card .earned b { display: block; font: 800 22px/1.05 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
|
||||||
|
.card .earned b small { font-size: 12px; margin-left: 3px; }
|
||||||
|
.card .earned span { font-size: 11.5px; color: var(--muted); }
|
||||||
|
/* the seasonal feature: one wide card above the grid */
|
||||||
|
.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: var(--panel); border: 1px solid rgba(251,146,60,.45); border-radius: 20px; overflow: hidden; margin-bottom: 18px; box-shadow: 0 0 0 6px rgba(251,146,60,.07); }
|
||||||
|
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } }
|
||||||
|
.feature img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 1200 / 630; }
|
||||||
|
.feature .fb { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
|
||||||
|
.feature .ftag { align-self: flex-start; font: 700 11px var(--body); letter-spacing: .1em; text-transform: uppercase; color: #2b0418; background: #fb923c; padding: 5px 10px; border-radius: 7px; }
|
||||||
|
.feature h3 { margin: 0; font: 800 26px var(--display); letter-spacing: -.01em; }
|
||||||
|
.feature p { margin: 0; color: var(--muted); }
|
||||||
|
.feature .ends { font: 700 13px var(--body); color: #fb923c; }
|
||||||
|
.feature a { align-self: flex-start; text-decoration: none; font: 800 15px var(--display); color: #2b0418; background: #fb923c; border-radius: 12px; padding: 11px 18px; }
|
||||||
|
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
|
||||||
|
.card .nm { display: flex; gap: 8px; align-items: center; font: 700 17px var(--display); }
|
||||||
|
.card .nm i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
|
||||||
|
.card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
|
||||||
|
.card a.join { margin-top: auto; padding-top: 10px; }
|
||||||
|
.card a.join span { display: block; text-align: center; font: 700 14px var(--body); color: #120a1f; background: var(--c); border-radius: 11px; padding: 10px; text-decoration: none; }
|
||||||
|
.card a.join { text-decoration: none; }
|
||||||
|
|
||||||
|
/* ---- the ledger ---- */
|
||||||
|
.ltools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
|
||||||
|
.chip { font: 600 13px var(--body); color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
|
||||||
|
.chip[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); }
|
||||||
|
.ltools .stamp { margin-left: auto; font-size: 12.5px; color: var(--muted); display: flex; gap: 7px; align-items: center; }
|
||||||
|
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
|
||||||
|
table { border-collapse: collapse; width: 100%; min-width: 680px; font-size: 14px; }
|
||||||
|
th { text-align: left; font: 700 11px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 11px 16px; border-bottom: 1px solid var(--line); }
|
||||||
|
td { padding: 9px 16px; border-bottom: 1px solid rgba(183,148,255,.07); font-variant-numeric: tabular-nums; vertical-align: middle; }
|
||||||
|
tr:last-child td { border-bottom: 0; }
|
||||||
|
td.pg .pgc { display: flex; gap: 10px; align-items: center; font-weight: 700; }
|
||||||
|
td.pg img { width: 52px; height: 27px; object-fit: cover; border-radius: 5px; border: 1px solid var(--line); flex: none; }
|
||||||
|
/* phones: the ledger becomes stacked rows (thumb + program + member, amount on the right, time + tx under) */
|
||||||
|
@media (max-width: 640px) {
|
||||||
|
.tbl { overflow: visible; }
|
||||||
|
table { min-width: 0; }
|
||||||
|
thead { display: none; }
|
||||||
|
tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; border-bottom: 1px solid rgba(183,148,255,.1); }
|
||||||
|
tbody tr:last-child { border-bottom: 0; }
|
||||||
|
tbody td { padding: 0; border: 0; }
|
||||||
|
td.pg { grid-column: 1; grid-row: 1; }
|
||||||
|
td.amt { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 18px; }
|
||||||
|
td.who { grid-column: 1; grid-row: 2; color: var(--muted); font-size: 13px; padding-left: 62px; }
|
||||||
|
td.when, td.tx { grid-column: 1 / -1; font-size: 12px; color: var(--muted); padding-left: 62px; }
|
||||||
|
td.when { grid-row: 3; } td.tx { grid-row: 4; white-space: normal; }
|
||||||
|
.ltools .stamp { margin-left: 0; width: 100%; }
|
||||||
|
}
|
||||||
|
/* phones: the call to action centers and goes full width */
|
||||||
|
@media (max-width: 880px) {
|
||||||
|
.cta { flex-direction: column; align-items: stretch; text-align: center; }
|
||||||
|
.cta .btn { text-align: center; }
|
||||||
|
.cta .fine { max-width: none; }
|
||||||
|
.sec-head { flex-direction: column; align-items: flex-start; }
|
||||||
|
}
|
||||||
|
td.amt { font: 700 15px var(--display); color: var(--gold); text-align: right; }
|
||||||
|
th.r { text-align: right; }
|
||||||
|
td.tx { font: 500 12.5px var(--mono); color: var(--muted); white-space: nowrap; }
|
||||||
|
td.tx span { color: var(--violet-hi); margin-left: 6px; }
|
||||||
|
tr.me { background: rgba(255,194,75,.06); }
|
||||||
|
|
||||||
|
details.notes { margin-top: 44px; border: 1px dashed rgba(255,194,75,.35); border-radius: 14px; padding: 12px 16px; color: var(--muted); font-size: 13.5px; }
|
||||||
|
details.notes summary { cursor: pointer; font: 700 14px var(--display); color: var(--gold); }
|
||||||
|
details.notes .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 12px; }
|
||||||
|
details.notes h3 { margin: 0 0 4px; font: 700 13.5px var(--display); color: var(--ink); }
|
||||||
|
details.notes p { margin: 0; }
|
||||||
|
@media (prefers-reduced-motion: reduce) { .card, .btn { transition: none; } .card:hover, .btn:hover { transform: none; } }
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<div class="mock"><b>Mockup</b>Example member and example numbers to judge the layout. The live page fills these from the real payout records.</div>
|
||||||
|
|
||||||
|
<div class="wrap">
|
||||||
|
<header class="bar">
|
||||||
|
<div class="logo"><svg viewBox="0 0 64 64" aria-hidden="true"><path d="M32 4l24 14v28L32 60 8 46V18z" fill="#8247e5"/><path d="M20 28l12-7 12 7v10l-12 7-12-7z" fill="#ffc24b"/></svg>Stack POL</div>
|
||||||
|
<div class="live"><span class="dot"></span>Ledger refreshed 3 min ago</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<section class="hero">
|
||||||
|
<div>
|
||||||
|
<div class="who"><span class="av">M</span><div><b>@martbost</b><span>Stacking POL since September 2026</span></div></div>
|
||||||
|
<p class="kick">Paid straight to one wallet</p>
|
||||||
|
<div class="total"><span class="n" id="tot">0</span><span class="u">POL</span></div>
|
||||||
|
<div class="verify"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3"><path d="M5 12l5 5 9-10"/></svg>From <b id="nprog">7</b> programs, every payment on Polygon</div>
|
||||||
|
<div class="bar-wrap"><div class="stackbar" id="sbar" aria-label="How the stack splits across programs"></div><div class="keys" id="keys"></div></div>
|
||||||
|
<div class="cta">
|
||||||
|
<a class="btn" href="#programs">Start your own stack, free</a>
|
||||||
|
<span class="fine">Free to join. One member's results, not a promise. What you stack depends on what you do.</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<aside class="vid">
|
||||||
|
<div class="frame"><video id="hero" src="{{video}}" poster="{{poster}}" autoplay muted loop playsinline></video><button class="snd" id="snd" type="button">Tap for sound</button></div>
|
||||||
|
<div class="trust"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#4ade80" stroke-width="2.4"><path d="M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z"/><path d="M8.5 12l2.5 2.5 4.5-5"/></svg><span><b>Nothing typed in by hand.</b> Every amount is a real Polygon transaction to this member's wallet. Check any of them in the ledger below.</span></div>
|
||||||
|
</aside>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div class="sec-head" id="programs"><h2>Where the POL comes from</h2><p>Tap any program to start. Each pays to your own wallet.</p></div>
|
||||||
|
<div id="feature"></div>
|
||||||
|
<div class="cards" id="cards"></div>
|
||||||
|
|
||||||
|
<div class="sec-head"><h2>Every payment, in one ledger</h2><p>Refreshed every 5 minutes. Each line links to its Polygon transaction.</p></div>
|
||||||
|
<div class="ltools">
|
||||||
|
<button class="chip" type="button" aria-pressed="true" data-f="all">Whole network</button>
|
||||||
|
<button class="chip" type="button" aria-pressed="false" data-f="me">Just @martbost</button>
|
||||||
|
<span class="stamp"><span class="dot"></span>Next refresh in <span id="nx">2:00</span></span>
|
||||||
|
</div>
|
||||||
|
<div class="tbl"><table>
|
||||||
|
<thead><tr><th>Program</th><th>Paid to</th><th class="r">Amount</th><th>When (CT)</th><th>Transaction</th></tr></thead>
|
||||||
|
<tbody id="led"></tbody>
|
||||||
|
</table></div>
|
||||||
|
|
||||||
|
<details class="notes"><summary>Mockup notes for Marty (not on the live page)</summary><div class="grid">
|
||||||
|
<div><h3>Totals</h3><p>A small indexer refreshes every 5 minutes from each game's payout log and from the InstantAdPay and RM Circle contracts. Page loads read the cached copy, never the chain.</p></div>
|
||||||
|
<div><h3>Join buttons</h3><p>Our programs build the member's link from their InstantAdPay username (?ref=). Outside programs come from their cryptoteambuild.com downline builder entries, falling back to their sponsor's link.</p></div>
|
||||||
|
<div><h3>Order</h3><p>Cards sort by what the member has earned, so the strongest proof leads. New or seasonal programs (Turkey Drop this month) carry a tag.</p></div>
|
||||||
|
<div><h3>Opt-in</h3><p>Members switch on "show my stack" in InstantAdPay Promo tools, where they also get the link, QR code and their own view, click and signup stats.</p></div>
|
||||||
|
</div></details>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
(() => {
|
||||||
|
const P = [
|
||||||
|
{ k: 'iap', n: 'InstantAdPay', c: '#2dd4bf', a: 168.42, p: 37, d: 'Advertise and earn. Every payout splits on-chain the second an ad sells.', img: '{{img:iap}}' },
|
||||||
|
{ k: 'rmc', n: 'RM Circle', c: '#ffc24b', a: 91.5, p: 12, d: 'Premium team build on Polygon. Get your 2, help your 2 get theirs.', img: '{{img:rmc}}' },
|
||||||
|
{ k: 'ph', n: 'PolHunter', c: '#a3e635', a: 58.21, p: 41, d: 'Visit our sites, find the code, get a drip of POL straight to your wallet.', img: '{{img:ph}}' },
|
||||||
|
{ k: 'pd', n: 'PassiveDrip', c: '#b794ff', a: 31.06, p: 19, d: 'Faucet, offers and paid views that pay out in POL every day.', img: '{{img:pd}}' },
|
||||||
|
{ k: 'dr', n: 'Drip Runner', c: '#38bdf8', a: 21.88, p: 26, d: 'Tap-to-hop runner game. First clear of each chapter drips POL.', img: '{{img:dr}}' },
|
||||||
|
{ k: 'gk', n: 'Gem Kingdom', c: '#f472b6', a: 14.6, p: 6, d: 'Fantasy match-3. First clears and boss wins pay POL.', img: '{{img:gk}}' },
|
||||||
|
{ k: 'sw', n: 'SpellWheel', c: '#facc15', a: 9.4, p: 11, d: 'Word puzzle. Swipe the letters, fill the grid, and finished chapters pay POL.', img: '{{img:sw}}' },
|
||||||
|
{ k: 'ch', n: 'ClutterHunt', c: '#34d399', a: 7.85, p: 14, d: 'Hidden-object game with new rooms every season. Found items pay POL.', img: '{{img:ch}}' },
|
||||||
|
{ k: 'ra', n: 'Road Agent', c: '#f59e0b', a: 6.2, p: 5, d: 'Night-highway shooter. Clear sectors and get paid in POL.', img: '{{img:ra}}' },
|
||||||
|
{ k: 'pb', n: 'PolyBreak', c: '#60a5fa', a: 4.1, p: 8, d: 'Brick breaker on Polygon. Cleared levels pay POL.', img: '{{img:pb}}' },
|
||||||
|
{ k: 'pm', n: 'POL Miner', c: '#c084fc', a: 3.05, p: 9, d: 'Dig down through the layers. Ore you bring up pays POL.', img: '{{img:pm}}' },
|
||||||
|
{ k: 'pw', n: 'PolyWarriors', c: '#22d3ee', a: 2.4, p: 3, d: 'Cyberpunk battle game. Wins and missions pay POL.', img: '{{img:pw}}' },
|
||||||
|
{ k: 'td', n: 'Turkey Drop', c: '#fb923c', a: 1.6, p: 2, d: 'Catch the falling turkeys. Score milestones pay POL, and the top 3 every week win prizes.', img: '{{img:td}}', tag: 'This season', ends: 'Season runs November 2 to 30.' },
|
||||||
|
];
|
||||||
|
const fmt = n => n.toLocaleString('en-US', { minimumFractionDigits: 2, maximumFractionDigits: 2 });
|
||||||
|
const total = P.reduce((s, x) => s + x.a, 0), earned = P.filter(x => x.a > 0);
|
||||||
|
document.getElementById('nprog').textContent = earned.length;
|
||||||
|
document.getElementById('sbar').innerHTML = earned.map(x => '<i style="--c:' + x.c + ';flex:' + x.a + '" title="' + x.n + ': ' + fmt(x.a) + ' POL"></i>').join('');
|
||||||
|
document.getElementById('keys').innerHTML = earned.map(x => '<span style="--c:' + x.c + '"><i></i>' + x.n + ' <b>' + fmt(x.a) + '</b></span>').join('');
|
||||||
|
const feat = P.filter(x => x.tag), sorted = P.filter(x => !x.tag).sort((a, b) => b.a - a.a);
|
||||||
|
document.getElementById('feature').innerHTML = feat.map(x => '<article class="feature"><img src="' + x.img + '" alt="' + x.n + '"><div class="fb"><span class="ftag">' + x.tag + '</span><h3>' + x.n + '</h3><p>' + x.d + '</p><span class="ends">' + x.ends + '</span><a href="#programs">Play ' + x.n + ' free</a></div></article>').join('');
|
||||||
|
document.getElementById('cards').innerHTML = sorted.map(x => '<article class="card" style="--c:' + x.c + '"><div class="img"><img src="' + x.img + '" alt="' + x.n + '"></div><div class="body"><div class="head"><div class="nm"><i></i>' + x.n + '</div>'
|
||||||
|
+ '<div class="earned"><b>' + fmt(x.a) + '<small>POL</small></b><span>' + x.p + ' payments</span></div></div><p>' + x.d + '</p><a class="join" href="#programs"><span>Join ' + x.n + ' free</span></a></div></article>').join('');
|
||||||
|
// count-up on the big number from a visible resting value
|
||||||
|
const el = document.getElementById('tot'), reduce = matchMedia('(prefers-reduced-motion: reduce)').matches;
|
||||||
|
if (reduce) el.textContent = fmt(total); else { el.textContent = fmt(total * 0.6); const t0 = performance.now(); const step = t => { const k = Math.min(1, (t - t0) / 1400); el.textContent = fmt(total * (0.6 + 0.4 * (1 - Math.pow(1 - k, 3)))); if (k < 1) requestAnimationFrame(step); }; requestAnimationFrame(step); }
|
||||||
|
// example ledger rows
|
||||||
|
const users = ['@martbost', '@mhugh50', '@opgnetwerk', '@clinton', '@harveysilverfox', '@zerohealthcost', '@rcmjosephg', '@gregjerome148'];
|
||||||
|
let seed = 7; const rnd = () => (seed = (seed * 16807) % 2147483647) / 2147483647;
|
||||||
|
const hex = () => '0x' + Math.floor(rnd() * 16777215).toString(16).padStart(6, '0') + '…' + Math.floor(rnd() * 65535).toString(16).padStart(4, '0');
|
||||||
|
const rows = []; let min = 2;
|
||||||
|
for (let i = 0; i < 14; i++) {
|
||||||
|
const p = earned[Math.floor(rnd() * earned.length)], u = i % 3 === 0 ? '@martbost' : users[1 + Math.floor(rnd() * 7)];
|
||||||
|
const amt = p.k === 'iap' ? 2 + rnd() * 9 : p.k === 'rmc' ? 4 + rnd() * 14 : p.k === 'gk' ? (rnd() < .3 ? 5 : 0.25) : 0.25 + rnd() * 0.6;
|
||||||
|
const h = new Date(Date.now() - min * 60000); min += 3 + Math.floor(rnd() * 14);
|
||||||
|
rows.push({ p, u, amt, t: h.toLocaleTimeString('en-US', { hour: 'numeric', minute: '2-digit', timeZone: 'America/Chicago' }), tx: hex() });
|
||||||
|
}
|
||||||
|
const body = document.getElementById('led');
|
||||||
|
const draw = f => { body.innerHTML = rows.filter(r => f !== 'me' || r.u === '@martbost').map(r => '<tr' + (r.u === '@martbost' ? ' class="me"' : '') + '><td class="pg"><div class="pgc"><img src="' + r.p.img + '" alt="">' + r.p.n + '</div></td><td class="who">' + r.u + '</td><td class="amt">' + fmt(r.amt) + '</td><td class="when">' + r.t + '</td><td class="tx">' + r.tx + '<span>Polygonscan ↗</span></td></tr>').join(''); };
|
||||||
|
draw('all');
|
||||||
|
document.querySelectorAll('.chip').forEach(b => b.addEventListener('click', () => { document.querySelectorAll('.chip').forEach(x => x.setAttribute('aria-pressed', String(x === b))); draw(b.dataset.f); }));
|
||||||
|
let left = 120; const nx = document.getElementById('nx'); setInterval(() => { left = left > 0 ? left - 1 : 300; nx.textContent = Math.floor(left / 60) + ':' + String(left % 60).padStart(2, '0'); }, 1000);
|
||||||
|
const v = document.getElementById('hero'), sb = document.getElementById('snd');
|
||||||
|
sb.addEventListener('click', () => { v.muted = !v.muted; sb.textContent = v.muted ? 'Tap for sound' : 'Sound on'; if (!v.muted) { v.currentTime = 0; v.play().catch(() => {}); } });
|
||||||
|
})();
|
||||||
|
</script>
|
||||||