Contract, live ledger, terms, privacy and disclaimer on the Instrument scheme; contract page shows chain totals and never falls back to another contract's source; terms and privacy updated for links, pages, zones and leads; share images point at the LinkSpin image; toolkit banners use the LinkSpin house set
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
+3
-3
@@ -140,8 +140,8 @@ async function template(email, memberId, ids, kind, budget) {
|
||||
const acct = await R.accounts.byEmail(email); const link = KIT + '/join/' + (acct.username || acct.code);
|
||||
const b = Math.max(50, Math.min(5000, Math.floor(budget) || 200));
|
||||
const T = {
|
||||
banner: { type: 'banner', name: 'My invite: banner 300x250', targetUrl: link, imageUrl: KIT + '/banners/iap-300x250.png', size: '300x250', budget: b },
|
||||
leaderboard: { type: 'banner', name: 'My invite: banner 728x90', targetUrl: link, imageUrl: KIT + '/banners/iap-728x90.png', size: '728x90', budget: b },
|
||||
banner: { type: 'banner', name: 'My invite: banner 300x250', targetUrl: link, imageUrl: KIT + '/banners/linkspin-300x250.svg', size: '300x250', budget: b },
|
||||
leaderboard: { type: 'banner', name: 'My invite: banner 728x90', targetUrl: link, imageUrl: KIT + '/banners/linkspin-728x90.svg', size: '728x90', budget: b },
|
||||
text: { type: 'text', name: 'My invite: text ad', targetUrl: link, title: 'Paid the second someone buys', body: 'An ad platform that pays sponsors in the same transaction, on-chain. Free to join, credits for showing up.', budget: b },
|
||||
text2: { type: 'text', name: 'My invite: text ad (free angle)', targetUrl: link + '?v=free', title: 'Run your first ad campaign for $0', body: 'Join free, view a few ads, earn credits, launch a campaign. Every payout is public on the ledger.', budget: b }
|
||||
}[kind];
|
||||
@@ -161,7 +161,7 @@ async function handout(username) {
|
||||
+ '<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">'
|
||||
+ '<style>@page{size:letter;margin:.5in}body{margin:0;background:#fff;color:#0c1a15;font-family:"Segoe UI",system-ui,sans-serif}.sheet{width:7.5in;margin:24px auto;padding:0;box-sizing:border-box}.card{border:2px solid #0c1a15;border-radius:18px;overflow:hidden;page-break-inside:avoid;margin-bottom:.35in}.art{display:block;width:100%;height:auto}.body{display:flex;gap:20px;padding:18px 22px;align-items:center}.body h1{font-family:Sora,sans-serif;font-size:26px;margin:0 0 6px;line-height:1.15}.body p{margin:0 0 6px;font-size:14.5px;line-height:1.45;max-width:52ch}.qr{flex:0 0 150px;text-align:center}.qr img{width:150px;height:150px;display:block}.qr small{display:block;font-size:11px;margin-top:4px;word-break:break-all}.foot{padding:8px 22px 14px;font-size:10.5px;color:#556}.bar{display:flex;justify-content:space-between;gap:12px;padding:10px 22px;background:#062a22;color:#43e8c3;font-family:Sora,sans-serif;font-weight:700;font-size:15px}.bar span{color:#fff;font-weight:400;font-size:13px}.print{text-align:center;margin:10px 0 20px}.print button{font:inherit;padding:10px 18px;border-radius:10px;border:1px solid #0c1a15;background:#0c1a15;color:#fff;cursor:pointer}@media print{.print{display:none}.sheet{margin:0}}</style></head><body><div class="sheet">'
|
||||
+ '<p class="print"><button onclick="window.print()">Print this page</button> Two handouts per sheet. Cut along the gap.</p>'
|
||||
+ [1, 2].map(() => '<div class="card"><img class="art" src="/banners/iap-advertise-earn-1200x630.jpg" alt="LinkSpin"><div class="bar">LinkSpin <span>advertise and earn, paid on-chain</span></div><div class="body"><div><h1>Your ads run. Your line pays you. Same transaction.</h1><p>Join free with your email. View a few ads a day and earn credits for your own campaign. When anyone you invite buys an ad package, the contract pays you instantly, wallet to wallet, on a public ledger.</p><p><b>Scan the code or go to</b><br>' + esc(link) + '</p><p>Your sponsor: <b>@' + esc(username) + '</b></p></div><div class="qr"><img src="' + qr + '" alt="QR code"><small>' + esc(link.replace('https://', '')) + '</small></div></div><div class="foot">LinkSpin sells advertising with a performance referral program. Not an investment. No income is guaranteed; results depend on effort. Cryptocurrency carries risk.</div></div>').join('')
|
||||
+ [1, 2].map(() => '<div class="card"><img class="art" src="/banners/linkspin-og-1200x630.png" alt="LinkSpin"><div class="bar">LinkSpin <span>advertise and earn, paid on-chain</span></div><div class="body"><div><h1>Your ads run. Your line pays you. Same transaction.</h1><p>Join free with your email. View a few ads a day and earn credits for your own campaign. When anyone you invite buys an ad package, the contract pays you instantly, wallet to wallet, on a public ledger.</p><p><b>Scan the code or go to</b><br>' + esc(link) + '</p><p>Your sponsor: <b>@' + esc(username) + '</b></p></div><div class="qr"><img src="' + qr + '" alt="QR code"><small>' + esc(link.replace('https://', '')) + '</small></div></div><div class="foot">LinkSpin sells advertising with a performance referral program. Not an investment. No income is guaranteed; results depend on effort. Cryptocurrency carries risk.</div></div>').join('')
|
||||
+ '</div></body></html>';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user