diff --git a/public/admin.html b/public/admin.html index 357d9b4..fd74be3 100644 --- a/public/admin.html +++ b/public/admin.html @@ -81,7 +81,7 @@

-

Back to the member area

+

Back to the member area

@@ -106,7 +106,7 @@ @@ -494,7 +494,7 @@ - + diff --git a/public/ads.html b/public/ads.html index e091012..2022436 100644 --- a/public/ads.html +++ b/public/ads.html @@ -59,7 +59,7 @@ - - + + diff --git a/public/assets/ads-screen.js b/public/assets/ads-screen.js index 00f0d25..8f0c6f6 100644 --- a/public/assets/ads-screen.js +++ b/public/assets/ads-screen.js @@ -30,7 +30,7 @@ + (c.status === 'active' ? '' : c.status === 'paused' ? '' : '') + (['active', 'paused', 'out'].includes(c.status) ? '' : '') + '').join('') : '
No ads yet. Launch one: a banner, a text ad or the login spot.
'; - if (D.gauntletPending) $('earnNote').insertAdjacentHTML('afterend', '
Your welcome credits unlock after the short welcome tour on the classic dashboard.
'); + if (D.gauntletPending) $('earnNote').insertAdjacentHTML('afterend', '
Your welcome credits unlock after the short welcome tour on the classic dashboard.
'); $('foot').textContent = 'views = timed views in the ad viewer plus member zones; network = the partner ad network · a paused ad keeps its credits · unspent credits return when an ad ends'; $('rows').querySelectorAll('[data-pause]').forEach(b => b.addEventListener('click', () => act('/api/my/campaigns/' + b.dataset.pause + '/pause'))); $('rows').querySelectorAll('[data-resume]').forEach(b => b.addEventListener('click', () => act('/api/my/campaigns/' + b.dataset.resume + '/resume'))); diff --git a/public/assets/common.js b/public/assets/common.js index 4955578..22cd955 100644 --- a/public/assets/common.js +++ b/public/assets/common.js @@ -34,7 +34,7 @@ window.IAP = (function () { + 'Live ledger' + 'Leaderboard' + 'The contract' - + 'Members' + + 'Members' + '…'; document.body.prepend(nav); if (c.rehearsal) { @@ -71,7 +71,7 @@ window.IAP = (function () { : (me.address ? '' + me.address.slice(0, 6) + '…' + me.address.slice(-4) + '' : 'signed in')); el.innerHTML = (me.memberId ? 'member #' + me.memberId + ' ' : '') + who; } else { - el.innerHTML = 'Sign in'; + el.innerHTML = 'Sign in'; } return me; } catch (e) { return null; } @@ -188,30 +188,30 @@ window.IAP = (function () { const m = me || {}, man = manualSet(); const bc = Number(m.buyerCount || 0), refs = (m.referrals || []).length; return [ - { key: 'username', title: 'Pick your username', done: !!m.username, href: '/my#profile', cta: 'Profile', + { key: 'username', title: 'Pick your username', done: !!m.username, href: '/tools#profile', cta: 'Profile', how: 'Profile tab. It becomes your invite link and your public page, and it is permanent.', why: 'Every link, banner and video you hand out this week carries it. Change it later and the links you already sent die.' }, - { key: 'wallet', title: 'Link your wallet', done: !!m.address, href: '/my#wallet', cta: 'Wallet', + { key: 'wallet', title: 'Link your wallet', done: !!m.address, href: '/wallet', cta: 'Wallet', how: 'Wallet tab, Connect, sign the free message. MetaMask recommended. Never held crypto? The wallet guide in Training walks through buying POL with a card.', why: 'Payouts go to this address. No wallet, nowhere to pay you.' }, - { key: 'payouts', title: 'Switch on payouts', done: !!m.memberId, href: '/my#wallet', cta: 'Wallet', + { key: 'payouts', title: 'Switch on payouts', done: !!m.memberId, href: '/wallet', cta: 'Wallet', how: 'Wallet tab, one small transaction. It registers your address with the contract.', why: 'The contract binds each buyer to their sponsor at their first purchase. If payouts are off when your first person buys, that commission is not yours.' }, - { key: 'level2', title: 'Qualify: open level 2', done: bc >= 2, href: '/my#buy', cta: 'Buy packages', + { key: 'level2', title: 'Qualify: open level 2', done: bc >= 2, href: '/credits', cta: 'Buy packages', how: 'Two of your people buy a $20 or more package. Or use Qualified Start: add two positions from extra wallets in your own MetaMask and buy a $20 package from each (about $23 of POL in each wallet).', why: 'Until you have two qualifying buyers, every level 2 payment from your team climbs past you.', note: 'Qualifying buyers so far: ' + bc + ' of 2.' }, - { key: 'level3', title: 'The leader play: open all three levels', done: bc >= 5, href: '/my#buy', cta: 'Qualified Start', + { key: 'level3', title: 'The leader play: open all three levels', done: bc >= 5, href: '/credits', cta: 'Qualified Start', how: 'Five qualifying buyers, real or Qualified Start, up to five linked positions. Once qualified, buy from your main wallet so your sponsor is paid in full.', why: 'A leader whose team goes three deep this week collects level 3 from day one instead of watching those 10% payments pass upward. Optional for members, the play for leaders.', note: 'Qualifying buyers so far: ' + bc + ' of 5.' }, - { key: 'banner', title: 'Upload your line banner', done: !!m.lineBannerUrl, href: '/my#profile', cta: 'Profile', + { key: 'banner', title: 'Upload your line banner', done: !!m.lineBannerUrl, href: '/tools#profile', cta: 'Profile', how: 'Profile tab, line banner. It shows on the welcome tour to everyone in your next three levels.', why: 'Your first advertising to your own team, free, and it is live the moment they join.' }, { key: 'links', title: 'Copy your links and pick a play', done: man.has('links'), manual: true, how: 'Promo tools, Your links: the invite link and the five angle links, plus the matching hook videos. Then read the plays page and choose one.', why: 'On launch day you send links, not explanations. Having them ready is the whole difference between a launch and a scramble.' }, - { key: 'two', title: 'Place your first two', done: refs >= 2, href: '/my#line', cta: 'My line', + { key: 'two', title: 'Place your first two', done: refs >= 2, href: '/tools#line', cta: 'My line', how: 'Two people you have actually talked to, joined through your link, walked through items 1 to 3 on their own accounts.', why: 'Your first two are the shape of your whole line. Choose them, do not wait for them.', note: 'Joined through you so far: ' + refs + '.' } diff --git a/public/assets/cr-shell.js b/public/assets/cr-shell.js index 4570bf3..242d27a 100644 --- a/public/assets/cr-shell.js +++ b/public/assets/cr-shell.js @@ -15,10 +15,11 @@ window.CR = (function () { ['reports', 'Reports', '/reports', ''], ['team', 'Team', '/team', ''], ['wallet', 'Wallet', '/wallet', ''], + ['tools', 'More', '/tools', ''], ]; // screens not built yet fall back to the classic dashboard pane so nothing is a dead end - const FALLBACK = { pages: '/my#promo', zones: '/my#campaigns', team: '/my#line', wallet: '/my#wallet' }; - const BUILT = new Set(['links', 'pages', 'zones', 'ads', 'credits', 'reports', 'team', 'wallet']); + const FALLBACK = {}; // the classic /my dashboard is retired (2026-10-08); its leftover panes live at /tools + const BUILT = new Set(['links', 'pages', 'zones', 'ads', 'credits', 'reports', 'team', 'wallet', 'tools']); let ME = null, toastT; function toast(msg, bad) { let t = $('crToast'); if (!t) { t = document.createElement('div'); t.id = 'crToast'; t.className = 'toast'; t.setAttribute('role', 'status'); document.body.appendChild(t); } t.textContent = msg; t.classList.toggle('bad', !!bad); t.classList.add('on'); clearTimeout(toastT); toastT = setTimeout(() => t.classList.remove('on'), 2000); } async function api(path, body) { const r = await (await fetch(path, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(body || {}) })).json(); if (r.error) throw new Error(r.error); return r; } @@ -70,7 +71,7 @@ window.CR = (function () { host.innerHTML = ''; + + '
More tools
'; const email = $('siEmail'), code = $('siCode'), go = $('siGo'), msg = $('siMsg'); let stage = 'email'; email.focus(); const say = (t, bad) => { msg.textContent = t; msg.className = bad ? 'bad' : 'muted'; }; diff --git a/public/assets/my.js b/public/assets/my.js index 7a504f9..f3eec4b 100644 --- a/public/assets/my.js +++ b/public/assets/my.js @@ -636,7 +636,9 @@ const TITLES = { overview: 'Overview', line: 'My line', pipeline: 'Pipeline', rotator: 'Rotator', buy: 'Buy packages', campaigns: 'Campaigns', earn: 'Earn credits', earnings: 'Earnings', promo: 'Promo tools', training: 'Training', wallet: 'Wallet & account', profile: 'Profile' }; + const MOVED = { buy: '/credits', rotator: '/links', campaigns: '/ads', earn: '/ads', earnings: '/credits', wallet: '/wallet' }; // control-room screens (2026-10-08) function setPane(name) { + if (MOVED[name]) { location.replace(MOVED[name]); return; } if (!PANES.includes(name)) name = 'overview'; for (const p of PANES) { const el = $('pane-' + p); @@ -697,7 +699,7 @@ // arrived from an invite page: run the welcome tour and login ad once if (/[?&]welcome=1/.test(location.search) && !render.welcomed) { render.welcomed = true; - history.replaceState(null, '', '/my' + (location.hash || '')); + history.replaceState(null, '', '/tools' + (location.hash || '')); (async () => { try { if (!(await showGauntlet())) await showLoginAd(); } catch (e) {} await render(); diff --git a/public/assets/view.js b/public/assets/view.js index ceaa90b..778c125 100644 --- a/public/assets/view.js +++ b/public/assets/view.js @@ -90,14 +90,14 @@ // the tab is still here a moment later, take them back to the dashboard so // they are never stuck on a tab they can't close. setTimeout(() => { - if (!window.closed) { setMsg('Taking you back to your dashboard…'); location.href = '/my#earn'; } + if (!window.closed) { setMsg('Taking you back to your dashboard…'); location.href = '/ads'; } }, 400); }); // When shown inside the dashboard's in-page overlay there is no tab to close: // hide "Close tab" and turn "Back to dashboard" into a close-the-overlay signal. if (framed) { const cb = $('vClose'); if (cb) cb.style.display = 'none'; - const back = document.querySelector('#vDone a[href="/my#earn"]'); + const back = document.querySelector('#vDone a[href="/ads"]'); if (back) back.addEventListener('click', e => { e.preventDefault(); try { window.parent.postMessage({ t: 'iap-view-close' }, location.origin); } catch (x) {} }); } (async () => { diff --git a/public/assets/wall.js b/public/assets/wall.js index d02cd4a..0967792 100644 --- a/public/assets/wall.js +++ b/public/assets/wall.js @@ -10,7 +10,7 @@ const hostEl = IAP.$('wallHost'); if (!w || w.error) { title.textContent = 'No wall under that name.'; - IAP.$('wallJoin').href = '/my'; + IAP.$('wallJoin').href = '/links'; return; } const safeName = String(w.name).replace(/[&<>]/g, ''); diff --git a/public/assets/wallet-screen.js b/public/assets/wallet-screen.js index 1acad8a..7277561 100644 --- a/public/assets/wallet-screen.js +++ b/public/assets/wallet-screen.js @@ -1,4 +1,4 @@ -// LinkSpin Wallet: paid-to-this-wallet, credits, positions, payout history (engine APIs). Connect/buy stay on /my#wallet for now. +// LinkSpin Wallet: paid-to-this-wallet, credits, positions, payout history (engine APIs). Connect/link a wallet and buy live on /credits. (function () { const $ = id => document.getElementById(id); const esc = CR.esc, fmt = CR.fmt; CR.mount({ active: 'wallet', title: 'Wallet', sub: 'loading' }); diff --git a/public/credits.html b/public/credits.html index a0960ec..6a375a8 100644 --- a/public/credits.html +++ b/public/credits.html @@ -78,9 +78,9 @@ - + - + diff --git a/public/earning.html b/public/earning.html index 1fb2579..24e7d41 100644 --- a/public/earning.html +++ b/public/earning.html @@ -64,10 +64,10 @@

