// LinkSpin promo kit: the 600x300 wide cards (member request, Marty 2026-11-18), one per angle the kit already has // (A "One link. Every page you promote." and B "Paid the moment they buy."). The kie.ai masters that promo-kit-compose.py // crops are not on disk any more, so the art here is the text-free right side of ls-social-a.jpg (x 700 to 1200, the ring's // branches and glass panels), with the copy typeset in the kit's own fonts (Rajdhani display, Manrope body) and colours. // Output -> public/kit/ls-wide-a.png, ls-wide-b.png (neutral names, no IAB size tokens). No earnings or POL figures. // node tools/promo-kit-wide.cjs const path = require('path'); const fs = require('fs'); const { chromium } = require('D:/Projects/MarketingAgent/qa-tester/node_modules/playwright'); const KIT = path.join(__dirname, '..', 'public', 'kit'); const ART = 'data:image/jpeg;base64,' + fs.readFileSync(path.join(KIT, 'ls-social-a.jpg')).toString('base64'); const ANG = { a: { head: ['ONE LINK.', 'EVERY PAGE', 'YOU PROMOTE.'], sub: 'Spin links, bridge pages and an ad slot for your site. Free.' }, b: { head: ['PAID THE', 'MOMENT THEY', 'BUY.'], sub: 'Half of every ad package in your line, same transaction, on Polygon.' } }; const html = a => `
LinkSpin
${a.head.map(l => '' + l + '').join('')}
${a.sub}
Join free
`; (async () => { const browser = await chromium.launch(); for (const [k, a] of Object.entries(ANG)) { const pg = await browser.newPage({ viewport: { width: 600, height: 300 }, deviceScaleFactor: 1 }); await pg.setContent(html(a), { waitUntil: 'networkidle' }); await pg.evaluate(async () => { await document.fonts.ready; await document.fonts.load('700 20px Rajdhani'); await document.fonts.load('700 20px Manrope'); }); const out = path.join(KIT, 'ls-wide-' + k + '.png'); await pg.screenshot({ path: out, clip: { x: 0, y: 0, width: 600, height: 300 } }); await pg.close(); console.log('wrote', out); } await browser.close(); })();