Network ad zones in seven subtle places (Marty 2026-11-13: 'do all seven'), LinkSpin zones on Marty's account, each mounted once with a small 'Network' label: ledger after the 10th sale (468x60), above the footer on every page (728x90 wide / 320x50 phone), after a purchase (300x250), My Spots under the stats (468x60), How it works between cards (300x250), contract proof (468x60), 404 (300x250). CSP admits linkspin.app (script + serve call). SEO: per-page descriptions, canonical, Open Graph + Twitter cards with a 1200x630 preview (art/og-share.png), JSON-LD on home, /sitemap.xml, robots Sitemap line, My Spots noindex. common.js?v=4, line.css?v=6. Smoke 76/76.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-13 10:52:10 -06:00
parent d559c1cf26
commit d5fdddd5af
16 changed files with 167 additions and 39 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 283 KiB

+12 -1
View File
@@ -31,6 +31,8 @@ window.BL = (function () {
if (framed) document.querySelectorAll('nav a[href="/join"], nav a[href="/my"]').forEach(a => { a.target = '_blank'; a.rel = 'noopener'; });
}
function renderFooter() {
const za = document.createElement('div'); za.className = 'wrap bl-zone-foot'; document.body.appendChild(za);
zone(za, window.innerWidth >= 760 ? 'footWide' : 'footPhone');
const f = document.createElement('footer');
f.className = 'bl-foot';
f.innerHTML = '<div class="wrap"><p>Part of the Crypto Team Build Network</p>'
@@ -75,6 +77,15 @@ window.BL = (function () {
};
tick(); setInterval(tick, 25000);
}
// network ad zones (Marty 2026-11-13): LinkSpin zones on Marty's account, one per placement, mounted once (never re-rendered,
// so a view is counted once); a small 'Network' label so they never pass for a member's spot
const ZONES = { ledger: 'ls-d53e5d', footWide: 'ls-fd1e0a', footPhone: 'ls-46cbab', bought: 'ls-03783e', mySpots: 'ls-50eaeb', how: 'ls-79e849', contract: 'ls-bd7632' };
function zone(el, key) {
if (!el || el.dataset.zoned || !ZONES[key]) return; el.dataset.zoned = '1'; el.classList.add('bl-zone');
const lab = document.createElement('div'); lab.className = 'bl-zone-label'; lab.textContent = 'Network';
const s = document.createElement('script'); s.async = true; s.src = 'https://linkspin.app/z.js'; s.setAttribute('data-zone', ZONES[key]);
el.appendChild(lab); el.appendChild(s);
}
function withRef(href, sponsor) { if (!sponsor) return href; return href + (href.includes('?') ? '&' : '?') + 'ref=' + encodeURIComponent(sponsor); }
return { $, esc, getConfig, fmtPol, short, framed, status, getJSON, post, renderNav, renderFooter, tile, withRef };
return { $, esc, getConfig, fmtPol, short, framed, status, getJSON, post, renderNav, renderFooter, tile, withRef, zone };
})();
+1
View File
@@ -19,5 +19,6 @@
['Momentum fund', d.fundBalance ? fmtPol(d.fundBalance) + ' POL' : '-'],
['Sales', d.paused === 'true' ? 'paused' : 'open']];
$('facts').innerHTML = '<table class="tbl">' + rows.map(r => '<tr><th style="width:160px">' + r[0] + '</th><td style="word-break:break-all">' + r[1] + '</td></tr>').join('') + '</table>';
BL.zone($('zContract'), 'contract');
$('split').innerHTML = '<tr><th>Share</th><th>To</th></tr>' + d.split.map(s => '<tr><td>' + esc(s.share) + '</td><td>' + esc(s.to) + '</td></tr>').join('');
})();
+1 -1
View File
@@ -1 +1 @@
(async function () { await BL.renderNav("/how"); BL.renderFooter(); })();
(async function () { await BL.renderNav("/how"); BL.renderFooter(); BL.zone(document.getElementById("zHow"), "how"); })();
+1 -1
View File
@@ -29,7 +29,7 @@
const r = forAddr ? await BLWallet.buyFor(forAddr, sponsor, q.sendWei) : await BLWallet.buy(sponsor, q.sendWei);
if (r.receipt.status !== '0x1') throw new Error('The transaction reverted. Nothing was charged except gas.');
BL.status('');
$('doneCard').hidden = false; $('buyCard').hidden = true;
$('doneCard').hidden = false; $('buyCard').hidden = true; BL.zone($('zBought'), 'bought');
$('txLink').innerHTML = c.explorer ? '<a target="_blank" rel="noopener" href="' + BL.esc(c.explorer + '/tx/' + r.hash) + '">View the transaction</a>' : BL.esc(r.hash);
if (forAddr) $('doneCard').querySelector('h3').textContent = 'The spot is in the line for ' + BL.short(forAddr);
} catch (e) { BL.status(String(e && e.message || e).slice(0, 300), 'err'); }
+5 -2
View File
@@ -10,7 +10,7 @@
const t = d.totals || {};
$('totals').innerHTML = [['Spots sold', t.spots || 0], ['Members', t.members || 0], ['POL paid out by the contract', fmtPol(t.paidOutWei || '0', 2)], ['Momentum fund', t.fundWei ? fmtPol(t.fundWei, 2) + ' POL' : '-']]
.map(x => '<div class="stat"><b>' + esc(x[1]) + '</b><span>' + esc(x[0]) + '</span></div>').join('');
$('rows').innerHTML = d.items.length ? d.items.map(it => {
const html = d.items.map(it => {
const when = it.at ? new Date(it.at).toLocaleString() : '';
const pays = it.pays.map(p => '<li>' + (p.failed ? 'Bounced (to the fund): ' : '') + (p.role === 'sponsor' ? 'Sponsor' : 'Line ' + p.level + ' (spot #' + (it.spotId - p.level) + ')')
+ ': <b>' + fmtPol(p.wei) + ' POL</b>' + usd(p.wei, it.usd) + ' to ' + who(p.name, p.to) + '</li>').join('');
@@ -19,7 +19,10 @@
+ (pays ? '<ul class="pays">' + pays + '</ul>' : '<p class="muted small">No earlier spots or sponsor to pay yet.</p>')
+ '<p class="small muted">Company + momentum fund: ' + fmtPol(it.houseWei) + ' POL' + usd(it.houseWei, it.usd)
+ ' &middot; <a target="_blank" rel="noopener" href="' + esc(d.explorer + '/tx/' + it.tx) + '">Verify on Polygonscan</a></p></div>';
}).join('') : '<p class="muted">No spot sales yet.</p>';
});
$('rows').innerHTML = html.length ? html.slice(0, 10).join('') : '<p class="muted">No spot sales yet.</p>';
$('rows2').innerHTML = html.slice(10).join('');
BL.zone($('zLedger'), 'ledger');
$('upd').textContent = 'Updated ' + new Date().toLocaleTimeString();
}
await load(); setInterval(load, 20000);
+1 -1
View File
@@ -20,7 +20,7 @@
async function load() {
const d = await BL.getJSON('/api/my');
if (d.error) return BL.status(d.error, 'err');
$('dash').hidden = false; $('me').textContent = d.username ? '@' + d.username + ' (' + BL.short(d.address) + ')' : d.address;
$('dash').hidden = false; BL.zone($('zMySpots'), 'mySpots'); $('me').textContent = d.username ? '@' + d.username + ' (' + BL.short(d.address) + ')' : d.address;
const delivered = d.spots.reduce((t, s) => t + s.views, 0);
$('stats').innerHTML = [['Spots owned', d.spots.length], ['Views delivered', delivered + ' of ' + d.spots.filter(s => s.kind !== 3).length * c.viewsOwed],
['POL paid in', BL.fmtPol(d.paidInWei)], ['POL paid out to you', BL.fmtPol(d.paidOutWei)]]
+17 -3
View File
@@ -3,11 +3,25 @@
<head>
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>Board | Downline Banners</title>
<meta name="description" content="Downline Banners: a $5 spot buys 300 guaranteed views on the board and a place in the line. Paid instantly on-chain when spots sell.">
<meta name="description" content="The Downline Banners board: every 468x60 spot in the line, rotating. Each view counts toward the spot&#x27;s 300 guaranteed views.">
<link rel="canonical" href="https://downlinebanners.com/board">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Downline Banners">
<meta property="og:title" content="Board | Downline Banners">
<meta property="og:description" content="The Downline Banners board: every 468x60 spot in the line, rotating. Each view counts toward the spot&#x27;s 300 guaranteed views.">
<meta property="og:url" content="https://downlinebanners.com/board">
<meta property="og:image" content="https://downlinebanners.com/art/og-share.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="Downline Banners: banner real estate in one line, paid instantly on-chain">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Board | Downline Banners">
<meta name="twitter:description" content="The Downline Banners board: every 468x60 spot in the line, rotating. Each view counts toward the spot&#x27;s 300 guaranteed views.">
<meta name="twitter:image" content="https://downlinebanners.com/art/og-share.png">
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/logo-icon.png">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700;12..96,800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500&display=swap">
<link rel="stylesheet" href="/assets/site.css?v=2">
<link rel="stylesheet" href="/assets/line.css?v=5">
<link rel="stylesheet" href="/assets/line.css?v=6">
</head>
<body>
<main class="wrap">
@@ -17,7 +31,7 @@
<div class="card"><h3>The line so far</h3><div id="stats" class="grid2"></div></div>
<div id="status" class="note" hidden></div>
</main>
<script src="/assets/common.js?v=3"></script>
<script src="/assets/common.js?v=4"></script>
<script src="/assets/board.js?v=1"></script>
</body>
</html>
+19 -4
View File
@@ -3,11 +3,25 @@
<head>
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>Contract proof | Downline Banners</title>
<meta name="description" content="The Downline Banners smart contract on Polygon: address, verified source, owner, fee wallets and the fixed split, read live.">
<meta name="description" content="The Downline Banners smart contract on Polygon: verified source, owner, fee wallets, price feed and the fixed split, read live from the chain.">
<link rel="canonical" href="https://downlinebanners.com/contract">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Downline Banners">
<meta property="og:title" content="Contract proof | Downline Banners">
<meta property="og:description" content="The Downline Banners smart contract on Polygon: verified source, owner, fee wallets, price feed and the fixed split, read live from the chain.">
<meta property="og:url" content="https://downlinebanners.com/contract">
<meta property="og:image" content="https://downlinebanners.com/art/og-share.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="Downline Banners: banner real estate in one line, paid instantly on-chain">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Contract proof | Downline Banners">
<meta name="twitter:description" content="The Downline Banners smart contract on Polygon: verified source, owner, fee wallets, price feed and the fixed split, read live from the chain.">
<meta name="twitter:image" content="https://downlinebanners.com/art/og-share.png">
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/logo-icon.png">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700;12..96,800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500&display=swap">
<link rel="stylesheet" href="/assets/site.css?v=2">
<link rel="stylesheet" href="/assets/line.css?v=5">
<link rel="stylesheet" href="/assets/line.css?v=6">
</head>
<body>
<main class="wrap">
@@ -19,8 +33,9 @@
<li>Open the contract on Polygonscan (link above) and choose the <b>Contract</b> tab: the source code shows a green check for "verified".</li>
<li>Under <b>Read Contract</b>, compare owner, keeper, fee wallets and fund balance with this page.</li>
<li>Open any sale in the <a href="/ledger">live ledger</a> and look at its <b>Logs</b>: one SpotBought event, then one Paid event per payment.</li></ol></div>
<div id="zContract"></div>
</main>
<script src="/assets/common.js?v=3"></script>
<script src="/assets/contract.js?v=1"></script>
<script src="/assets/common.js?v=4"></script>
<script src="/assets/contract.js?v=z1"></script>
</body>
</html>
+19 -4
View File
@@ -3,11 +3,25 @@
<head>
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>How it works | Downline Banners</title>
<meta name="description" content="Downline Banners: a $5 spot buys 300 guaranteed views on the board and a place in the line. Paid instantly on-chain when spots sell.">
<meta name="description" content="How Downline Banners works: one global line of $5 banner spots on Polygon, the fixed 30/55/5/5/5 split, the momentum fund, and what is not promised.">
<link rel="canonical" href="https://downlinebanners.com/how">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Downline Banners">
<meta property="og:title" content="How it works | Downline Banners">
<meta property="og:description" content="How Downline Banners works: one global line of $5 banner spots on Polygon, the fixed 30/55/5/5/5 split, the momentum fund, and what is not promised.">
<meta property="og:url" content="https://downlinebanners.com/how">
<meta property="og:image" content="https://downlinebanners.com/art/og-share.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="Downline Banners: banner real estate in one line, paid instantly on-chain">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="How it works | Downline Banners">
<meta name="twitter:description" content="How Downline Banners works: one global line of $5 banner spots on Polygon, the fixed 30/55/5/5/5 split, the momentum fund, and what is not promised.">
<meta name="twitter:image" content="https://downlinebanners.com/art/og-share.png">
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/logo-icon.png">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700;12..96,800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500&display=swap">
<link rel="stylesheet" href="/assets/site.css?v=2">
<link rel="stylesheet" href="/assets/line.css?v=5">
<link rel="stylesheet" href="/assets/line.css?v=6">
</head>
<body>
<main class="wrap">
@@ -20,11 +34,12 @@
<tr><td>10%</td><td>the company</td></tr>
<tr><td>5%</td><td>the momentum fund, which can only buy spots</td></tr></table>
<p class="muted small">The contract holds nothing except the momentum fund. The splits cannot be changed and there is no owner withdraw.</p></div>
<div id="zHow"></div>
<div class="card"><h3>What is not promised</h3><p>Nothing is promised. You are paid only when spots sell after yours. The line pays each spot at most 10 times ($2.75), so a member who refers nobody always gets back less than $5. This is advertising with a share of later sales, not an investment.</p></div>
<div class="card"><h3>The momentum fund</h3><p>When no spot has sold for 4 hours, the fund buys one (at most 12 a day). It gifts the spot to an active member who owns a paid spot and has not had a gift in 7 days, members who referred someone recently first. If nobody qualifies, the fund keeps the spot and its line money goes back into the fund.</p></div>
<div class="card"><h3>The rest of the network</h3><p>Open board slots show network sites such as InstantAdPay and LinkSpin. On InstantAdPay, ad credits buy advertising, not income.</p></div>
</main>
<script src="/assets/common.js?v=3"></script>
<script src="/assets/how.js?v=1"></script>
<script src="/assets/common.js?v=4"></script>
<script src="/assets/how.js?v=z1"></script>
</body>
</html>
+18 -3
View File
@@ -3,11 +3,26 @@
<head>
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>Downline Banners | Banner real estate in one line</title>
<meta name="description" content="Downline Banners: a $5 spot buys 300 guaranteed views on the board and a place in the line. Paid instantly on&#8209;chain when spots sell.">
<meta name="description" content="Banner real estate on every page in your line. A $5 spot buys 300 guaranteed views on the board and a place in one line, and the contract pays the spots above and your sponsor instantly on Polygon when later spots sell.">
<link rel="canonical" href="https://downlinebanners.com/">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Downline Banners">
<meta property="og:title" content="Downline Banners | Banner real estate in one line">
<meta property="og:description" content="Banner real estate on every page in your line. A $5 spot buys 300 guaranteed views on the board and a place in one line, and the contract pays the spots above and your sponsor instantly on Polygon when later spots sell.">
<meta property="og:url" content="https://downlinebanners.com/">
<meta property="og:image" content="https://downlinebanners.com/art/og-share.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="Downline Banners: banner real estate in one line, paid instantly on-chain">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Downline Banners | Banner real estate in one line">
<meta name="twitter:description" content="Banner real estate on every page in your line. A $5 spot buys 300 guaranteed views on the board and a place in one line, and the contract pays the spots above and your sponsor instantly on Polygon when later spots sell.">
<meta name="twitter:image" content="https://downlinebanners.com/art/og-share.png">
<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebSite","name":"Downline Banners","url":"https://downlinebanners.com/"},{"@type":"Organization","name":"Downline Banners","url":"https://downlinebanners.com/","logo":"https://downlinebanners.com/logo-icon.png","parentOrganization":{"@type":"Organization","name":"Crypto Team Build Network","url":"https://cryptoteambuild.com"}}]}</script>
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/logo-icon.png">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700;12..96,800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500&display=swap">
<link rel="stylesheet" href="/assets/site.css?v=2">
<link rel="stylesheet" href="/assets/line.css?v=5">
<link rel="stylesheet" href="/assets/line.css?v=6">
</head>
<body>
<main class="wrap">
@@ -37,7 +52,7 @@
</section>
<div id="status" class="note" hidden></div>
</main>
<script src="/assets/common.js?v=3"></script>
<script src="/assets/common.js?v=4"></script>
<script src="/assets/gate.js?v=1"></script>
</body>
</html>
+19 -5
View File
@@ -3,11 +3,25 @@
<head>
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>Get a spot | Downline Banners</title>
<meta name="description" content="Downline Banners: a $5 spot buys 300 guaranteed views on the board and a place in the line. Paid instantly on-chain when spots sell.">
<meta name="description" content="Get a Downline Banners spot: $5 in POL buys 300 guaranteed views on the board and a place in the line, paid through the smart contract in one transaction.">
<link rel="canonical" href="https://downlinebanners.com/join">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Downline Banners">
<meta property="og:title" content="Get a spot | Downline Banners">
<meta property="og:description" content="Get a Downline Banners spot: $5 in POL buys 300 guaranteed views on the board and a place in the line, paid through the smart contract in one transaction.">
<meta property="og:url" content="https://downlinebanners.com/join">
<meta property="og:image" content="https://downlinebanners.com/art/og-share.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="Downline Banners: banner real estate in one line, paid instantly on-chain">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Get a spot | Downline Banners">
<meta name="twitter:description" content="Get a Downline Banners spot: $5 in POL buys 300 guaranteed views on the board and a place in the line, paid through the smart contract in one transaction.">
<meta name="twitter:image" content="https://downlinebanners.com/art/og-share.png">
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/logo-icon.png">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700;12..96,800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500&display=swap">
<link rel="stylesheet" href="/assets/site.css?v=2">
<link rel="stylesheet" href="/assets/line.css?v=5">
<link rel="stylesheet" href="/assets/line.css?v=6">
</head>
<body>
<main class="wrap">
@@ -32,10 +46,10 @@
<button class="btn sec small" id="buyForBtn">Buy it for them</button></details>
</div>
<div id="status" class="note" hidden></div>
<div class="card" id="doneCard" hidden><h3>Your spot is in the line</h3><p>Next: add your image and link in My Spots. One free signature signs you in (it cannot move funds).</p><div class="row"><button class="btn" id="toMyBtn">Open My Spots</button></div><p class="small mono" id="txLink"></p></div>
<div class="card" id="doneCard" hidden><h3>Your spot is in the line</h3><p>Next: add your image and link in My Spots. One free signature signs you in (it cannot move funds).</p><div class="row"><button class="btn" id="toMyBtn">Open My Spots</button></div><p class="small mono" id="txLink"></p><div id="zBought"></div></div>
</main>
<script src="/assets/common.js?v=3"></script>
<script src="/assets/common.js?v=4"></script>
<script src="/assets/wallet.js?v=1"></script>
<script src="/assets/join.js?v=2&o=1"></script>
<script src="/assets/join.js?v=z1"></script>
</body>
</html>
+19 -5
View File
@@ -3,20 +3,34 @@
<head>
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>Live ledger | Downline Banners</title>
<meta name="description" content="Every Downline Banners spot sale and every payment the contract made, live from the Polygon blockchain.">
<meta name="description" content="Every Downline Banners spot sale and every payment the contract made, live from the Polygon blockchain, each with a link to verify it.">
<link rel="canonical" href="https://downlinebanners.com/ledger">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Downline Banners">
<meta property="og:title" content="Live ledger | Downline Banners">
<meta property="og:description" content="Every Downline Banners spot sale and every payment the contract made, live from the Polygon blockchain, each with a link to verify it.">
<meta property="og:url" content="https://downlinebanners.com/ledger">
<meta property="og:image" content="https://downlinebanners.com/art/og-share.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="Downline Banners: banner real estate in one line, paid instantly on-chain">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Live ledger | Downline Banners">
<meta name="twitter:description" content="Every Downline Banners spot sale and every payment the contract made, live from the Polygon blockchain, each with a link to verify it.">
<meta name="twitter:image" content="https://downlinebanners.com/art/og-share.png">
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/logo-icon.png">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700;12..96,800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500&display=swap">
<link rel="stylesheet" href="/assets/site.css?v=2">
<link rel="stylesheet" href="/assets/line.css?v=5">
<link rel="stylesheet" href="/assets/line.css?v=6">
</head>
<body>
<main class="wrap">
<section class="hero"><h1>Live ledger</h1><p class="lead">Every spot sale and every payment, read from the Polygon blockchain. Each row links to the transaction so you can check it yourself. <a href="/contract">Contract proof</a></p></section>
<div class="grid2" id="totals"></div>
<div class="card"><div class="row" style="justify-content:space-between"><h3 style="margin:0">Spot sales</h3><span class="muted small" id="upd"></span></div>
<div id="rows"><p class="muted">Loading the ledger...</p></div></div>
<div id="rows"><p class="muted">Loading the ledger...</p></div><div id="zLedger"></div><div id="rows2"></div></div>
</main>
<script src="/assets/common.js?v=3"></script>
<script src="/assets/ledger.js?v=2"></script>
<script src="/assets/common.js?v=4"></script>
<script src="/assets/ledger.js?v=z1"></script>
</body>
</html>
+20 -5
View File
@@ -3,11 +3,26 @@
<head>
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>My Spots | Downline Banners</title>
<meta name="description" content="Downline Banners: a $5 spot buys 300 guaranteed views on the board and a place in the line. Paid instantly on-chain when spots sell.">
<meta name="description" content="Your Downline Banners spots, images, links and payments.">
<link rel="canonical" href="https://downlinebanners.com/my">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Downline Banners">
<meta property="og:title" content="My Spots | Downline Banners">
<meta property="og:description" content="Your Downline Banners spots, images, links and payments.">
<meta property="og:url" content="https://downlinebanners.com/my">
<meta property="og:image" content="https://downlinebanners.com/art/og-share.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="Downline Banners: banner real estate in one line, paid instantly on-chain">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="My Spots | Downline Banners">
<meta name="twitter:description" content="Your Downline Banners spots, images, links and payments.">
<meta name="twitter:image" content="https://downlinebanners.com/art/og-share.png">
<meta name="robots" content="noindex">
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/logo-icon.png">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700;12..96,800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500&display=swap">
<link rel="stylesheet" href="/assets/site.css?v=2">
<link rel="stylesheet" href="/assets/line.css?v=5">
<link rel="stylesheet" href="/assets/line.css?v=6">
</head>
<body>
<main class="wrap">
@@ -15,7 +30,7 @@
<div class="card" id="signin" hidden><h3>Sign in with your wallet</h3><p class="muted small">You sign a short message. It is free and cannot move funds or approve anything.</p><button class="btn" id="signBtn">Sign in</button></div>
<div id="dash" hidden>
<div class="card"><div class="row" style="justify-content:space-between"><div><span class="muted small">Signed in as</span> <span class="mono" id="me"></span></div><button class="btn quiet small" id="outBtn">Sign out</button></div>
<div class="grid2" style="margin-top:12px" id="stats"></div></div>
<div class="grid2" style="margin-top:12px" id="stats"></div></div><div id="zMySpots"></div>
<div class="card"><h3>Your share link</h3><p class="muted small">People who join through this link have you as their sponsor. It is set once, on their first spot.</p>
<div class="field"><input id="share" readonly></div><button class="btn sec small" id="copyBtn">Copy link</button></div>
<div class="card"><h3>Spots</h3><p class="muted small">Image: 468x60 PNG, JPG or GIF up to 150 KB, or an https image address. Link: https only. Change them any time. A spot with no image shows your default, or a network image until you add one.</p>
@@ -26,8 +41,8 @@
</div>
<div id="status" class="note" hidden></div>
</main>
<script src="/assets/common.js?v=3"></script>
<script src="/assets/common.js?v=4"></script>
<script src="/assets/wallet.js?v=1"></script>
<script src="/assets/my.js?v=5"></script>
<script src="/assets/my.js?v=z1"></script>
</body>
</html>
+3
View File
@@ -2,3 +2,6 @@ User-agent: *
Allow: /
Disallow: /my
Disallow: /api/
Disallow: /go/
Sitemap: https://downlinebanners.com/sitemap.xml
+12 -4
View File
@@ -37,8 +37,8 @@ const hmac = s => crypto.createHmac('sha256', SECRET).update(s).digest('hex').sl
// ---- http helpers ----
const MIME = { '.html': 'text/html; charset=utf-8', '.css': 'text/css', '.js': 'text/javascript', '.png': 'image/png', '.jpg': 'image/jpeg',
'.gif': 'image/gif', '.svg': 'image/svg+xml', '.ico': 'image/x-icon', '.json': 'application/json', '.txt': 'text/plain; charset=utf-8' };
const CSP = "default-src 'self'; script-src 'self' https://cdn.jsdelivr.net; worker-src 'self' blob:; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; "
+ "img-src 'self' data: blob: https:; connect-src 'self' https://*.walletconnect.com wss://*.walletconnect.com https://*.walletconnect.org wss://*.walletconnect.org "
const CSP = "default-src 'self'; script-src 'self' https://cdn.jsdelivr.net https://linkspin.app; worker-src 'self' blob:; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; "
+ "img-src 'self' data: blob: https:; connect-src 'self' https://linkspin.app https://*.walletconnect.com wss://*.walletconnect.com https://*.walletconnect.org wss://*.walletconnect.org "
+ "https://*.reown.com wss://*.reown.com https://*.reown.org wss://*.reown.org https://*.web3modal.org https://*.drpc.org https://*.publicnode.com https://*.coinbase.com; "
+ "font-src 'self' data: https://fonts.gstatic.com https://fonts.reown.com; form-action 'self'; frame-src https: 'self'";
function headers(extra) { return Object.assign({ 'Content-Security-Policy': CSP, 'X-Content-Type-Options': 'nosniff', 'Referrer-Policy': 'strict-origin-when-cross-origin' }, extra || {}); }
@@ -227,7 +227,14 @@ const server = http.createServer(async (req, res) => {
return sendFile(res, path.join(PUB, PAGES[p]), ex);
}
if (/^\/r\/[^/]+$/.test(p)) { res.writeHead(302, { Location: '/?ref=' + encodeURIComponent(decodeURIComponent(p.slice(3))) }); return res.end(); }
if (p.startsWith('/assets/') || p.startsWith('/art/house-') || p === '/art/mark.svg' || p === '/logo-icon.png' || p === '/robots.txt') {
// sitemap (2026-11-13, SEO): the public pages only
if (p === '/sitemap.xml') {
const day = new Date().toISOString().slice(0, 10);
const urls = ['/', '/board', '/how', '/ledger', '/contract', '/join'].map(u => '<url><loc>https://' + C.site + u + '</loc><lastmod>' + day + '</lastmod></url>').join('');
res.writeHead(200, headers({ 'Content-Type': 'application/xml; charset=utf-8', 'Cache-Control': 'public, max-age=3600' }));
return res.end('<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' + urls + '</urlset>');
}
if (p.startsWith('/assets/') || p.startsWith('/art/house-') || p === '/art/mark.svg' || p === '/art/og-share.png' || p === '/logo-icon.png' || p === '/robots.txt') {
const f = path.normalize(path.join(PUB, p)); if (!f.startsWith(PUB)) { res.writeHead(400); return res.end(); }
return sendFile(res, f);
}
@@ -415,7 +422,8 @@ const server = http.createServer(async (req, res) => {
if (p.startsWith('/api/')) return json(res, 404, { error: 'Not found' });
res.writeHead(404, headers({ 'Content-Type': 'text/html; charset=utf-8' }));
return res.end('<!doctype html><title>Not found</title><p style="font-family:sans-serif">Not found. <a href="/">Downline Banners home</a></p>');
return res.end('<!doctype html><title>Not found</title><body style="background:#09080f;color:#f3f1fa;font-family:sans-serif;text-align:center;padding:40px 16px"><p>Not found. <a style="color:#c6f432" href="/">Downline Banners home</a></p>'
+ '<p style="color:#a29cbc;font-size:11px;margin:24px 0 4px">Network</p><script async src="https://linkspin.app/z.js" data-zone="ls-00c064"></script></body>');
} catch (e) {
console.error('request', p, e.message);
if (!res.headersSent) json(res, 500, { error: 'Server error' });