No income is guaranteed. Results depend on your effort. Cryptocurrency involves risk of loss. LinkSpin sells advertising; it is not an investment.

- + diff --git a/public/join.html b/public/join.html index 038ef55..09b8b61 100644 --- a/public/join.html +++ b/public/join.html @@ -87,7 +87,7 @@ body.squeeze .steps,body.squeeze .checks{display:none} a Crypto Team Build Network property - + diff --git a/public/launch.html b/public/launch.html index fdc2516..6d388a2 100644 --- a/public/launch.html +++ b/public/launch.html @@ -56,7 +56,7 @@

Get these done this week, in this order, and your first commissions land in your wallet instead of climbing past you. Everything here reads from your live account.

-

Members only

Sign in to your member area to open the checklist. Sign in

+

Members only

Sign in to your member area to open the checklist. Sign in

@@ -100,11 +100,11 @@
- + diff --git a/public/ledger.html b/public/ledger.html index 3194b1b..dbb60e6 100644 --- a/public/ledger.html +++ b/public/ledger.html @@ -63,7 +63,7 @@ a Crypto Team Build Network property - + diff --git a/public/links.html b/public/links.html index ba72406..ce87ac1 100644 --- a/public/links.html +++ b/public/links.html @@ -111,7 +111,7 @@ - + diff --git a/public/my.html b/public/my.html index cbc69ba..b7a8b52 100644 --- a/public/my.html +++ b/public/my.html @@ -2,7 +2,7 @@ -Member area | LinkSpin +More · Member area | LinkSpin @@ -127,18 +127,13 @@