Rail shows Training, Pipeline, Profile; profile carry-over from InstantAdPay; hero frame + relative page images; the "how is this different from InstantAdPay" answer

- Control Room rail: Training, Pipeline and Profile are first-class entries (phone bar keeps them behind More)
- /api/partner/registry: rows may carry profile {avatarUrl, bio, socials}; fills only empty fields on this side, member edits win after that
- Pages: uploaded images are stored as /u/pages/... paths (any host, local recordings included); the split hero frame keeps a 3:2 shape with a tinted ground when an image fails to load (was a thin white bar)
- Home page section + chatbot canned answer + FACTS: InstantAdPay = marketplace, LinkSpin = tool side, same line and wallet
- asset tags bumped to 20261011a

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-10-11 06:41:25 -05:00
parent 16a9d9af92
commit f562cc50be
20 changed files with 55 additions and 32 deletions
+3 -1
View File
@@ -26,6 +26,8 @@ function enabled() { return !!key(); }
// ---- canned answers: instant, free, always in voice. Order matters: the first regex that matches wins. ----
const CANNED = [
{ re: /(instant ?ad ?pay|[^a-z]iap[^a-z]|differen|same as|another (site|program|property)|why (two|another)|sister (site|property)|which (one|site) (should|do))/i,
a: 'InstantAdPay is the ad marketplace: you buy ad packages there, earn credits by viewing ads, and get paid when your line buys. LinkSpin is the tool side of the same network: a link rotator, a page builder and ad zones for your own sites, free with an email address. Its packages buy ad delivery across the LinkSpin viewer, every member zone and the partner network, and they pay your sponsor line the same way, inside the purchase transaction. Same people above and below you, same wallet, and your InstantAdPay username and profile carry over when you sign in with the same email.' },
{ re: /(pyramid|ponzi|scam|scheme|mlm|legit)/i,
a: 'Fair question. A pyramid pays for recruiting with no product. LinkSpin sells advertising: an ad package buys real ad delivery (banner, text and login ads across the ad viewer, every member zone and the partner network), and the free tools, spin links, pages and zones, work with no purchase at all. The referral split is a fixed rule in a verified contract on Polygon, 50 percent to the direct sponsor, 20 to level 2, 10 to level 3 and 10 plus 10 to two admin wallets, paid in the same transaction as the purchase. Nobody is paid for recruiting without a sale, nothing is held, and no income is promised. Read the code and every payout yourself at ' + SITE_URL + '/contract and ' + SITE_URL + '/ledger.' },
{ re: /(withdraw|cash ?out|payout request|minimum payout|pending (payment|payout|commission))/i,
@@ -92,7 +94,7 @@ FACTS:
- SPONSOR: the invite link opened most recently sets the sponsor (30-day cookie), shown on the join page, locked when the account is created; the contract binds the buyer to that sponsor at the first purchase. CARRY-OVER: Crypto Team Build Network members who sign in with the email they use on InstantAdPay get their InstantAdPay sponsor from the network registry automatically when no invite link was used. Wrong sponsor before the first purchase: the admin can move the account. Members should switch on payouts before their people buy.
- CONTROL ROOM screens: Links, Pages, Zones (with Audiences), Ads, Credits, Reports, Team (three levels, who has payouts on, who bought, qualifying-buyer counts), Wallet (what was paid to this wallet, payout history). More at ${SITE_URL}/tools: Promo tools, Training, Pipeline (a follow-up board for prospects and directs), My line (including the holding tank: members who joined with no sponsor wait there and can be adopted by a member with payouts on and their own qualifying package), Profile.
- Leaderboard at ${SITE_URL}/leaderboard ranks members by packages sold to direct referrals (weekly, monthly, all time; prizes are credits, never cash). Release notes and roadmap at ${SITE_URL}/whats-new.
- InstantAdPay is the sister property in the same network, not this site. Do not describe InstantAdPay mechanics (holding-tank rescue emails, Five Dollar Friday, Wired Wednesday, games, mint passes, surf earn tab) as LinkSpin features.
- InstantAdPay is the sister property in the same network, not this site: it is the ad marketplace (buy ad packages, earn credits by viewing ads, get paid when your line buys); LinkSpin is the tool side (rotator, page builder, zones), free with an email, whose packages buy ad delivery across the LinkSpin viewer, member zones and the partner network and pay the same sponsor line in the purchase transaction. Username, sponsor and profile (avatar, bio, social links) carry over when the member signs in with the same email, and can be changed here any time. Do not describe InstantAdPay mechanics (holding-tank rescue emails, Five Dollar Friday, Wired Wednesday, games, mint passes, surf earn tab) as LinkSpin features.
RULES:
- 1 to 4 sentences, plain text, no markdown, include full URLs when pointing at a page.
+1 -1
View File
@@ -6,7 +6,7 @@
const formrestyle = require('./formrestyle');
const S = require('./pagestyle');
const esc = S.esc;
const href = u => { const s = String(u || '').trim(); return /^https?:\/\/[^\s"'<>]+$/i.test(s) && s.length <= 700 ? s : ''; };
const href = u => { const s = String(u || '').trim(); if (/^[/]u[/]pages[/][a-z0-9]+[/][a-z0-9]+[.](png|jpe?g|webp|gif)$/i.test(s)) return s; return /^https?:\/\/[^\s"'<>]+$/i.test(s) && s.length <= 700 ? s : ''; };
const PALETTE_NAMES = Object.keys(S.PALETTES).concat(['ink', 'ember']);
// the three knobs a page carries, with safe fallbacks for anything stored by older code
+1 -1
View File
@@ -20,7 +20,7 @@ const J = { db: null, FILE: () => path.join(DATA_DIR, 'pages.json'),
function init(opts) { DATA_DIR = opts.dataDir; ownHosts = opts.ownHosts || (() => []); keyFn = opts.openrouterKey || (() => ''); imageBase = opts.imageBase || (() => ''); J.load(); }
const norm = e => String(e || '').trim().toLowerCase();
const TYPES = ['bridge', 'review', 'squeeze'];
const cleanUrl = u => { const s = String(u || '').trim(); return /^https?:\/\/[^\s"'<>]+$/i.test(s) && s.length <= 700 ? s : ''; };
const cleanUrl = u => { const s = String(u || '').trim(); if (/^[/]u[/]pages[/][a-z0-9]+[/][a-z0-9]+[.](png|jpe?g|webp|gif)$/i.test(s)) return s; return /^https?:\/\/[^\s"'<>]+$/i.test(s) && s.length <= 700 ? s : ''; };
// people type bare domains ("cryptoteambuild.com"): give them the scheme before judging the address (Marty 2026-10-07)
const withScheme = u => { const s = String(u || '').trim(); return s && !/^[a-z][a-z0-9+.-]*:\/\//i.test(s) && /^[^\s\/]+\.[^\s]+/.test(s) ? 'https://' + s : s; };
const slugify = t => (String(t || '').toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/^-+|-+$/g, '').slice(0, 40) || 'page') + '-' + crypto.randomBytes(3).toString('hex');
+1 -1
View File
@@ -79,7 +79,7 @@ function kitCss(design, pk) {
const P = PALETTES[pk] || PALETTES.graphite, C = P.c, dk = C.inkGreen, cream = C.cream;
const shared = '.k-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;border-radius:99px;padding:6px 14px;margin:0 0 18px}.k-eyebrow .dot{width:6px;height:6px;border-radius:99px}'
+ 'ul.checks{list-style:none;padding:0;margin:0 0 24px;text-align:left}ul.checks li{padding:7px 0 7px 34px;position:relative}ul.checks li:before{content:"\\2713";position:absolute;left:0;top:7px;width:22px;height:22px;border-radius:50%;background:' + C.greenTint + ';color:' + C.green + ';font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center}'
+ '.k-imgframe{position:relative;border-radius:18px;overflow:hidden;box-shadow:0 12px 40px rgba(0,0,0,.18);border:6px solid #fff}.k-imgframe img{display:block;width:100%;height:auto}.k-imgframe::after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,' + rgba(C.inkGreen, 0.12) + ',' + rgba(C.gold, 0.1) + ');mix-blend-mode:multiply;pointer-events:none}'
+ '.k-imgframe{position:relative;border-radius:18px;overflow:hidden;box-shadow:0 12px 40px rgba(0,0,0,.18);border:6px solid #fff;aspect-ratio:3/2;background:linear-gradient(135deg,' + rgba(C.inkGreen, 0.35) + ',' + rgba(C.gold, 0.3) + ')}.k-imgframe img{display:block;width:100%;height:100%;object-fit:cover}.k-imgframe::after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,' + rgba(C.inkGreen, 0.12) + ',' + rgba(C.gold, 0.1) + ');mix-blend-mode:multiply;pointer-events:none}'
+ '.k-mark{background:linear-gradient(180deg,transparent 52%,' + rgba(C.gold, 0.55) + ' 52%);padding:0 .12em;border-radius:2px;box-decoration-break:clone;-webkit-box-decoration-break:clone}'
+ '.cta{display:inline-block;background:' + C.gold + ';color:' + C.goldInk + ';font-weight:800;font-size:18px;line-height:1.3;text-decoration:none;padding:16px 32px;border-radius:10px;border:0;cursor:pointer;font-family:' + FONT + ';box-shadow:0 8px 24px ' + rgba(C.gold, 0.35) + ';transition:transform .15s ease,filter .15s ease}.cta:hover{transform:translateY(-1px);filter:brightness(1.05)}'
+ '.pc{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.pc div{border:1px solid ' + C.hairline + ';border-radius:12px;padding:16px 18px;background:#fff}.pc h3{margin:0 0 8px;font-size:16px}.pc ul{margin:0;padding-left:18px}@media(max-width:600px){.pc{grid-template-columns:1fr}}'
+2 -2
View File
@@ -6,7 +6,7 @@
<meta name="robots" content="noindex, nofollow">
<title>Ads · LinkSpin</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Manrope:wght@400;500;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/cr.css?v=20261008a">
<link rel="stylesheet" href="/assets/cr.css?v=20261011a">
<style>
.body{padding:16px 24px;display:grid;gap:16px}
.two{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:16px}
@@ -61,7 +61,7 @@
</div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261008c"></script>
<script src="/assets/cr-shell.js?v=20261011a"></script>
<script src="/assets/ads-screen.js?v=20261008b"></script>
</body>
</html>
+5 -2
View File
@@ -16,11 +16,14 @@ window.CR = (function () {
['team', 'Team', '/team', '<circle cx="9" cy="8" r="3"/><circle cx="17" cy="9" r="2.5"/><path d="M3 19c0-3 3-5 6-5s6 2 6 5M15 15c3 0 6 1.5 6 4"/>'],
['wallet', 'Wallet', '/wallet', '<rect x="3" y="6" width="18" height="12" rx="2"/><path d="M16 12h3"/>'],
['promo', 'Promo tools', '/tools#promo', '<path d="M7 10s5-1 9-5v14c-4-4-9-5-9-5H5a2 2 0 0 1-2-2v0a2 2 0 0 1 2-2h2z"/><path d="M8 15l1 5h2l-1-5"/>'],
['training', 'Training', '/tools#training', '<rect x="3" y="5" width="18" height="13" rx="2"/><path d="M10 9l5 2.5-5 2.5z"/>', 1],
['pipeline', 'Pipeline', '/tools#pipeline', '<rect x="3" y="5" width="5" height="14" rx="1"/><rect x="9.5" y="5" width="5" height="10" rx="1"/><rect x="16" y="5" width="5" height="7" rx="1"/>', 1],
['profile', 'Profile', '/tools#profile', '<circle cx="12" cy="8" r="3.5"/><path d="M5 20c0-4 3-6 7-6s7 2 7 6"/>', 1],
['tools', 'More', '/tools', '<circle cx="5" cy="12" r="1.6"/><circle cx="12" cy="12" r="1.6"/><circle cx="19" cy="12" r="1.6"/>'],
];
// screens not built yet fall back to the classic dashboard pane so nothing is a dead end
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', 'promo']);
const BUILT = new Set(['links', 'pages', 'zones', 'ads', 'credits', 'reports', 'team', 'wallet', 'tools', 'promo', 'training', 'pipeline', 'profile']); // Training, Pipeline and Profile on the rail, not behind More (Marty 2026-10-11)
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; }
@@ -47,7 +50,7 @@ window.CR = (function () {
const page = $('page'); if (!page) return;
const app = document.createElement('div'); app.className = 'app'; let railWide = true; try { railWide = localStorage.getItem('cr.rail') !== 'narrow'; } catch (e) {} if (railWide) app.classList.add('wide'); // expanded by default (Marty 2026-10-08), the choice remembered per browser
app.innerHTML = '<nav class="rail" aria-label="LinkSpin"><a class="mark" href="/" aria-label="LinkSpin home" title="LinkSpin"></a>'
+ NAV.map(([k, label, href, svg]) => '<a href="' + (BUILT.has(k) ? href : FALLBACK[k]) + '"' + (k === o.active ? ' class="on" aria-current="page"' : '') + ' title="' + label + '" aria-label="' + label + '"><svg viewBox="0 0 24 24">' + svg + '</svg><span class="lbl">' + label + '</span></a>').join('')
+ NAV.map(([k, label, href, svg, sec]) => '<a href="' + (BUILT.has(k) ? href : FALLBACK[k]) + '"' + (k === o.active ? ' class="on' + (sec ? ' sec' : '') + '" aria-current="page"' : (sec ? ' class="sec"' : '')) + ' title="' + label + '" aria-label="' + label + '"><svg viewBox="0 0 24 24">' + svg + '</svg><span class="lbl">' + label + '</span></a>').join('')
+ '<span class="sp"></span><button class="railtog" type="button" id="crRailTog" title="Collapse or expand the menu" aria-label="Collapse or expand the menu"><svg viewBox="0 0 24 24"><path d="M15 6l-6 6 6 6"/></svg><span class="lbl">Collapse</span></button></nav>'
+ '<div class="main"><div class="topbar"><div><div class="crumb">' + esc(o.crumb || 'Control room') + '</div><h1>' + esc(o.title || '') + '</h1></div><span class="readout" id="crSub">' + esc(o.sub || '') + '</span><span class="grow"></span><span id="crActions">' + (o.actions || '') + '</span><button class="who" type="button" id="crUserBtn" title="Account"><i id="crAv"></i><span id="crWho">Sign in</span></button></div><div id="crBody"></div>'
+ '<div class="strip" id="crStrip"><span><span class="dot off" id="stDot"></span>rotator <b id="stHealth">checking</b></span><span>served today <b id="stServed">·</b></span><span>zones live <b id="stZones">·</b></span><span>network <b id="stNet">·</b></span><span class="grow"></span><span id="stClock"></span></div></div>';
+1 -1
View File
@@ -174,7 +174,7 @@ label.lbl{display:grid;gap:5px;font-size:10.5px;font-weight:700;letter-spacing:.
@media (max-width:760px){
.app{grid-template-columns:1fr}
.rail{position:fixed;top:auto;bottom:0;left:0;right:0;height:auto;flex-direction:row;justify-content:space-around;padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px));border-right:0;border-top:1px solid var(--chrome-line);z-index:30}
.rail .mark,.rail .sp,.railtog,.rail .lbl{display:none} .rail a.on::before{display:none}
.rail .mark,.rail .sp,.railtog,.rail .lbl,.rail a.sec{display:none} .rail a.on::before{display:none}
.app.wide{grid-template-columns:1fr} .app.wide .rail{align-items:center;padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px))} .app.wide .rail a{width:40px;justify-content:center;padding:0}
.main{padding-bottom:64px;min-height:auto}
.topbar{padding:10px 16px;flex-wrap:wrap;gap:10px 14px} .topbar .readout{display:none}
+2 -2
View File
@@ -24,7 +24,7 @@
// the member's hosted images: a strip of thumbnails under the image field, click to use, x to delete
function drawImages() {
const box = $('imgStrip'); if (!box) return;
box.innerHTML = (IMAGES.length ? IMAGES.map(i => '<span class="im" data-url="' + esc(i.url) + '" title="Use this image"><img src="' + esc(i.url) + '" alt="" loading="lazy"><button type="button" class="x" data-del="' + i.id + '" title="Delete this image">&times;</button></span>').join('') : '<span class="muted" style="font-size:11px">No uploads yet. PNG, JPG or WebP up to 2 MB, ' + IMG_MAX + ' per account.</span>')
box.innerHTML = (IMAGES.length ? IMAGES.map(i => '<span class="im" data-url="' + esc(i.path || i.url) + '" title="Use this image"><img src="' + esc(i.url) + '" alt="" loading="lazy"><button type="button" class="x" data-del="' + i.id + '" title="Delete this image">&times;</button></span>').join('') : '<span class="muted" style="font-size:11px">No uploads yet. PNG, JPG or WebP up to 2 MB, ' + IMG_MAX + ' per account.</span>')
+ (IMAGES.length ? '<span class="muted mono" style="font-size:11px;align-self:center">' + IMAGES.length + '/' + IMG_MAX + '</span>' : '');
box.querySelectorAll('.im').forEach(s => s.addEventListener('click', e => { if (e.target.closest('[data-del]')) return; const f = $('f-image'); if (f) { f.value = s.dataset.url; f.dispatchEvent(new Event('input')); toast('Image URL filled in. Save to keep it.'); } }));
box.querySelectorAll('[data-del]').forEach(b => b.addEventListener('click', async e => { e.stopPropagation(); if (!await dialog({ title: 'Delete this image?', text: 'Pages that still point at it will show no image.', ok: 'Delete', danger: true })) return; try { const r = await api('/api/my/pages/images/' + b.dataset.del, { remove: true }); IMAGES = r.images || []; drawImages(); } catch (er) { toast(er.message, true); } }));
@@ -35,7 +35,7 @@
const btn = $('imgUpload'); if (btn) { btn.disabled = true; btn.textContent = 'Uploading…'; }
try {
const r = await (await fetch('/api/my/pages/upload', { method: 'POST', headers: { 'Content-Type': file.type }, body: file })).json(); if (r.error) throw new Error(r.error);
IMAGES.unshift(r.image); drawImages(); const f = $('f-image'); if (f) { f.value = r.image.url; f.dispatchEvent(new Event('input')); } toast('Uploaded. Save to keep it on the page.');
IMAGES.unshift(r.image); drawImages(); const f = $('f-image'); if (f) { f.value = r.image.path || r.image.url; f.dispatchEvent(new Event('input')); } toast('Uploaded. Save to keep it on the page.');
} catch (e) { toast(e.message, true); }
if (btn) { btn.disabled = false; btn.textContent = 'Upload image'; }
}
+2 -2
View File
@@ -3,12 +3,12 @@
(function () {
const TITLES = { overview: 'Start', promo: 'Promo tools', training: 'Training', pipeline: 'Pipeline', line: 'My line', profile: 'Profile' };
const pane = () => { const h = (location.hash || '').slice(1); return TITLES[h] ? h : 'overview'; };
const railKey = p => p === 'promo' ? 'promo' : 'tools';
const railKey = p => ({ promo: 'promo', training: 'training', pipeline: 'pipeline', profile: 'profile' })[p] || 'tools';
CR.mount({ active: railKey(pane()), title: TITLES[pane()], crumb: 'Control room', sub: '' });
function sync() {
const p = pane(); const h1 = document.querySelector('.topbar h1'); if (h1) h1.textContent = TITLES[p];
document.title = TITLES[p] + ' · LinkSpin';
const want = railKey(p) === 'promo' ? '/tools#promo' : '/tools';
const want = railKey(p) === 'tools' ? '/tools' : '/tools#' + p;
document.querySelectorAll('.rail a').forEach(a => { const href = a.getAttribute('href') || ''; if (href.startsWith('/tools')) a.classList.toggle('on', href === want); });
}
window.addEventListener('hashchange', sync); sync();
+2 -2
View File
@@ -6,7 +6,7 @@
<meta name="robots" content="noindex, nofollow">
<title>Credits · LinkSpin</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Manrope:wght@400;500;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/cr.css?v=20261008a">
<link rel="stylesheet" href="/assets/cr.css?v=20261011a">
<style>
.body{padding:16px 24px;display:grid;gap:16px}
.two{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;align-items:start}
@@ -80,7 +80,7 @@
</div>
<script src="/assets/common.js?v=20261009a"></script>
<script src="/assets/wallet.js?v=20261008a"></script>
<script src="/assets/cr-shell.js?v=20261008c"></script>
<script src="/assets/cr-shell.js?v=20261011a"></script>
<script src="/assets/credits-screen.js?v=20261007a"></script>
</body>
</html>
+11
View File
@@ -181,6 +181,17 @@
</div>
</section>
<section>
<div class="wrap">
<div class="tile card" style="padding:22px 24px;max-width:80ch">
<span class="eyebrow">Already on InstantAdPay?</span>
<h2 class="disp">How LinkSpin is different</h2>
<p>InstantAdPay is the ad marketplace: you buy ad packages there, earn credits by viewing ads, and get paid when your line buys. LinkSpin is the tool side of the same network: a link rotator, a page builder and ad zones for your own sites, free with an email address. Its packages buy ad delivery across the LinkSpin viewer, every member zone and the partner network, and they pay your sponsor line the same way, inside the purchase transaction itself.</p>
<p>Same people above you, same people below you, same wallet. A second property to build on, with tools you will use every day.</p>
</div>
</div>
</section>
<section class="last">
<div class="wrap">
<div class="tile card" style="padding:22px 24px">
+2 -2
View File
@@ -6,7 +6,7 @@
<meta name="robots" content="noindex, nofollow">
<title>Links · LinkSpin</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Manrope:wght@400;500;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/cr.css?v=20261008a">
<link rel="stylesheet" href="/assets/cr.css?v=20261011a">
<style>
.ws{display:grid;grid-template-columns:320px minmax(0,1fr);min-height:calc(100vh - 94px)}
.dbody .tiles{grid-template-columns:repeat(auto-fit,minmax(128px,1fr))}
@@ -135,7 +135,7 @@
</div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261008c"></script>
<script src="/assets/cr-shell.js?v=20261011a"></script>
<script src="/assets/links.js?v=20261010b"></script>
</body>
</html>
+3 -3
View File
@@ -6,7 +6,7 @@
<title>More · LinkSpin</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Manrope:wght@400;500;700;800&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="icon" type="image/png" href="/logo-icon.png">
<link rel="stylesheet" href="/assets/cr.css?v=20261008a">
<link rel="stylesheet" href="/assets/cr.css?v=20261011a">
<style>@import url("/assets/site.css?v=ls20260916a") layer(legacy);</style>
<link rel="stylesheet" href="/assets/tools.css?v=20261008a">
</head>
@@ -1008,8 +1008,8 @@
</div>
</div>
<script src="/assets/common.js?v=20261009a"></script>
<script src="/assets/cr-shell.js?v=20261008c"></script>
<script src="/assets/tools.js?v=20261008a"></script>
<script src="/assets/cr-shell.js?v=20261011a"></script>
<script src="/assets/tools.js?v=20261011a"></script>
<script src="/assets/wallet.js?v=20261008a"></script>
<script src="/assets/promo.js?v=20261009b"></script>
<script src="/assets/my.js?v=20261008c"></script>
+3 -3
View File
@@ -6,7 +6,7 @@
<meta name="robots" content="noindex, nofollow">
<title>Pages · LinkSpin</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Manrope:wght@400;500;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/cr.css?v=20261008a">
<link rel="stylesheet" href="/assets/cr.css?v=20261011a">
<style>
.look{display:grid;gap:10px;margin:6px 0 10px}.lk-row{display:flex;gap:10px;align-items:flex-start}.lk-k{flex:none;width:64px;font:700 11px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);padding-top:9px}
.lk-opts{display:flex;gap:6px;flex-wrap:wrap}.lk-opts button{font:600 12px var(--body);padding:7px 10px;border-radius:7px;border:1px solid var(--line);background:transparent;color:var(--fg);cursor:pointer}.lk-opts button.on{border-color:var(--accent);background:rgba(59,157,255,.12)}
@@ -72,7 +72,7 @@
</div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261008c"></script>
<script src="/assets/pages-screen.js?v=20261010a"></script>
<script src="/assets/cr-shell.js?v=20261011a"></script>
<script src="/assets/pages-screen.js?v=20261011a"></script>
</body>
</html>
+2 -2
View File
@@ -6,7 +6,7 @@
<meta name="robots" content="noindex, nofollow">
<title>Reports · LinkSpin</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Manrope:wght@400;500;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/cr.css?v=20261008a">
<link rel="stylesheet" href="/assets/cr.css?v=20261011a">
<style>
.body{padding:16px 24px;display:grid;gap:16px}
.two{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px}
@@ -63,7 +63,7 @@
</div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261008c"></script>
<script src="/assets/cr-shell.js?v=20261011a"></script>
<script src="/assets/reports.js?v=20261010a"></script>
</body>
</html>
+2 -2
View File
@@ -6,7 +6,7 @@
<meta name="robots" content="noindex, nofollow">
<title>Team · LinkSpin</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Manrope:wght@400;500;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/cr.css?v=20261008a">
<link rel="stylesheet" href="/assets/cr.css?v=20261011a">
<style>
.body{padding:16px 24px;display:grid;gap:16px}
.two{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px}
@@ -37,7 +37,7 @@
</div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261008c"></script>
<script src="/assets/cr-shell.js?v=20261011a"></script>
<script src="/assets/team.js?v=20260929a"></script>
</body>
</html>
+2 -2
View File
@@ -6,7 +6,7 @@
<meta name="robots" content="noindex, nofollow">
<title>Wallet · LinkSpin</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Manrope:wght@400;500;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/cr.css?v=20261008a">
<link rel="stylesheet" href="/assets/cr.css?v=20261011a">
<style>
.body{padding:16px 24px;display:grid;gap:16px}
.two{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:16px}
@@ -31,7 +31,7 @@
</div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261008c"></script>
<script src="/assets/cr-shell.js?v=20261011a"></script>
<script src="/assets/wallet-screen.js?v=20261009a"></script>
</body>
</html>
+2 -2
View File
@@ -6,7 +6,7 @@
<meta name="robots" content="noindex, nofollow">
<title>Zones · LinkSpin</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Manrope:wght@400;500;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/cr.css?v=20261008a">
<link rel="stylesheet" href="/assets/cr.css?v=20261011a">
<style>
.body{padding:16px 24px;display:grid;gap:16px}
.two{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:16px}
@@ -41,7 +41,7 @@
</div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261008c"></script>
<script src="/assets/cr-shell.js?v=20261011a"></script>
<script src="/assets/zones-screen.js?v=20261010a"></script>
</body>
</html>
+1 -1
View File
@@ -23,7 +23,7 @@ const J = {
if (!this.db) this.load();
const e = norm(rec.email); if (!e) return null;
const cur = this.db.byEmail[e] || { email: e, created: Date.now() };
for (const k of ['username', 'wallet', 'sponsorEmail', 'firstProperty', 'joinedAt']) if (rec[k] != null && rec[k] !== '') cur[k] = k === 'wallet' || k === 'sponsorEmail' ? norm(rec[k]) : rec[k];
for (const k of ['username', 'wallet', 'sponsorEmail', 'firstProperty', 'joinedAt', 'profile']) if (rec[k] != null && rec[k] !== '') cur[k] = k === 'wallet' || k === 'sponsorEmail' ? norm(rec[k]) : rec[k];
cur.updated = Date.now(); this.db.byEmail[e] = cur; this.save(); return cur;
},
async all() { if (!this.db) this.load(); return Object.values(this.db.byEmail); },
+7
View File
@@ -2128,6 +2128,13 @@ const server = http.createServer(async (req, res) => {
if (r.username && !a.username) { try { await accounts.setUsername(e, r.username); updated++; } catch (err) {} }
if (r.wallet && !a.address) { try { await accounts.linkWallet(e, r.wallet); updated++; } catch (err) {} }
if (r.sponsorEmail && !a.sponsorRef) { const sp = await accounts.byEmail(r.sponsorEmail); if (sp && (sp.username || sp.code)) { try { await accounts.setSponsorRef(e, sp.username || sp.code); updated++; } catch (err) {} } }
if (r.profile && typeof r.profile === 'object') { // the InstantAdPay profile fills only what is still empty here; the member can change it on this side any time (Marty 2026-10-11)
const pf = r.profile, ok = v => /^https:[/][/][^ ]+$/i.test(v) && v.length <= 300;
const av = String(pf.avatarUrl || '').trim(); const bio = String(pf.bio || '').trim().slice(0, 600); let soc = null;
if (pf.socials && typeof pf.socials === 'object') { const c = {}; for (const k of ['facebook', 'twitter', 'youtube', 'instagram', 'tiktok', 'telegram', 'linkedin', 'website', 'video']) { const v = String(pf.socials[k] || '').trim(); if (ok(v)) c[k] = v; } if (Object.keys(c).length) soc = JSON.stringify(c); }
const upd = [!a.avatarUrl && ok(av) ? av : undefined, !a.bio && bio ? bio : undefined, !a.socials && soc ? soc : undefined];
if (upd.some(x => x !== undefined)) { try { await accounts.setProfile(e, upd[0], upd[1], upd[2]); updated++; } catch (err) {} }
}
}
return json(res, 200, { ok: true, rows: rows.length, imported: n, shells, updated, registry: await registry.count() });
}