diff --git a/promokit.js b/promokit.js index b218cae..e5d4b72 100644 --- a/promokit.js +++ b/promokit.js @@ -11,7 +11,8 @@ 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'], panel: [336, 280, 'Large box'], - tower: [160, 600, 'Skyscraper'], social: [1200, 630, 'Social share'], square: [1080, 1080, 'Square post'] }; + tower: [160, 600, 'Skyscraper'], social: [1200, 630, 'Social share'], square: [1080, 1080, 'Square post'], + wide: [600, 300, 'Wide card'], small: [250, 250, 'Small square'] }; const ANGLES = { draft: 'The weekly draft', coach: 'Coach your picks', cards: 'Trading cards that level up' }; function copy() { diff --git a/public/art/kit/fx-cards-small.png b/public/art/kit/fx-cards-small.png new file mode 100644 index 0000000..ec8c952 Binary files /dev/null and b/public/art/kit/fx-cards-small.png differ diff --git a/public/art/kit/fx-cards-wide.png b/public/art/kit/fx-cards-wide.png new file mode 100644 index 0000000..7b0e7e9 Binary files /dev/null and b/public/art/kit/fx-cards-wide.png differ diff --git a/public/art/kit/fx-coach-small.png b/public/art/kit/fx-coach-small.png new file mode 100644 index 0000000..4a37dd0 Binary files /dev/null and b/public/art/kit/fx-coach-small.png differ diff --git a/public/art/kit/fx-coach-wide.png b/public/art/kit/fx-coach-wide.png new file mode 100644 index 0000000..e2f5c56 Binary files /dev/null and b/public/art/kit/fx-coach-wide.png differ diff --git a/public/art/kit/fx-draft-small.png b/public/art/kit/fx-draft-small.png new file mode 100644 index 0000000..44ec032 Binary files /dev/null and b/public/art/kit/fx-draft-small.png differ diff --git a/public/art/kit/fx-draft-wide.png b/public/art/kit/fx-draft-wide.png new file mode 100644 index 0000000..6fad689 Binary files /dev/null and b/public/art/kit/fx-draft-wide.png differ diff --git a/tools/art.mjs b/tools/art.mjs index ea0f58d..b0a15d8 100644 --- a/tools/art.mjs +++ b/tools/art.mjs @@ -53,6 +53,17 @@ function kitHtml(angle, shape, w, h) { if (shape === 'strip' || shape === 'leader') { const big = shape === 'leader'; return `
${WM(big ? 24 : 15)}
${a.k}
${a.h1} ${a.h2}
${a.cta}`; } if (shape === 'tower') return `
${WM(19)}${a.k}
${a.h1}
${a.h2}
${a.s}
${tcard('allstar', 'gamerdad', 'you', .45)}
${a.cta}
5xyourteam.com
`; + if (shape === 'wide') return `
+
+
${WM(21)}${a.k}
+
${a.h1}
${a.h2}
+
${a.s}
+
${a.cta}5xyourteam.com
+ ${tcard(angle === 'cards' ? 'hof' : angle === 'coach' ? 'pro' : 'allstar', angle === 'cards' ? 'cryptomike' : angle === 'coach' ? 'lunaclicks' : 'gamerdad', 'you', .7)}`; + if (shape === 'small') return `
+
${WM(19)}${a.k}
+
${a.h1}
${a.h2}
+
${a.cta}
`; const f = m / 250; const wide = shape === 'social' || shape === 'square'; return `