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:
@@ -353,8 +353,8 @@ function serveJoinPage(res, tok, angle, ang, setCookies) {
|
||||
const og = '<meta property="og:type" content="website"><meta property="og:site_name" content="LinkSpin">'
|
||||
+ '<meta property="og:title" content="' + escA(title) + '"><meta property="og:description" content="' + escA(desc) + '">'
|
||||
+ '<meta property="og:url" content="' + escA(url) + '">' // keeps ?v= so shares stay on the angle
|
||||
+ '<meta property="og:image" content="' + base + '/banners/iap-hero-1200x630.png"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630">'
|
||||
+ '<meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="' + escA(title) + '"><meta name="twitter:description" content="' + escA(desc) + '"><meta name="twitter:image" content="' + base + '/banners/iap-hero-1200x630.png">';
|
||||
+ '<meta property="og:image" content="' + base + '/banners/linkspin-og-1200x630.png"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630">'
|
||||
+ '<meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="' + escA(title) + '"><meta name="twitter:description" content="' + escA(desc) + '"><meta name="twitter:image" content="' + base + '/banners/linkspin-og-1200x630.png">';
|
||||
html = html.replace(/<title>[^<]*<\/title>/, '<title>' + escA(title) + ' | LinkSpin</title>' + og);
|
||||
if (ang) html = html.replace('<body>', '<body class="squeeze">'); // angle pages: squeeze layout from the first paint
|
||||
const headers = { 'Content-Type': 'text/html; charset=utf-8', 'Cache-Control': 'no-store, must-revalidate' };
|
||||
@@ -3079,7 +3079,7 @@ const server = http.createServer(async (req, res) => {
|
||||
const esc = t => String(t || '').replace(/[&<>"]/g, c => ({ '&': '&', '<': '<', '>': '>', '"': '"' }[c]));
|
||||
const title = nm + ' on LinkSpin';
|
||||
const desc = a.bio ? esc(a.bio).slice(0, 200) : 'Join ' + nm + '’s line on LinkSpin — instant on-chain ad payouts, free to join.';
|
||||
const img = a.avatarUrl && /^https:/.test(a.avatarUrl) ? a.avatarUrl : SITE_URL + '/banners/iap-hero-1200x630.png';
|
||||
const img = a.avatarUrl && /^https:/.test(a.avatarUrl) ? a.avatarUrl : SITE_URL + '/banners/linkspin-og-1200x630.png';
|
||||
const url = SITE_URL + '/wall/' + (a.username || a.code);
|
||||
const og = [
|
||||
'<meta property="og:type" content="profile">',
|
||||
|
||||
Reference in New Issue
Block a user