diff --git a/public/assets/my.js b/public/assets/my.js index 70021c1..af5f5ca 100644 --- a/public/assets/my.js +++ b/public/assets/my.js @@ -3011,11 +3011,13 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str { title: '600×300 · traffic exchanges and splash pages', items: [ { file: 'iap-advertise-earn-600x300.png', size: '600×300 · advertise and earn · traffic exchanges, splash pages, safelist mailers' }, { file: 'iap-core-wide.png', size: '600×300 · advertise and earn · Join free' }, - { file: 'iap-ledger-wide.png', size: '600×300 · advertising that pays you on-chain · See the ledger' } ] }, + { file: 'iap-ledger-wide.png', size: '600×300 · advertising that pays you on-chain · See the ledger' }, + { file: 'iap-team-wide.png', size: '600×300 · build your team with one link · Join free' } ] }, { title: '250×250 · small squares', items: [ { file: 'iap-core-small.png', size: '250×250 · advertise and earn · Join free' }, { file: 'iap-earn-small.png', size: '250×250 · advertise and earn · globe art' }, - { file: 'iap-ledger-small.png', size: '250×250 · advertising that pays you on-chain · See the ledger' } ] }, + { file: 'iap-ledger-small.png', size: '250×250 · advertising that pays you on-chain · See the ledger' }, + { file: 'iap-team-small.png', size: '250×250 · one link, your team · Join free' } ] }, { title: '1200×630 · social posts, link previews, Daily News covers', items: [ { file: 'iap-hero-1200x630.png', size: '1200×630 · hero · advertise and earn' }, { file: 'iap-advertise-earn-1200x630.jpg', size: '1200×630 · advertise and earn instantly, locked in code' }, @@ -3053,7 +3055,7 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str { file: 'iap-advertise-earn-v2-336x280.png', size: '336×280 · advertise and earn · variant 2' }, { file: 'iap-300x250.png', size: '300×250 · rectangle' }, { file: 'iap-advertise-earn-300x250.png', size: '300×250 · advertise and earn instantly' }, - { file: 'iap-team-build-link-300x250.jpg', size: '300×250 · team build and instant payments · "link in the description"' }, + { file: 'iap-team-box.png', size: '300×250 · build your team with one link · Join free' }, { file: 'iap-125x125.png', size: '125×125 · square button' } ] }, { title: 'Skyscrapers · 160×600, 120×600', items: [ { file: 'iap-160x600.png', size: '160×600 · wide skyscraper' }, diff --git a/public/banners/iap-team-box.png b/public/banners/iap-team-box.png new file mode 100644 index 0000000..f6ea58e Binary files /dev/null and b/public/banners/iap-team-box.png differ diff --git a/public/banners/iap-team-small.png b/public/banners/iap-team-small.png new file mode 100644 index 0000000..0994107 Binary files /dev/null and b/public/banners/iap-team-small.png differ diff --git a/public/banners/iap-team-wide.png b/public/banners/iap-team-wide.png new file mode 100644 index 0000000..e1836c0 Binary files /dev/null and b/public/banners/iap-team-wide.png differ diff --git a/public/my.html b/public/my.html index 0b2ca55..a47d4d7 100644 --- a/public/my.html +++ b/public/my.html @@ -1313,7 +1313,7 @@ - + diff --git a/tools/gen-card-banners.cjs b/tools/gen-card-banners.cjs index 59f758e..05da153 100644 --- a/tools/gen-card-banners.cjs +++ b/tools/gen-card-banners.cjs @@ -1,6 +1,6 @@ // Renders the 600x300 ("wide") and 250x250 ("small") promo kit cards (member request, Marty 2026-11-18) for each display // design the kit already has: the core "Advertise & earn" card, the advertise-and-earn globe art (small only: its 600x300 -// already exists), the ledger card, Wired Wednesday and Five Dollar Friday. +// already exists), the ledger card, the team-build link card (also a 300x250 box), Wired Wednesday and Five Dollar Friday. // Run from the site dir with the qa-tester playwright: node tools/gen-card-banners.cjs // Output: public/banners/iap--.png (exact pixel sizes, DSF 1). Neutral names: no size tokens. const path = require('path'); @@ -63,6 +63,21 @@ const D = {

Advertising that pays you on-chain.

See the ledger →` }, + team: { // the team-build link card (Marty 2026-11-18: replaces the old 300x250 tiers infographic). Mechanic: whoever opens + // a member's invite link is tagged to them, and the sponsor locks when the account is created (chatbot "sponsor" entry). + wide: () => `
${CIRCUIT(600, 300)}
+ +

Build your team
with one link.

Everyone who joins through your invite link is placed in your team line.

+
Join free →Ad credits buy advertising, not income.
`, + box: () => `
${CIRCUIT(300, 250)}
+ +

Build your team with one link.

Everyone who joins through your link is placed in your team line.

+ Join free →
`, + small: () => `
${CIRCUIT(250, 250)}
+ +

One link.
Your team.

+ Join free →
` + }, 'wired-wednesday': { wide: () => `
${CIRCUIT(600, 300)}
${BOLT(64)}

Wired Wednesday

@@ -84,11 +99,12 @@ const D = { Join free
` } }; -const SIZE = { wide: [600, 300], small: [250, 250] }; +const SIZE = { wide: [600, 300], small: [250, 250], box: [300, 250] }; +const ONLY = (process.argv[2] || '').split(',').filter(Boolean); // e.g. node tools/gen-card-banners.cjs team (async () => { const browser = await chromium.launch(); - for (const [design, shapes] of Object.entries(D)) for (const [shape, body] of Object.entries(shapes)) { + for (const [design, shapes] of Object.entries(D)) if (!ONLY.length || ONLY.includes(design)) for (const [shape, body] of Object.entries(shapes)) { const [w, h] = SIZE[shape]; const page = await browser.newPage({ viewport: { width: w, height: h }, deviceScaleFactor: 1 }); await page.setContent(`${FONT}${body()}`, { waitUntil: 'networkidle' });