Promo kit: add 336x280 (Large box) for every angle (Marty 2026-11-16, Network Ad Space gaps)

New kit shapes rendered from HTML in the site's own look by tools/art.mjs (a shape list now renders only those shapes and leaves the other art alone). Listed in promokit.js SHAPES, so /promote, /api/promo-kit and InstantAdPay's Network sites tab show them. Smoke test counts updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-16 04:56:35 -06:00
parent 3a1931fb9c
commit 3cbe33db77
6 changed files with 14 additions and 10 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ const C = require('./config').get();
const netsites = require('./netsites');
const KIT_DIR = path.join(__dirname, 'public', 'art', 'kit');
const SHAPES = { tile: [125, 125, 'Square button'], strip: [468, 60, 'Strip'], leader: [728, 90, 'Leaderboard'], box: [300, 250, 'Box'],
const SHAPES = { tile: [125, 125, 'Square button'], strip: [468, 60, 'Strip'], leader: [728, 90, 'Leaderboard'], box: [300, 250, 'Box'], panel: [336, 280, 'Large box'],
tower: [160, 600, 'Skyscraper'], social: [1200, 630, 'Social share'], square: [1080, 1080, 'Square post'] };
const ANGLES = { draft: 'The weekly draft', coach: 'Coach your picks', cards: 'Trading cards that level up' };
@@ -74,7 +74,7 @@ function kit(u) {
const track = seg => netsites.tracked(C.siteId, C.siteId, { s1: ref, s2: seg });
const t = copy();
return {
v: 1, site: C.site, name: C.siteName, updated: '2026-11-15', username: ref || null,
v: 1, site: C.site, name: C.siteName, updated: '2026-11-16', username: ref || null,
tagline: 'The weekly draft for people who need a sponsor.',
links: [
{ key: 'page', label: 'Your coach page', url: link, tracked: track('') },