Promo kit: add 600x300 wide and 250x250 small creatives for all 3 angles

Member request. Wide = ticker + headline + level screens; small = ticker,
short headline, one CTA.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-18 09:57:54 -06:00
parent c3827b7c96
commit 5bda81c79a
8 changed files with 14 additions and 1 deletions
+12
View File
@@ -38,6 +38,7 @@ const ANG = {
spread: { k: 'FIVE LEVELS DEEP', h1: 'Spread your ad', h2: '5 levels deep', s: 'Everyone you bring in shows your ad, five levels down.', cta: 'Get my page' },
boost: { k: 'ONE-TIME BOOST', h1: '$' + C.boost.usd + ' Boost', h2: views + ' views', s: views + ' guaranteed network views. Starred on the live ticker. Never a subscription.', cta: 'Boost my ad' }
};
const SMALL = { free: ['Post your ad', 'free'], spread: ['Your ad goes', '5 levels deep'], boost: ['$' + C.boost.usd + ' Boost', views + ' views'] }; // 250x250: short enough to read small
const TICK = '<b>★ BOOSTED</b> One link for every offer · <i>▲ LIVE</i> Free traffic tools for affiliates · <i>▲ LIVE</i> Build a list with one page · ';
const screens = f => `<div style="display:flex;align-items:flex-end;gap:${Math.round(6 * f)}px">
<div class="scr cut" style="flex:1;background:#1F66FF;border:${Math.max(2, Math.round(2 * f))}px solid #9DBEFF;padding:${Math.round(8 * f)}px 4px"><span class="disp" style="font-size:${Math.round(15 * f)}px">YOUR AD</span><span style="font-size:${Math.round(8 * f)}px;font-weight:700">level 1</span></div>
@@ -51,6 +52,17 @@ function kitHtml(angle, shape, w, h) {
return `<body style="display:flex;align-items:center;gap:${big ? 16 : 9}px;padding:0 ${big ? 16 : 9}px;border-bottom:3px solid #FFC21A">${NET}<div style="flex:0 0 auto">${WM(big ? 20 : 13, true)}</div><div style="flex:1;min-width:0"><div class="mono" style="font-size:${big ? 11 : 8}px;letter-spacing:1px;color:#7DB2FF">${a.k}</div><div class="disp" style="font-size:${big ? 36 : 22}px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis"><span class="sh">${a.h1}</span> <span class="gold shg">${a.h2}</span></div></div><span class="pill" style="font-size:${big ? 21 : 13}px;padding:${big ? '6px 16px' : '3px 9px'};flex:0 0 auto;border-width:${big ? 3 : 2}px">${a.cta} »</span></body>`;
}
if (shape === 'tower') return `<body style="display:flex;flex-direction:column">${NET}<div class="tick" style="font-size:10px;padding:6px 4px">${TICK}</div><div style="padding:14px 12px;display:flex;flex-direction:column;gap:14px;flex:1">${WM(17, true)}<div class="mono" style="font-size:10px;letter-spacing:1px;color:#7DB2FF">${a.k}</div><div class="disp" style="font-size:38px"><span class="sh">${a.h1}</span><br><span class="gold shg">${a.h2}</span></div><div style="font-size:13px;color:#E3EBFF;line-height:1.4">${a.s}</div>${screens(.62)}<div style="margin-top:auto;text-align:center"><span class="pill" style="font-size:19px;padding:6px 12px;display:block">${a.cta} »</span><div class="mono" style="font-size:10px;margin-top:10px">viraladblitz.com</div></div></div></body>`;
if (shape === 'small') return `<body style="display:flex;flex-direction:column">${NET}<div class="tick" style="flex:0 0 auto;font-size:10px;padding:6px 8px">${TICK + TICK}</div>
<div style="flex:1;padding:14px 16px 16px;display:flex;flex-direction:column;justify-content:space-between">${WM(17, true)}
<div class="disp" style="font-size:${angle === 'spread' ? 37 : 42}px"><span class="sh">${SMALL[angle][0]}</span><br><span class="gold shg">${SMALL[angle][1]}</span></div>
<div style="display:flex;align-items:center;justify-content:space-between;gap:8px"><span class="pill" style="font-size:19px;padding:4px 14px;border-width:2px">${a.cta} »</span></div></div></body>`;
if (shape === 'wide') return `<body style="display:flex;flex-direction:column">${NET}<div class="tick" style="font-size:11px;padding:7px 10px">${TICK + TICK}</div>
<div style="flex:1;padding:16px 22px;display:flex;gap:22px;align-items:center">
<div style="flex:1.75;min-width:0;display:flex;flex-direction:column;gap:9px">${WM(17, true)}
<div class="disp" style="font-size:46px"><span class="sh">${a.h1}</span><br><span class="gold shg">${a.h2}</span></div>
<div style="font-size:13px;color:#E3EBFF;line-height:1.35">${a.s}</div>
<div style="display:flex;align-items:center;gap:12px;margin-top:4px"><span class="pill" style="font-size:19px;padding:4px 15px;border-width:2px">${a.cta} »</span><span class="mono" style="font-size:10px">viraladblitz.com</span></div></div>
<div style="flex:1;min-width:0">${screens(.95)}</div></div></body>`;
// box, panel (336x280, scaled from the box), social, square
const f = m / 250; const wide = shape === 'social';
return `<body style="display:flex;flex-direction:column">${NET}<div class="tick" style="font-size:${Math.round(10 * f)}px;padding:${Math.round(6 * f)}px ${Math.round(8 * f)}px">${TICK + TICK}</div>