Landing: the account step carries ?from=polhunter so IAP sends them back after the wallet link
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -47,7 +47,7 @@
|
||||
<h2>Before your first hunt</h2>
|
||||
<div class="sub">Drips are paid to the wallet on your InstantAdPay account. Three steps, once.</div>
|
||||
<div class="steps">
|
||||
<div class="step"><b>Create your free InstantAdPay account</b> at <a href="https://instantadpay.com" target="_blank" rel="noopener">instantadpay.com</a>. Email first, no wallet needed to sign up.</div>
|
||||
<div class="step"><b>Create your free InstantAdPay account</b> at <a href="https://instantadpay.com/?from=polhunter" target="_blank" rel="noopener">instantadpay.com</a>. Email first, no wallet needed to sign up.</div>
|
||||
<div class="step"><b>Link your wallet.</b> In your InstantAdPay dashboard open <a href="https://instantadpay.com/my#wallet" target="_blank" rel="noopener">Wallet</a>, press connect wallet and approve. That address is where every drip lands, on Polygon.</div>
|
||||
<div class="step"><b>Open your board.</b> Press <a href="https://instantadpay.com/api/my/polhunter">Open my board</a> from your dashboard or up top. No new password: InstantAdPay signs you straight into PolHunter.</div>
|
||||
</div>
|
||||
@@ -94,7 +94,7 @@
|
||||
.map(([l, v]) => '<div class="stat"><div class="v num">' + v + '</div><div class="l">' + l + '</div></div>').join('');
|
||||
const cfg = await (await fetch('/api/config')).json();
|
||||
// arrived on a member's share link: sign-ups go to that member's InstantAdPay join page
|
||||
if (cfg.ref) { document.querySelectorAll('a[href="https://instantadpay.com"]').forEach(a => { a.href = cfg.joinUrl; }); const inv = document.createElement('span'); inv.className = 'pill'; inv.style.marginLeft = '10px'; inv.innerHTML = '<i></i> Invited by @' + cfg.ref.replace(/[<>&"]/g, ''); document.querySelector('.hero-copy .pill').after(inv); }
|
||||
if (cfg.ref) { document.querySelectorAll('a[href="https://instantadpay.com/?from=polhunter"]').forEach(a => { a.href = cfg.joinUrl; }); const inv = document.createElement('span'); inv.className = 'pill'; inv.style.marginLeft = '10px'; inv.innerHTML = '<i></i> Invited by @' + cfg.ref.replace(/[<>&"]/g, ''); document.querySelector('.hero-copy .pill').after(inv); }
|
||||
document.getElementById('recent').innerHTML = (r.recent || []).length ? r.recent.map(x => '<div class="row"><span>' + x.who + '</span><span class="site">' + x.site + '</span><span class="pol">+' + x.pol + ' POL</span><a class="when" href="' + cfg.explorer + '/tx/' + x.tx + '" target="_blank" rel="noopener">verify ↗</a></div>').join('')
|
||||
: '<div class="row"><span class="site">No drips yet. The first hunter gets the first line.</span></div>';
|
||||
} catch (e) {}
|
||||
|
||||
Reference in New Issue
Block a user