Promo tools: 600x300 wide cards for both LinkSpin angles
Member request (600x300 and 250x250; the 250x250 square already existed). ls-wide-a / ls-wide-b in a new 600x300 group in the Banners pill, rendered by tools/promo-kit-wide.cjs from the kit's own art and fonts. my.js?v bumped, chatbot promo-tools fact updated. QA member run: 0 bugs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -125,7 +125,7 @@ const CANNED = [
|
||||
a: 'LinkSpin has light and dark themes (added 2026-11-01). In the member area use the Light, Dark or Auto control in the top bar, or the Appearance card on your Profile screen. Light is the original look, Dark is a deep navy workspace with the same layout, and Auto follows your device setting and switches with it. Your choice is saved on your account, so it follows you to any device once you sign in, and it applies to the public pages, your wall and your campaign pages too. Nothing changes until you pick one. Both themes pass the accessibility contrast standard for text.' },
|
||||
{ id: 'promo-tools', title: 'Promo tools', q: ['What is in Promo tools?', 'Where are the swipes and banners?'], tags: ['promo tools', 'social posts', 'swipes', 'banners'],
|
||||
re: /(promo tools?|social posts?|email swipes?|banners? (kit|set)|text a friend|objection|hook videos?|angle (link|video|page)|share buttons?)/i,
|
||||
a: 'Promo tools (' + SITE_URL + '/tools#promo) holds everything personalised with your invite link: social posts, text-a-friend messages, email swipes, banners in the standard sizes, an objection-handling bank with honest replies, and the hook videos. There are five hook angles, each with its own join page and video: links (stop juggling links), pages (a bridge page in a minute), zones (your site pays you), audiences (reach your visitors again) and stack (the three tools, free). An angle link is your normal link with ?v= on the end, so every join and purchase still credits you.' },
|
||||
a: 'Promo tools (' + SITE_URL + '/tools#promo) holds everything personalised with your invite link: social posts, text-a-friend messages, email swipes, banners in the standard sizes plus 600x300 wide cards, an objection-handling bank with honest replies, and the hook videos. There are five hook angles, each with its own join page and video: links (stop juggling links), pages (a bridge page in a minute), zones (your site pays you), audiences (reach your visitors again) and stack (the three tools, free). An angle link is your normal link with ?v= on the end, so every join and purchase still credits you.' },
|
||||
{ id: 'blog', title: 'The blog', q: ['Is there a blog?', 'Where are the articles?'], tags: ['blog', 'articles'],
|
||||
re: /\bblog\b|articles?|read more/i,
|
||||
a: 'The blog at ' + SITE_URL + '/blog has Marty\'s articles on building a line, advertising that pays and daily habits. Each article has its own page you can share, and there is an RSS feed at /blog/feed.xml.' },
|
||||
|
||||
@@ -1886,6 +1886,9 @@
|
||||
{ title: '1200×630 · social posts, link previews, group covers', items: [
|
||||
{ file: 'ls-social-a.jpg', size: '1200×630 · one link, every page you promote · Join free' },
|
||||
{ file: 'ls-social-b.jpg', size: '1200×630 · paid the moment they buy · Join free' } ] },
|
||||
{ title: '600×300 · traffic exchanges, splash pages, safelist mailers', items: [
|
||||
{ file: 'ls-wide-a.png', size: '600×300 · one link, every page you promote · Join free' },
|
||||
{ file: 'ls-wide-b.png', size: '600×300 · paid the moment they buy · Join free' } ] },
|
||||
{ title: '1080×1080 and 1080×1920 · Instagram, Facebook, stories, reels', items: [
|
||||
{ file: 'ls-square.jpg', size: '1080×1080 · square' },
|
||||
{ file: 'ls-story.jpg', size: '1080×1920 · story / reel' } ] },
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 145 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 144 KiB |
+1
-1
@@ -1020,7 +1020,7 @@
|
||||
<script src="/assets/tools.js?v=20261011a"></script>
|
||||
<script src="/assets/wallet.js?v=20261021a"></script>
|
||||
<script src="/assets/promo.js?v=20261020bs3"></script>
|
||||
<script src="/assets/my.js?v=20261114sso"></script>
|
||||
<script src="/assets/my.js?v=20261118kit"></script>
|
||||
<script src="/assets/chat.js?v=20261016a"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
// 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 => `<!doctype html><html><head><meta charset="utf-8">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@700&family=Manrope:wght@600;700&display=block">
|
||||
<style>*{box-sizing:border-box;margin:0}html,body{width:600px;height:300px;overflow:hidden}
|
||||
body{background:#070c18;font-family:Manrope,sans-serif;color:#ecf2fa;position:relative}
|
||||
.art{position:absolute;right:0;top:0;width:300px;height:300px;background:url(${ART}) -422px -40px/auto 380px no-repeat}
|
||||
.art::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#070c18 0%,rgba(7,12,24,.55) 30%,rgba(7,12,24,0) 60%)}
|
||||
.glow{position:absolute;left:-80px;top:-90px;width:420px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(59,157,255,.14),transparent 65%)}
|
||||
.c{position:absolute;left:32px;top:24px;bottom:26px;width:330px;display:flex;flex-direction:column}
|
||||
.wm{font-weight:700;font-size:22px}.wm b{color:#3b9dff;font-weight:700}
|
||||
.h{font-family:Rajdhani,sans-serif;font-weight:700;font-size:44px;line-height:.9;letter-spacing:1px;margin-top:14px}.h span{display:block}.h span:last-child{color:#ff6a1a}
|
||||
.s{font-size:14px;line-height:1.4;color:#b0c0d8;margin-top:12px}
|
||||
.btn{margin-top:auto;align-self:flex-start;background:#ff6a1a;color:#fff;font-family:Rajdhani,sans-serif;font-weight:700;font-size:21px;padding:6px 15px;border-radius:6px}
|
||||
</style></head><body><div class="glow"></div><div class="art"></div><div class="c"><div class="wm">Link<b>Spin</b></div>
|
||||
<div class="h">${a.head.map(l => '<span>' + l + '</span>').join('')}</div><div class="s">${a.sub}</div><span class="btn">Join free</span></div></body></html>`;
|
||||
|
||||
(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();
|
||||
})();
|
||||
Reference in New Issue
Block a user