Compare commits
9 Commits
019ee421ea
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| a30fb684a5 | |||
| c59216ec08 | |||
| 22dbf4e222 | |||
| 9f8ddc0e21 | |||
| edd1cd7bd1 | |||
| 056e169814 | |||
| ddb1d6f1c5 | |||
| c421184485 | |||
| 820382e5c8 |
@@ -9,7 +9,7 @@
|
||||
const core = require('./chatcore');
|
||||
const C = require('./config').get();
|
||||
|
||||
const KNOWLEDGE_DATE = '2026-11-17';
|
||||
const KNOWLEDGE_DATE = '2026-11-18';
|
||||
const URL_ = 'https://' + C.site;
|
||||
const SUPPORT = 'https://instantadpay.com/support';
|
||||
const SP = C.spotlight, LV = C.split.levelBps;
|
||||
@@ -65,11 +65,12 @@ const FAQ = [
|
||||
answer: 'One packet per member at a time, free. Remove yours to plant a different one. Saving IDs in other packets has no limit.' }
|
||||
];
|
||||
const FACTS = () => [
|
||||
'- WHAT IT IS: YourProgramBuilder (' + URL_ + '), the Seed Bed. PLANT: a network member plants one program free (name, referral link with {id}, their own ID, a sentence on what it is, free or paid to join with a cost note, optional contract address). Programs already in the CTB builder and network sites are refused (save IDs on DownlineHydra). SPROUT: members save their ID in any packet; visitors through a member see that member\'s link first, signed-in members see the nearest saved ID up their sponsor line, then the planter\'s. TRANSPLANT: at ' + C.reviewSaves + ' saves from distinct confirmed network members (planter included) the packet enters Marty\'s review; approved = added to the Crypto Team Build Network builder and DownlineHydra\'s wild heads with every saved ID. Not guaranteed.',
|
||||
'- WHAT IT IS: YourProgramBuilder (' + URL_ + '), the Seed Bed. PLANT: a network member plants one program free (name, referral link with {id}, their own ID, a sentence on what it is, free or paid to join with a cost note, optional contract address). Programs already in the Crypto Team Build Network builder and network sites are refused (save IDs on DownlineHydra). SPROUT: members save their ID in any packet; visitors through a member see that member\'s link first, signed-in members see the nearest saved ID up their sponsor line, then the planter\'s. TRANSPLANT: at ' + C.reviewSaves + ' saves from distinct confirmed network members (planter included) the packet enters Marty\'s review; approved = added to the Crypto Team Build Network builder and DownlineHydra\'s wild heads with every saved ID. Not guaranteed.',
|
||||
'- LINK CHECK: before showing and every ' + C.recheckHours + ' hours. Green shows; yellow (redirect to another site, http, flagged words, a bot wall) waits for Marty; red (does not load, 404, shortener, private address, two failed rechecks) is blocked. ' + C.reportHold + ' member reports send a packet back to the queue.',
|
||||
'- SPOTLIGHT: one-time $' + SP.usd + ' = ' + SP.views.toLocaleString('en-US') + ' guaranteed verified views for one packet in the Spotlight places (top row of the Seed Bed, the Spotlight strip on packet and member pages), 1 to ' + SP.maxQty + ' per purchase; views not delivered on-site within ' + SP.deliverDays + ' days are finished in the network. Split on chain by YPBShop: ' + LV.map(pct).join(' / ') + ' to levels 1 to 5 of the buyer\'s sponsor line (network sign-in + linked wallet; the ineligible are skipped and the share passes up), ' + company() + ' company plus any empty level. Immutable split, no owner withdraw, SKU changes wait 48 hours. ' + (C.contractAddress ? 'Contract ' + C.contractAddress + '.' : 'NOT ON SALE YET: the contract is not deployed.') + ' Paid in POL with SafePal or any other crypto wallet.',
|
||||
'- VERIFIED VIEWS: page visible ' + C.visitSeconds + ' s, one view per visitor per packet per 24 h, never the planter\'s own, max ' + C.perIpDay + ' browsers per connection a day.',
|
||||
'- AI WRITER: on the planting form, "Write it from my link" reads the program\'s own page and suggests a name and a one-sentence description to edit (5 a day per member); nothing is saved until you plant.',
|
||||
'- VIDEO: there is a 3-minute walkthrough video of the whole Seed Bed (plant, sprout, transplant, Spotlights, where to start) on ' + URL_ + '/guides/how-it-works.',
|
||||
'- GUIDES: ' + URL_ + '/guides (index), /guides/how-it-works, /guides/is-it-legit, /guides/free-account, /guides/planting, /guides/faq.',
|
||||
'- TRUST: ' + URL_ + '/ledger, ' + URL_ + '/contract, toasts of real events. Terms ' + URL_ + '/terms, Earnings Disclaimer ' + URL_ + '/disclaimer, Privacy ' + URL_ + '/privacy. Run by TrustClickz. SUPPORT: ' + SUPPORT + '. ' + NOT_INCOME
|
||||
].join('\n');
|
||||
|
||||
@@ -37,7 +37,7 @@ function list() { if (Date.now() - cache.at > TTL) refresh(); return cache.list;
|
||||
// entry also gets go = the LinkSpin network link for that site with ?src=<this site>, so a click shows in LinkSpin Reports under the
|
||||
// site that sent it (LinkSpin netlinks.js: fixed codes on the admin account). This site = NETWORK_SITE_ID, else the request host.
|
||||
// No go for this site itself, or when this site cannot be told (a test host): the page then uses the plain url.
|
||||
const CODES = { iap: 'nwiap', linkspin: 'nwls', dlb: 'nwdlb', vbb: 'nwvbb', viraladblitz: 'nwvab', viraladsource: 'nwvas', fivex: 'nw5x', downlinehydra: 'nwdh', stackpol: 'nwsp', earnerscorner: 'nwec' };
|
||||
const CODES = { iap: 'nwiap', linkspin: 'nwls', dlb: 'nwdlb', vbb: 'nwvbb', viraladblitz: 'nwvab', viraladsource: 'nwvas', yourprogrambuilder: 'nwypb', fivex: 'nw5x', downlinehydra: 'nwdh', stackpol: 'nwsp', earnerscorner: 'nwec' };
|
||||
const linksBase = () => String(process.env.NETWORK_LINKS_BASE || 'https://linkspin.app').trim().replace(/\/+$/, '');
|
||||
const hostOf = u => { try { return new URL(u).hostname.toLowerCase().replace(/^www\./, ''); } catch (e) { return ''; } };
|
||||
function selfId(req, l) {
|
||||
|
||||
@@ -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 = { plant: 'Bring your program', grow: 'Save your ID, grow the bed', spot: 'Spotlight a packet' };
|
||||
|
||||
function copy() {
|
||||
@@ -27,7 +28,7 @@ function copy() {
|
||||
'Anyone who comes through you sees your link first. When ' + C.reviewSaves + ' members have saved an ID, the program goes to review for the Crypto Team Build Network builder, and every saved ID moves with it.', '',
|
||||
'It is a directory of programs, not an income opportunity. Read each program\'s own terms before you join.', '', '{{LINK}}'].join('\n') },
|
||||
posts: [
|
||||
'Most builders are a list one person edits. The Seed Bed is open: plant a program, the network saves IDs in it, and the ones that grow are reviewed for the CTB builder. Free.' + '\n\n{{LINK}}',
|
||||
'Most builders are a list one person edits. The Seed Bed is open: plant a program, the network saves IDs in it, and the ones that grow are reviewed for the Crypto Team Build Network builder. Free.' + '\n\n{{LINK}}',
|
||||
'Spotlight a packet: $' + C.spotlight.usd + ' one-time for ' + C.spotlight.views.toLocaleString('en-US') + ' guaranteed views at the top of the Seed Bed. Paid in POL with SafePal or any other crypto wallet.' + '\n\n{{LINK}}'
|
||||
]
|
||||
};
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
'use strict';
|
||||
const store = require('./store');
|
||||
const docstore = require('./docstore');
|
||||
const hubpeople = require('./hubpeople');
|
||||
|
||||
const CARDS = ['/art/proof/ypb-proof-plate.png', '/art/proof/ypb-proof-bed.png'];
|
||||
const st = { posted: 0, skipped: 0, failed: 0, lastError: null };
|
||||
@@ -17,7 +18,18 @@ function init(cfg, deps) { C = cfg; shop = deps.shop; wire = deps.wire; }
|
||||
const on = () => !!(process.env.TG_TOKEN && process.env.TG_CHAT);
|
||||
const lc = a => String(a || '').toLowerCase();
|
||||
const short = a => a ? a.slice(0, 6) + '...' + a.slice(-4) : '';
|
||||
function nameLocal(addr) { const m = store.member(lc(addr)); return m && m.username ? m.username : null; }
|
||||
// people paid in a Spotlight need not have signed in here (Marty 11-18: Biz Ventures showed as a wallet): fall back to the hub's username
|
||||
const hubNames = new Map();
|
||||
function nameLocal(addr) { const m = store.member(lc(addr)); return m && m.username ? m.username : (hubNames.get(lc(addr)) || {}).name || null; }
|
||||
async function warmNames(addrs) {
|
||||
for (const a of new Set(addrs.map(lc).filter(Boolean))) {
|
||||
const m = store.member(a); if (m && m.username) continue;
|
||||
const h = hubNames.get(a); if (h && Date.now() - h.at < 3600000) continue;
|
||||
const r = await hubpeople.byWallet(a).catch(() => ({ ok: false })); if (!r.ok) return;
|
||||
if (hubNames.size > 5000) hubNames.clear();
|
||||
hubNames.set(a, { at: Date.now(), name: r.person && r.person.username ? String(r.person.username) : null });
|
||||
}
|
||||
}
|
||||
const who = a => nameLocal(a) ? '@' + nameLocal(a) : short(lc(a));
|
||||
const pol = wei => { const v = Number(BigInt(wei || 0) / 10n ** 12n) / 1e6; return v >= 100 ? v.toFixed(2) : v.toFixed(4); };
|
||||
const usd = cents => '$' + (Number(cents || 0) / 100).toFixed(2);
|
||||
@@ -31,6 +43,7 @@ function split(x) {
|
||||
function rows() { return Object.entries((store.state() && store.state().purchases) || {}).map(([k, x]) => Object.assign({ key: k, tx: k.split(':')[0] }, x)); }
|
||||
function ledger(n) {
|
||||
const lim = Math.min(200, Math.max(1, Number(n) || 50));
|
||||
warmNames(rows().flatMap(x => [x.buyer].concat(split(x).map(q => q.to)))).catch(() => {});
|
||||
const list = rows().map(x => {
|
||||
const p = x.packetId ? store.packet(x.packetId) : null; const dv = wire.spotView(x);
|
||||
return { kind: 'spotlight', tx: x.tx, at: (x.blockAt ? x.blockAt * 1000 : x.at) || null, orderId: x.orderId, buyer: x.buyer, buyerName: nameLocal(x.buyer), qty: x.qty, views: x.views,
|
||||
@@ -97,6 +110,7 @@ function onPurchase(rec, tx) {
|
||||
if (Date.now() - at > 2 * 3600000) { st.skipped++; return; }
|
||||
if (!once('p:' + lc(tx) + ':' + rec.orderId) || !(await docstore.claim('ypbtg:' + lc(tx) + ':' + rec.orderId))) return;
|
||||
const photo = (process.env.TG_PHOTO_BASE ? String(process.env.TG_PHOTO_BASE).replace(/\/+$/, '') : 'https://' + C.site) + CARDS[card++ % CARDS.length];
|
||||
await warmNames([x.buyer].concat(split(x).map(q => q.to)));
|
||||
const text = caption(x);
|
||||
let ok = await tg('sendPhoto', { photo, caption: text }); if (!ok) ok = await tg('sendMessage', { text, disable_web_page_preview: true });
|
||||
if (ok) st.posted++;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Young+Serif&family=Atkinson+Hyperlegible:wght@400;700&family=Martian+Mono:wght@400;600&display=swap">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261117c">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261118b">
|
||||
</head>
|
||||
<body data-nav="" data-no-zones="1">
|
||||
<main id="main" class="wrap">
|
||||
@@ -23,15 +23,15 @@
|
||||
<h1>Admin</h1>
|
||||
<section class="panel"><div class="row"><input type="text" id="tok" placeholder="Admin token" style="max-width:340px"><button class="btn sm ink" id="go" type="button">Open</button><button class="btn sm" id="recheck" type="button">Recheck links now</button><a class="btn sm" id="exportBtn" href="#">Export approved (JSON)</a></div><p id="status" class="note" hidden></p></section>
|
||||
<section class="panel"><h2>Status</h2><div class="stats" id="aStats"></div><pre id="aRaw" style="white-space:pre-wrap;font-size:12px;max-height:240px;overflow:auto"></pre></section>
|
||||
<section class="panel"><h2>Ready for review</h2><p class="muted">Packets that reached the threshold. Approve to transplant (exported for the CTB builder and DownlineHydra with every saved ID), or reject (stays in the Seed Bed).</p><div id="qReview" class="stack"></div></section>
|
||||
<section class="panel"><h2>Ready for review</h2><p class="muted">Packets that reached the threshold. Approve to transplant (exported for the Crypto Team Build Network builder and DownlineHydra with every saved ID), or reject (stays in the Seed Bed).</p><div id="qReview" class="stack"></div></section>
|
||||
<section class="panel"><h2>Held: link check and reports</h2><div id="qHeld" class="stack"></div></section>
|
||||
<section class="panel"><h2>Transplanted</h2><div id="qApproved" class="stack"></div></section>
|
||||
<section class="panel" id="testBox" hidden><h2>Staging: test members</h2><div class="row"><input type="text" id="tAddr" placeholder="0x wallet" style="max-width:420px"><input type="text" id="tName" placeholder="username" style="max-width:200px"><button class="btn sm" id="tGo" type="button">Mark as a test network member</button></div></section>
|
||||
</div>
|
||||
</main>
|
||||
<script src="/assets/icons.js?v=20261117c"></script>
|
||||
<script src="/assets/common.js?v=20261117c"></script>
|
||||
<script src="/assets/icons.js?v=20261118a"></script>
|
||||
<script src="/assets/common.js?v=20261118a"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
<script src="/assets/admin.js?v=20261117c"></script>
|
||||
<script src="/assets/admin.js?v=20261118a"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
After Width: | Height: | Size: 58 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 49 KiB |
|
After Width: | Height: | Size: 159 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 16 KiB |
@@ -18,3 +18,8 @@
|
||||
// PolHunter embed (the network pattern): the find code hides in one of the three steps. The mission is added in polhunter.com/admin at go-live.
|
||||
const ph = document.createElement('script'); ph.async = true; ph.src = 'https://polhunter.com/embed.js'; ph.setAttribute('data-slots', '3'); ph.setAttribute('data-selector', '#how .step'); document.body.appendChild(ph);
|
||||
})();
|
||||
// seedling band: honour reduced motion (poster only)
|
||||
(function () { var v = document.getElementById('growVid'); if (!v) return;
|
||||
try { if (window.matchMedia('(prefers-reduced-motion: reduce)').matches) { v.removeAttribute('autoplay'); v.pause(); return; } } catch (e) {}
|
||||
var go = function () { var r = v.play(); if (r && r.catch) r.catch(function () {}); };
|
||||
if (v.readyState >= 2) go(); else v.addEventListener('canplay', go, { once: true }); })();
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
Martian Mono for counts. No other network site uses these colors or fonts. */
|
||||
:root{
|
||||
--paper:#F6FAF1;--bed:#E9F2E2;--ink:#12291F;--sub:#4A6457;--leaf:#22844A;--leafInk:#1B6E3C;--tang:#F2620F;--tangInk:#C24A08;--sky:#8CCBF5;--butter:#FFE6A0;--packet:#FFFFFF;--line:#D3E3CB;--onTang:#FFFFFF;
|
||||
--bad:#B3261E;--grain:url("/art/paper-grain.jpg");--sprig:#22844A;
|
||||
--field:#FFFFFF;--fieldLine:#9DBFA7;--bad:#B3261E;--grain:url("/art/paper-grain.jpg");--sprig:#22844A;
|
||||
--display:"Young Serif",Georgia,"Times New Roman",serif;--body:"Atkinson Hyperlegible",system-ui,-apple-system,"Segoe UI",sans-serif;--mono:"Martian Mono",ui-monospace,Menlo,Consolas,monospace;
|
||||
color-scheme:light;
|
||||
}
|
||||
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--paper:#0E1C15;--bed:#13261C;--ink:#E9F3E6;--sub:#A3BDAE;--leaf:#5CC583;--leafInk:#7FD8A0;--tang:#FF8440;--tangInk:#FF9A5E;--sky:#3F7FAE;--butter:#3B3420;--packet:#18301F;--line:#284634;--onTang:#1A0D04;--bad:#FF8A80;--grain:none;--sprig:#5CC583;color-scheme:dark}}
|
||||
:root[data-theme="dark"]{--paper:#0E1C15;--bed:#13261C;--ink:#E9F3E6;--sub:#A3BDAE;--leaf:#5CC583;--leafInk:#7FD8A0;--tang:#FF8440;--tangInk:#FF9A5E;--sky:#3F7FAE;--butter:#3B3420;--packet:#18301F;--line:#284634;--onTang:#1A0D04;--bad:#FF8A80;--grain:none;--sprig:#5CC583;color-scheme:dark}
|
||||
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--paper:#0E1C15;--bed:#13261C;--ink:#E9F3E6;--sub:#A3BDAE;--leaf:#5CC583;--leafInk:#7FD8A0;--tang:#FF8440;--tangInk:#FF9A5E;--sky:#3F7FAE;--butter:#3B3420;--packet:#18301F;--line:#284634;--onTang:#1A0D04;--bad:#FF8A80;--grain:none;--sprig:#5CC583;--field:#1C3628;--fieldLine:#4F7A60;color-scheme:dark}}
|
||||
:root[data-theme="dark"]{--paper:#0E1C15;--bed:#13261C;--ink:#E9F3E6;--sub:#A3BDAE;--leaf:#5CC583;--leafInk:#7FD8A0;--tang:#FF8440;--tangInk:#FF9A5E;--sky:#3F7FAE;--butter:#3B3420;--packet:#18301F;--line:#284634;--onTang:#1A0D04;--bad:#FF8A80;--grain:none;--sprig:#5CC583;--field:#1C3628;--fieldLine:#4F7A60;color-scheme:dark}
|
||||
*{box-sizing:border-box}
|
||||
html{scroll-padding-top:16px}
|
||||
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 var(--body);padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
|
||||
@@ -129,9 +129,10 @@ nav.links a[aria-current]{border-color:var(--tang)}
|
||||
.stack{display:grid;gap:12px}
|
||||
label.f{display:grid;gap:5px;font-weight:700;font-size:15px}
|
||||
label.f small{font-weight:400;color:var(--sub);font-size:13px}
|
||||
input[type=text],input[type=url],input[type=number],select,textarea{width:100%;font:16px/1.4 var(--body);color:var(--ink);background:var(--paper);border:2px solid var(--line);border-radius:10px;padding:10px 12px;min-width:0}
|
||||
input[type=text],input[type=url],input[type=number],input[type=email],input:not([type]),select,textarea{width:100%;font:16px/1.4 var(--body);color:var(--ink);background:var(--field);border:2px solid var(--fieldLine);border-radius:10px;padding:10px 12px;min-width:0}
|
||||
textarea{min-height:84px;resize:vertical}
|
||||
input:focus,select:focus,textarea:focus{border-color:var(--leaf)}
|
||||
input:focus,select:focus,textarea:focus{border-color:var(--leaf);box-shadow:0 0 0 3px color-mix(in srgb,var(--leaf) 25%,transparent)}
|
||||
input::placeholder,textarea::placeholder{color:var(--sub);opacity:.85}
|
||||
.radios{display:flex;flex-wrap:wrap;gap:8px 16px;font-weight:400}
|
||||
.radios label{display:flex;gap:6px;align-items:center}
|
||||
.note{border-radius:10px;padding:10px 12px;border:2px solid var(--line);background:var(--paper);font-size:15px;margin:12px 0 0}
|
||||
@@ -181,3 +182,22 @@ footer.foot .here{font-weight:700;color:var(--leafInk)}
|
||||
@media (max-width:560px){.bed{grid-template-columns:1fr}.steps{grid-template-columns:1fr}.step{border-right:0;border-bottom:2px dashed var(--line)}.step:last-child{border-bottom:0}nav.links{gap:4px 12px;font-size:14px}}
|
||||
@media (prefers-reduced-motion:no-preference){.bar>span{transition:width .6s ease}}
|
||||
@media (prefers-reduced-motion:reduce){.toast{transition:none}}
|
||||
/* seedling video band (home): fixed dark look in both themes, like the light .plate */
|
||||
.grow{position:relative;margin-block:8px 26px;border:2px solid var(--ink);border-radius:18px;overflow:hidden;aspect-ratio:2/1;max-height:600px;display:flex;align-items:center;justify-content:flex-end;background:#0C1712}
|
||||
.grow>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:30% 25%}
|
||||
.grow::before{content:"";position:absolute;inset:0;background:linear-gradient(270deg,rgba(12,23,18,.92) 0%,rgba(12,23,18,.6) 45%,rgba(12,23,18,0) 70%);z-index:1}
|
||||
.grow .copy{position:relative;z-index:2;max-width:460px;padding:30px clamp(18px,4vw,44px);min-width:0;color:#EEF6EA}
|
||||
.grow .kicker{color:#7FD8A0}
|
||||
.grow h2{margin:10px 0 12px;color:#fff;text-wrap:balance}
|
||||
.grow p{margin:0 0 18px;color:#D3E4D7}
|
||||
.grow .btn.primary{background:#F2620F;color:#fff;border-color:#F2620F}
|
||||
@media (max-width:900px){.grow{aspect-ratio:auto;min-height:420px}}
|
||||
@media (max-width:700px){.grow{display:block;min-height:0}.grow>video{position:relative;display:block;aspect-ratio:16/9;height:auto}.grow::before{display:none}.grow .copy{max-width:none;padding:20px 18px 22px}}
|
||||
|
||||
/* tutorial video (2026-11-18): home link under the hero buttons + the player on /guides/how-it-works */
|
||||
.watchlink{display:inline-flex;align-items:center;gap:8px;margin-top:14px;font-weight:700;color:var(--leafInk);text-decoration:underline;text-underline-offset:3px}
|
||||
.watchlink svg{color:var(--tang);flex:none}
|
||||
.howvid{margin:22px 0 8px}
|
||||
.howvid h2{margin:0 0 10px}
|
||||
.howvid video{display:block;width:100%;height:auto;aspect-ratio:16/9;border:2px solid var(--ink);border-radius:14px;background:#12291F}
|
||||
.howvid p{margin:8px 0 0;font-size:.95em}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Young+Serif&family=Atkinson+Hyperlegible:wght@400;700&family=Martian+Mono:wght@400;600&display=swap">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261117c">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261118b">
|
||||
</head>
|
||||
<body data-nav="">
|
||||
<main id="main" class="wrap">
|
||||
@@ -38,9 +38,9 @@
|
||||
<p class="muted">Every order is signed by the site's keeper key, which names the buyer's sponsor line from the network hub. The keeper cannot move money: it can only sign orders that the buyer pays.</p>
|
||||
</div>
|
||||
</main>
|
||||
<script src="/assets/icons.js?v=20261117c"></script>
|
||||
<script src="/assets/common.js?v=20261117c"></script>
|
||||
<script src="/assets/icons.js?v=20261118a"></script>
|
||||
<script src="/assets/common.js?v=20261118a"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
<script src="/assets/pages.js?v=20261117c"></script>
|
||||
<script src="/assets/pages.js?v=20261118a"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Young+Serif&family=Atkinson+Hyperlegible:wght@400;700&family=Martian+Mono:wght@400;600&display=swap">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261117c">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261118b">
|
||||
</head>
|
||||
<body data-nav="">
|
||||
<main id="main" class="wrap">
|
||||
@@ -27,8 +27,8 @@
|
||||
<p>Any figures on this site are examples or live records of what already happened on chain (the <a href="/ledger">ledger</a>), never a forecast.</p>
|
||||
</article>
|
||||
</main>
|
||||
<script src="/assets/icons.js?v=20261117c"></script>
|
||||
<script src="/assets/common.js?v=20261117c"></script>
|
||||
<script src="/assets/icons.js?v=20261118a"></script>
|
||||
<script src="/assets/common.js?v=20261118a"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Young+Serif&family=Atkinson+Hyperlegible:wght@400;700&family=Martian+Mono:wght@400;600&display=swap">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261117c">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261118b">
|
||||
<script type="application/ld+json">{"@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{"@type": "Question", "name": "Is YourProgramBuilder free?", "acceptedAnswer": {"@type": "Answer", "text": "Yes. Signing in, planting one program and saving IDs are free. A Spotlight is an optional one-time purchase."}}, {"@type": "Question", "name": "How many programs can I plant?", "acceptedAnswer": {"@type": "Answer", "text": "One packet per member at a time. Remove yours to plant a different one. Saving IDs in other packets has no limit."}}, {"@type": "Question", "name": "Why is my packet not showing?", "acceptedAnswer": {"@type": "Answer", "text": "Its link check is yellow (waiting for a person) or red (the link did not load). Check it on My packets. Edits are checked again."}}, {"@type": "Question", "name": "What happens at 10 saves?", "acceptedAnswer": {"@type": "Answer", "text": "The packet goes to Marty's review for the Crypto Team Build Network builder. Approved, it is added there and to DownlineHydra's wild heads with every saved ID. Reaching the number does not guarantee approval."}}, {"@type": "Question", "name": "Whose link does a visitor see?", "acceptedAnswer": {"@type": "Answer", "text": "A visitor through a member sees that member's link first. A signed-in member sees the nearest saved ID up their sponsor line, then the planter's."}}, {"@type": "Question", "name": "Can I plant a program that is already in the builder?", "acceptedAnswer": {"@type": "Answer", "text": "No. Save your ID for it on DownlineHydra's wild heads instead."}}, {"@type": "Question", "name": "Do I need a Spotlight to earn?", "acceptedAnswer": {"@type": "Answer", "text": "No. Spotlight shares go to the buyer's sponsor line, and anyone in it with a network sign-in and a linked wallet is paid. Nothing is promised."}}, {"@type": "Question", "name": "Which wallet do I use?", "acceptedAnswer": {"@type": "Answer", "text": "SafePal or any other crypto wallet on Polygon."}}, {"@type": "Question", "name": "I was a member of the old YourProgramBuilder. What happened to my account?", "acceptedAnswer": {"@type": "Answer", "text": "Old members were matched to the network by email and keep their sponsor. Old links open your new member page. Programs you added come back as dormant packets you confirm on My packets. Old balances were not carried over."}}, {"@type": "Question", "name": "How do I get help?", "acceptedAnswer": {"@type": "Answer", "text": "Network support at instantadpay.com/support handles every network site."}}]}</script>
|
||||
</head>
|
||||
<body data-nav="/guides">
|
||||
@@ -23,8 +23,8 @@
|
||||
<div class="kicker"><a href="/guides">Guides</a></div><h1>FAQ</h1><h2>Is YourProgramBuilder free?</h2><p>Yes. Signing in, planting one program and saving IDs are free. A Spotlight is an optional one-time purchase.</p><h2>How many programs can I plant?</h2><p>One packet per member at a time. Remove yours to plant a different one. Saving IDs in other packets has no limit.</p><h2>Why is my packet not showing?</h2><p>Its link check is yellow (waiting for a person) or red (the link did not load). Check it on My packets. Edits are checked again.</p><h2>What happens at 10 saves?</h2><p>The packet goes to Marty's review for the Crypto Team Build Network builder. Approved, it is added there and to DownlineHydra's wild heads with every saved ID. Reaching the number does not guarantee approval.</p><h2>Whose link does a visitor see?</h2><p>A visitor through a member sees that member's link first. A signed-in member sees the nearest saved ID up their sponsor line, then the planter's.</p><h2>Can I plant a program that is already in the builder?</h2><p>No. Save your ID for it on DownlineHydra's wild heads instead.</p><h2>Do I need a Spotlight to earn?</h2><p>No. Spotlight shares go to the buyer's sponsor line, and anyone in it with a network sign-in and a linked wallet is paid. Nothing is promised.</p><h2>Which wallet do I use?</h2><p>SafePal or any other crypto wallet on Polygon.</p><h2>I was a member of the old YourProgramBuilder. What happened to my account?</h2><p>Old members were matched to the network by email and keep their sponsor. Old links open your new member page. Programs you added come back as dormant packets you confirm on My packets. Old balances were not carried over.</p><h2>How do I get help?</h2><p>Network support at instantadpay.com/support handles every network site.</p>
|
||||
</article>
|
||||
</main>
|
||||
<script src="/assets/icons.js?v=20261117c"></script>
|
||||
<script src="/assets/common.js?v=20261117c"></script>
|
||||
<script src="/assets/icons.js?v=20261118a"></script>
|
||||
<script src="/assets/common.js?v=20261118a"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Young+Serif&family=Atkinson+Hyperlegible:wght@400;700&family=Martian+Mono:wght@400;600&display=swap">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261117c">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261118b">
|
||||
</head>
|
||||
<body data-nav="/guides">
|
||||
<main id="main" class="wrap">
|
||||
@@ -25,14 +25,14 @@
|
||||
<li><b>Sign in with your network account.</b> One account works across every network site, with the same username and sponsor.</li>
|
||||
<li><b>Save your ID in the programs you have joined.</b> Open a packet, tap Save my ID, type your ID or paste your referral link. Your saved IDs also count toward the packet's review.</li>
|
||||
<li><b>Share your member page.</b> yourprogrambuilder.com/your-username lists the programs you saved, each opening with your link. The <a href="/promote">promo kit</a> has banners and lines with your link filled in.</li>
|
||||
<li><b>Plant one program.</b> If a program you use is not in the Seed Bed or the CTB builder yet, plant it.</li>
|
||||
<li><b>Plant one program.</b> If a program you use is not in the Seed Bed or the Crypto Team Build Network builder yet, plant it.</li>
|
||||
<li><b>Link a wallet on InstantAdPay.</b> Sponsor shares from Spotlights go to members with a linked wallet; without one, your share passes up.</li>
|
||||
</ol>
|
||||
<p class="muted">Nothing here needs a purchase. Nothing is promised.</p>
|
||||
</article>
|
||||
</main>
|
||||
<script src="/assets/icons.js?v=20261117c"></script>
|
||||
<script src="/assets/common.js?v=20261117c"></script>
|
||||
<script src="/assets/icons.js?v=20261118a"></script>
|
||||
<script src="/assets/common.js?v=20261118a"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Young+Serif&family=Atkinson+Hyperlegible:wght@400;700&family=Martian+Mono:wght@400;600&display=swap">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261117c">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261118b">
|
||||
</head>
|
||||
<body data-nav="/guides">
|
||||
<main id="main" class="wrap">
|
||||
@@ -22,6 +22,13 @@
|
||||
|
||||
<div class="kicker"><a href="/guides">Guides</a></div><h1>How the Seed Bed works</h1>
|
||||
<p>YourProgramBuilder is where new programs enter the network. Members plant them, the network saves referral IDs in them, and the ones that grow are reviewed for the Crypto Team Build Network builder.</p>
|
||||
<section class="howvid" id="watch" aria-labelledby="watchTitle">
|
||||
<h2 id="watchTitle">Watch how it works</h2>
|
||||
<video controls playsinline preload="none" poster="/art/how-it-works.jpg?v=20261118a" width="1920" height="1080" aria-describedby="watchNote">
|
||||
<source src="/art/how-it-works.mp4?v=20261118a" type="video/mp4">
|
||||
</video>
|
||||
<p class="muted" id="watchNote">A 3-minute walkthrough in Marty's voice: planting, saving your ID, review for the builder, Spotlights, and where to start.</p>
|
||||
</section>
|
||||
<h2>1. Plant</h2>
|
||||
<p>A network member plants a program: its name, their referral link with {id} where the ID goes, their own ID, a sentence on what it is, whether it is free or paid to join, and the contract address if it is a crypto program. Planting is free, one packet per member at a time. The link is checked before the packet shows and again every day: green shows straight away, yellow waits for a person to look, red is refused.</p>
|
||||
<h2>2. Sprout</h2>
|
||||
@@ -32,8 +39,8 @@
|
||||
<p>A one-time Spotlight (<span data-cfg="spotUsd">$10</span> for <span data-cfg="spotViews">1,000</span> guaranteed views) puts a packet at the top of the Seed Bed until its views are delivered. It is optional: planting and saving IDs are free. <a href="/spotlight">More about Spotlights</a>.</p>
|
||||
</article>
|
||||
</main>
|
||||
<script src="/assets/icons.js?v=20261117c"></script>
|
||||
<script src="/assets/common.js?v=20261117c"></script>
|
||||
<script src="/assets/icons.js?v=20261118a"></script>
|
||||
<script src="/assets/common.js?v=20261118a"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Young+Serif&family=Atkinson+Hyperlegible:wght@400;700&family=Martian+Mono:wght@400;600&display=swap">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261117c">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261118b">
|
||||
</head>
|
||||
<body data-nav="/guides">
|
||||
<main id="main" class="wrap">
|
||||
@@ -26,7 +26,7 @@
|
||||
<p>They are outside programs planted by members. The site checks that each link loads, is not a shortener or a private address, and does not promise income in its description, and it rechecks every day. It does not check the business behind a program. A packet is its planter's description, not a recommendation: read each program's terms, and if a program has a contract address, look it up before you send anything.</p>
|
||||
<h2>The Spotlight money</h2>
|
||||
<ul>
|
||||
<li>Every Spotlight is paid to the YPBShop contract on Polygon. Its address and source are on the <a href="/contract">contract page</a> once it is deployed.</li>
|
||||
<li>Every Spotlight is paid to the YPBShop contract on Polygon. Its address and verified source are on the <a href="/contract">contract page</a>, and every payment is on the <a href="/ledger">live ledger</a>.</li>
|
||||
<li>The contract splits each payment in the same transaction: <span data-cfg="sponsor">20%</span> to the buyer's sponsor, <span data-cfg="lvlEach">5%</span> each to levels 2 to 5, <span data-cfg="company">60%</span> to the company. The split is fixed and has no setter.</li>
|
||||
<li>No owner withdraw, no sweep, no upgrade. Price changes wait 48 hours on chain.</li>
|
||||
<li>No earlier buyer is ever paid from a later buyer: the shares go to the buyer's own sponsor line on a product that is delivered (views).</li>
|
||||
@@ -35,8 +35,8 @@
|
||||
<p>Nothing is promised. See the <a href="/disclaimer">earnings disclaimer</a>.</p>
|
||||
</article>
|
||||
</main>
|
||||
<script src="/assets/icons.js?v=20261117c"></script>
|
||||
<script src="/assets/common.js?v=20261117c"></script>
|
||||
<script src="/assets/icons.js?v=20261118a"></script>
|
||||
<script src="/assets/common.js?v=20261118a"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Young+Serif&family=Atkinson+Hyperlegible:wght@400;700&family=Martian+Mono:wght@400;600&display=swap">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261117c">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261118b">
|
||||
</head>
|
||||
<body data-nav="/guides">
|
||||
<main id="main" class="wrap">
|
||||
@@ -31,8 +31,8 @@
|
||||
<p>Tell the people you work with to save their IDs in it. Every visitor who comes through them sees their link first, so saving an ID is worth it for them too. A Spotlight is optional.</p>
|
||||
</article>
|
||||
</main>
|
||||
<script src="/assets/icons.js?v=20261117c"></script>
|
||||
<script src="/assets/common.js?v=20261117c"></script>
|
||||
<script src="/assets/icons.js?v=20261118a"></script>
|
||||
<script src="/assets/common.js?v=20261118a"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Young+Serif&family=Atkinson+Hyperlegible:wght@400;700&family=Martian+Mono:wght@400;600&display=swap">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261117c">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261118b">
|
||||
</head>
|
||||
<body data-nav="/guides">
|
||||
<main id="main" class="wrap">
|
||||
@@ -24,8 +24,8 @@
|
||||
<p>Short guides to the Seed Bed, checked against how the site really works.</p><ul><li><a href="/guides/how-it-works">How the Seed Bed works</a></li><li><a href="/guides/is-it-legit">Is YourProgramBuilder legit?</a></li><li><a href="/guides/free-account">Getting the most from your free account</a></li><li><a href="/guides/planting">Planting a program that grows</a></li><li><a href="/guides/faq">FAQ</a></li></ul>
|
||||
</article>
|
||||
</main>
|
||||
<script src="/assets/icons.js?v=20261117c"></script>
|
||||
<script src="/assets/common.js?v=20261117c"></script>
|
||||
<script src="/assets/icons.js?v=20261118a"></script>
|
||||
<script src="/assets/common.js?v=20261118a"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
After Width: | Height: | Size: 42 KiB |
|
After Width: | Height: | Size: 101 KiB |
|
After Width: | Height: | Size: 123 KiB |
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 68 KiB |
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Young+Serif&family=Atkinson+Hyperlegible:wght@400;700&family=Martian+Mono:wght@400;600&display=swap">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261117c">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261118b">
|
||||
</head>
|
||||
<body data-nav="/">
|
||||
<main id="main" class="wrap">
|
||||
@@ -26,6 +26,7 @@
|
||||
<h1 id="heroTitle">Bring your program. <em>The network grows it.</em></h1>
|
||||
<p class="lede">Plant your program in the Seed Bed and members across the network can save their referral ID in it. When <span data-cfg="need">10</span> members have saved an ID, it goes to review for the Crypto Team Build Network builder, and every saved ID moves with it.</p>
|
||||
<div class="ctas"><a class="btn primary" href="/my?tab=plant"><span data-icon="iconGardening"></span>Plant a program, free</a><a class="btn ghost" href="#bed">Browse the Seed Bed</a></div>
|
||||
<a class="watchlink" href="/guides/how-it-works#watch"><svg viewBox="0 0 24 24" width="18" height="18" aria-hidden="true"><circle cx="12" cy="12" r="11" fill="currentColor"/><path d="M10 8l6 4-6 4z" fill="#fff"/></svg>Watch the 3-minute walkthrough</a>
|
||||
</div>
|
||||
</section>
|
||||
<section class="under" id="how">
|
||||
@@ -48,6 +49,17 @@
|
||||
<p style="margin:12px 0 0"><a class="btn sm ink" href="/spotlight">About Spotlights</a></p>
|
||||
</aside>
|
||||
</section>
|
||||
<section class="grow" aria-labelledby="growTitle">
|
||||
<video id="growVid" autoplay muted loop playsinline preload="auto" poster="/art/seedling-hands-poster.webp" aria-hidden="true">
|
||||
<source src="/art/seedling-hands.webm" type="video/webm"><source src="/art/seedling-hands.mp4" type="video/mp4">
|
||||
</video>
|
||||
<div class="copy">
|
||||
<div class="kicker">Start with one</div>
|
||||
<h2 id="growTitle">Hand the network a program you already use.</h2>
|
||||
<p>Plant it once. Every member who saves an ID helps it grow, and at <span data-cfg="need">10</span> saves it goes to review for the Crypto Team Build Network builder with every saved ID carried along.</p>
|
||||
<a class="btn primary" href="/my?tab=plant"><span data-icon="iconGardening"></span>Plant a program, free</a>
|
||||
</div>
|
||||
</section>
|
||||
<section id="spots" hidden aria-labelledby="spotsTitle"><div class="bedhead"><div class="t"><h2 id="spotsTitle">In the Spotlight</h2></div></div><div class="bed spotrow"></div></section>
|
||||
<section id="bed" aria-labelledby="bedTitle">
|
||||
<div class="bedhead">
|
||||
@@ -60,9 +72,9 @@
|
||||
<p class="muted" style="font-size:14px">Programs in the Seed Bed are planted by members. They are outside programs: read each one's own terms before you join. A packet is the planter's description, not a recommendation.</p>
|
||||
</section>
|
||||
</main>
|
||||
<script src="/assets/icons.js?v=20261117c"></script>
|
||||
<script src="/assets/common.js?v=20261117c"></script>
|
||||
<script src="/assets/icons.js?v=20261118a"></script>
|
||||
<script src="/assets/common.js?v=20261118a"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
<script src="/assets/front.js?v=20261117c"></script>
|
||||
<script src="/assets/front.js?v=20261118a"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Young+Serif&family=Atkinson+Hyperlegible:wght@400;700&family=Martian+Mono:wght@400;600&display=swap">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261117c">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261118b">
|
||||
</head>
|
||||
<body data-nav="">
|
||||
<main id="main" class="wrap">
|
||||
@@ -27,9 +27,9 @@
|
||||
<section id="ledgerBox"><div class="tbl"><table><thead><tr><th>When</th><th>Buyer</th><th>Packet</th><th>Paid</th><th>Split</th><th>Delivery</th></tr></thead><tbody id="rows"><tr><td colspan="6" class="muted">Loading...</td></tr></tbody></table></div></section>
|
||||
</div>
|
||||
</main>
|
||||
<script src="/assets/icons.js?v=20261117c"></script>
|
||||
<script src="/assets/common.js?v=20261117c"></script>
|
||||
<script src="/assets/icons.js?v=20261118a"></script>
|
||||
<script src="/assets/common.js?v=20261118a"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
<script src="/assets/pages.js?v=20261117c"></script>
|
||||
<script src="/assets/pages.js?v=20261118a"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Young+Serif&family=Atkinson+Hyperlegible:wght@400;700&family=Martian+Mono:wght@400;600&display=swap">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261117c">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261118b">
|
||||
</head>
|
||||
<body data-nav="">
|
||||
<main id="main" class="wrap">
|
||||
@@ -28,9 +28,9 @@
|
||||
<section id="spots" hidden><div class="bedhead"><div class="t"><h2>In the Spotlight</h2></div></div><div class="bed spotrow"></div></section>
|
||||
</div>
|
||||
</main>
|
||||
<script src="/assets/icons.js?v=20261117c"></script>
|
||||
<script src="/assets/common.js?v=20261117c"></script>
|
||||
<script src="/assets/icons.js?v=20261118a"></script>
|
||||
<script src="/assets/common.js?v=20261118a"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
<script src="/assets/member.js?v=20261117c"></script>
|
||||
<script src="/assets/member.js?v=20261118a"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Young+Serif&family=Atkinson+Hyperlegible:wght@400;700&family=Martian+Mono:wght@400;600&display=swap">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261117c">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261118b">
|
||||
</head>
|
||||
<body data-nav="/my">
|
||||
<main id="main" class="wrap">
|
||||
@@ -73,10 +73,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<script src="/assets/icons.js?v=20261117c"></script>
|
||||
<script src="/assets/common.js?v=20261117c"></script>
|
||||
<script src="/assets/icons.js?v=20261118a"></script>
|
||||
<script src="/assets/common.js?v=20261118a"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
<script src="/assets/wallet.js?v=20261117c"></script>
|
||||
<script src="/assets/my.js?v=20261117c"></script>
|
||||
<script src="/assets/wallet.js?v=20261118a"></script>
|
||||
<script src="/assets/my.js?v=20261118a"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Young+Serif&family=Atkinson+Hyperlegible:wght@400;700&family=Martian+Mono:wght@400;600&display=swap">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261117c">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261118b">
|
||||
</head>
|
||||
<body data-nav="/">
|
||||
<main id="main" class="wrap">
|
||||
@@ -55,9 +55,9 @@
|
||||
<section id="spots" hidden style="margin-top:22px"><div class="bedhead"><div class="t"><h2>In the Spotlight</h2></div></div><div class="bed spotrow"></div></section>
|
||||
</div>
|
||||
</main>
|
||||
<script src="/assets/icons.js?v=20261117c"></script>
|
||||
<script src="/assets/common.js?v=20261117c"></script>
|
||||
<script src="/assets/icons.js?v=20261118a"></script>
|
||||
<script src="/assets/common.js?v=20261118a"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
<script src="/assets/packet.js?v=20261117c"></script>
|
||||
<script src="/assets/packet.js?v=20261118a"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Young+Serif&family=Atkinson+Hyperlegible:wght@400;700&family=Martian+Mono:wght@400;600&display=swap">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261117c">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261118b">
|
||||
</head>
|
||||
<body data-nav="">
|
||||
<main id="main" class="wrap">
|
||||
@@ -37,8 +37,8 @@
|
||||
<p>Remove a saved ID or your packet any time on <a href="/my">My packets</a>. To erase your network account, open <a href="https://instantadpay.com/support?from=yourprogrambuilder">network support</a>.</p>
|
||||
</article>
|
||||
</main>
|
||||
<script src="/assets/icons.js?v=20261117c"></script>
|
||||
<script src="/assets/common.js?v=20261117c"></script>
|
||||
<script src="/assets/icons.js?v=20261118a"></script>
|
||||
<script src="/assets/common.js?v=20261118a"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Young+Serif&family=Atkinson+Hyperlegible:wght@400;700&family=Martian+Mono:wght@400;600&display=swap">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261117c">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261118b">
|
||||
</head>
|
||||
<body data-nav="">
|
||||
<main id="main" class="wrap">
|
||||
@@ -30,9 +30,9 @@
|
||||
<p class="muted" id="kitNote"></p>
|
||||
</div>
|
||||
</main>
|
||||
<script src="/assets/icons.js?v=20261117c"></script>
|
||||
<script src="/assets/common.js?v=20261117c"></script>
|
||||
<script src="/assets/icons.js?v=20261118a"></script>
|
||||
<script src="/assets/common.js?v=20261118a"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
<script src="/assets/pages.js?v=20261117c"></script>
|
||||
<script src="/assets/pages.js?v=20261118a"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Young+Serif&family=Atkinson+Hyperlegible:wght@400;700&family=Martian+Mono:wght@400;600&display=swap">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261117c">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261118b">
|
||||
</head>
|
||||
<body data-nav="/spotlight">
|
||||
<main id="main" class="wrap">
|
||||
@@ -45,11 +45,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<script src="/assets/icons.js?v=20261117c"></script>
|
||||
<script src="/assets/common.js?v=20261117c"></script>
|
||||
<script src="/assets/icons.js?v=20261118a"></script>
|
||||
<script src="/assets/common.js?v=20261118a"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
<script src="/assets/wallet.js?v=20261117c"></script>
|
||||
<script src="/assets/buy.js?v=20261117c"></script>
|
||||
<script src="/assets/spotlight.js?v=20261117c"></script>
|
||||
<script src="/assets/wallet.js?v=20261118a"></script>
|
||||
<script src="/assets/buy.js?v=20261118a"></script>
|
||||
<script src="/assets/spotlight.js?v=20261118a"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Young+Serif&family=Atkinson+Hyperlegible:wght@400;700&family=Martian+Mono:wght@400;600&display=swap">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261117c">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261118b">
|
||||
</head>
|
||||
<body data-nav="">
|
||||
<main id="main" class="wrap">
|
||||
@@ -43,8 +43,8 @@
|
||||
<p>Network support: <a href="https://instantadpay.com/support?from=yourprogrambuilder">instantadpay.com/support</a>.</p>
|
||||
</article>
|
||||
</main>
|
||||
<script src="/assets/icons.js?v=20261117c"></script>
|
||||
<script src="/assets/common.js?v=20261117c"></script>
|
||||
<script src="/assets/icons.js?v=20261118a"></script>
|
||||
<script src="/assets/common.js?v=20261118a"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Young+Serif&family=Atkinson+Hyperlegible:wght@400;700&family=Martian+Mono:wght@400;600&display=swap">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261117c">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v=20261118b">
|
||||
</head>
|
||||
<body data-nav="/transplanted">
|
||||
<main id="main" class="wrap">
|
||||
@@ -26,9 +26,9 @@
|
||||
<div class="bed" id="tList"><p class="empty">Loading...</p></div>
|
||||
</div>
|
||||
</main>
|
||||
<script src="/assets/icons.js?v=20261117c"></script>
|
||||
<script src="/assets/common.js?v=20261117c"></script>
|
||||
<script src="/assets/icons.js?v=20261118a"></script>
|
||||
<script src="/assets/common.js?v=20261118a"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
<script src="/assets/pages.js?v=20261117c"></script>
|
||||
<script src="/assets/pages.js?v=20261118a"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -52,7 +52,8 @@ const TEST_SWITCH = C.staging && !/(^|\.)yourprogrambuilder\.com$/i.test(C.site)
|
||||
|
||||
// ---- http helpers ----
|
||||
const MIME = { '.html': 'text/html; charset=utf-8', '.css': 'text/css', '.js': 'text/javascript', '.png': 'image/png', '.jpg': 'image/jpeg', '.webp': 'image/webp',
|
||||
'.gif': 'image/gif', '.svg': 'image/svg+xml', '.ico': 'image/x-icon', '.json': 'application/json', '.txt': 'text/plain; charset=utf-8', '.xml': 'application/xml' };
|
||||
'.gif': 'image/gif', '.svg': 'image/svg+xml', '.ico': 'image/x-icon', '.json': 'application/json', '.txt': 'text/plain; charset=utf-8', '.xml': 'application/xml',
|
||||
'.mp4': 'video/mp4', '.webm': 'video/webm' };
|
||||
const CSP = "default-src 'self'; script-src 'self' https://cdn.jsdelivr.net https://linkspin.app https://polhunter.com; worker-src 'self' blob:; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; "
|
||||
+ "img-src 'self' data: blob: https:; connect-src 'self' https://linkspin.app https://polhunter.com https://*.walletconnect.com wss://*.walletconnect.com https://*.walletconnect.org wss://*.walletconnect.org "
|
||||
+ "https://*.reown.com wss://*.reown.com https://*.reown.org wss://*.reown.org https://*.web3modal.org https://*.drpc.org https://*.publicnode.com https://*.coinbase.com; "
|
||||
@@ -67,6 +68,19 @@ function sendFile(res, file, extra, code) {
|
||||
res.end(data);
|
||||
});
|
||||
}
|
||||
// video needs byte ranges (Safari will not play it without them)
|
||||
function sendMedia(req, res, file) {
|
||||
fs.stat(file, (err, st) => {
|
||||
if (err || !st.isFile()) { res.writeHead(404, headers({ 'Content-Type': 'text/plain' })); return res.end('Not found'); }
|
||||
const base = { 'Content-Type': MIME[path.extname(file).toLowerCase()], 'Accept-Ranges': 'bytes', 'Cache-Control': 'public, max-age=86400' };
|
||||
const m = /^bytes=(\d*)-(\d*)$/.exec(req.headers.range || '');
|
||||
if (!m || (!m[1] && !m[2])) { res.writeHead(200, headers(Object.assign(base, { 'Content-Length': st.size }))); return fs.createReadStream(file).pipe(res); }
|
||||
let a = m[1] ? +m[1] : Math.max(0, st.size - +m[2]), b = m[1] && m[2] ? Math.min(+m[2], st.size - 1) : st.size - 1;
|
||||
if (a > b || a >= st.size) { res.writeHead(416, headers({ 'Content-Range': 'bytes */' + st.size })); return res.end(); }
|
||||
res.writeHead(206, headers(Object.assign(base, { 'Content-Range': 'bytes ' + a + '-' + b + '/' + st.size, 'Content-Length': b - a + 1 })));
|
||||
fs.createReadStream(file, { start: a, end: b }).pipe(res);
|
||||
});
|
||||
}
|
||||
function readRaw(req, max) {
|
||||
return new Promise((resolve, reject) => { const ch = []; let n = 0;
|
||||
req.on('data', c => { n += c.length; if (n > max * 8) { req.destroy(); return; } if (n <= max) ch.push(c); });
|
||||
@@ -266,9 +280,9 @@ const server = http.createServer(async (req, res) => {
|
||||
return res.end('<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' + urls + '</urlset>');
|
||||
}
|
||||
if (p === '/robots.txt') { res.writeHead(200, headers({ 'Content-Type': 'text/plain; charset=utf-8' })); return res.end(C.staging ? 'User-agent: *\nDisallow: /\n' : 'User-agent: *\nAllow: /\nDisallow: /my\nDisallow: /admin\nDisallow: /api/\nDisallow: /go/\nDisallow: /sso/\n\nSitemap: https://' + C.site + '/sitemap.xml\n'); }
|
||||
if (p.startsWith('/assets/') || p.startsWith('/art/') || p === '/favicon.ico') {
|
||||
if (p.startsWith('/assets/') || p.startsWith('/art/') || p.startsWith('/images/') || p === '/favicon.ico') { // /images/ = the old site's banner files, still hotlinked by Network Ad Space ads (2026-11-19)
|
||||
const f = path.normalize(path.join(PUB, p === '/favicon.ico' ? '/art/icon-192.png' : p)); if (!f.startsWith(PUB + path.sep)) { res.writeHead(400); return res.end(); }
|
||||
return sendFile(res, f);
|
||||
return /\.(mp4|webm)$/i.test(f) ? sendMedia(req, res, f) : sendFile(res, f);
|
||||
}
|
||||
// click relay: /go/<packet>?v=<verified token>&p=<placement>&r=<member> -> the sponsor-first referral link (LinkSpin tracked when on)
|
||||
const gm = /^\/go\/(\d{1,9})$/.exec(p);
|
||||
|
||||
@@ -32,15 +32,20 @@ body{font-family:'Atkinson Hyperlegible',sans-serif;color:#12291F;background:#F6
|
||||
const page = (w, h, body, cls) => `<!doctype html><html><head>${FONTS}<style>${CSS}</style></head><body class="${cls || ''}" style="width:${w}px;height:${h}px">${body}</body></html>`;
|
||||
const ic = (k, s) => `<span class="ic" style="display:inline-block;width:${s}px;height:${s}px">${ICONS[k]}</span>`;
|
||||
const ANG = {
|
||||
plant: { kick: 'Open to every program', h: 'Bring your program. <em>The network grows it.</em>', s: 'Plant it free in the Seed Bed', cta: 'Plant it free', icon: 'iconGardening', cls: 'plate' },
|
||||
grow: { kick: 'The Seed Bed', h: 'Save your ID. <em>Your link first.</em>', s: 'Everyone you bring sees your referral link first', cta: 'Save my IDs', icon: 'iconSprout', cls: 'ink' },
|
||||
spot: { kick: 'One-time, paid in POL', h: 'Spotlight <em>a packet.</em>', s: '1,000 guaranteed views at the top of the Seed Bed', cta: 'Spotlight it', icon: 'iconEvolution', cls: 'butter' }
|
||||
plant: { kick: 'Open to every program', h: 'Bring your program. <em>The network grows it.</em>', s: 'Plant it free in the Seed Bed', t: 'Plant your program <em>free.</em>', cta: 'Plant it free', icon: 'iconGardening', cls: 'plate' },
|
||||
grow: { kick: 'The Seed Bed', h: 'Save your ID. <em>Your link first.</em>', s: 'Everyone you bring sees your referral link first', t: 'Save your ID. <em>Your link first.</em>', cta: 'Save my IDs', icon: 'iconSprout', cls: 'ink' },
|
||||
spot: { kick: 'One-time, paid in POL', h: 'Spotlight <em>a packet.</em>', s: '1,000 guaranteed views at the top of the Seed Bed', t: 'Spotlight <em>a packet.</em>', cta: 'Spotlight it', icon: 'iconEvolution', cls: 'butter' }
|
||||
};
|
||||
function creative(a, shape) {
|
||||
const [w, h] = SHAPES[shape]; const A = ANG[a]; const k = Math.min(w, h);
|
||||
const wm = sz => `<div class="wm" style="font-size:${sz}px">${MARK(Math.round(sz * 1.3))}YourProgramBuilder</div>`;
|
||||
if (shape === 'tile') return page(w, h, `<div style="padding:9px;display:flex;flex-direction:column;justify-content:space-between;height:100%">${MARK(30)}<div class="h" style="font-size:17px">${A.h.replace(/<em>.*<\/em>/, '')}</div><div class="btn" style="font-size:11px;padding:5px 8px;text-align:center">${A.cta}</div></div>`, A.cls === 'plate' ? '' : A.cls);
|
||||
if (h <= 90) return page(w, h, `<div style="display:flex;align-items:center;gap:14px;height:100%;padding:0 14px">${MARK(h - 26)}<div style="flex:1;min-width:0"><div class="h" style="font-size:${h < 70 ? 19 : 26}px;white-space:nowrap;overflow:hidden">${A.h}</div>${h >= 90 ? `<div style="font-size:14px;opacity:.8">${A.s}</div>` : ''}</div><div class="btn" style="font-size:${h < 70 ? 13 : 16}px;padding:${h < 70 ? '8px 12px' : '11px 18px'}">${A.cta}</div></div>`, A.cls === 'plate' ? '' : A.cls);
|
||||
if (shape === 'wide') return page(w, h, `<div style="padding:30px 32px;display:flex;flex-direction:column;justify-content:space-between;height:100%;max-width:${A.cls === 'plate' ? 380 : 420}px">
|
||||
${wm(19)}<div><div class="m" style="font-size:11px;margin-bottom:10px;color:${A.cls === 'ink' ? '#7FD8A0' : '#1B6E3C'}">${A.kick}</div><div class="h" style="font-size:${A.cls === 'plate' ? 36 : 42}px">${A.h}</div>
|
||||
<div style="font-size:16px;opacity:.85;margin-top:10px">${A.s}</div></div><div><span class="btn" style="font-size:16px;padding:10px 22px">${A.cta}</span></div></div>${A.cls === 'plate' ? '' : `<div style="position:absolute;right:30px;top:50%;transform:translateY(-50%);opacity:.9">${ic(A.icon, 150)}</div>`}`, A.cls);
|
||||
if (shape === 'small') return page(w, h, `<div style="padding:18px;display:flex;flex-direction:column;justify-content:space-between;height:100%">
|
||||
${wm(15)}<div class="h" style="font-size:31px">${A.t}</div><div><span class="btn" style="font-size:15px;padding:9px 18px">${A.cta}</span></div></div>`, A.cls === 'plate' ? '' : A.cls);
|
||||
if (shape === 'tower') return page(w, h, `<div style="padding:18px 14px;display:flex;flex-direction:column;gap:16px;height:100%">${MARK(44)}<div class="m" style="font-size:10px;color:#22844A">${A.kick}</div><div class="h" style="font-size:30px">${A.h}</div>${ic(A.icon, 90)}<div style="font-size:15px">${A.s}</div><div style="margin-top:auto" class="btn" style="font-size:14px;padding:10px 14px;text-align:center">${A.cta}</div></div>`, A.cls === 'plate' ? '' : A.cls);
|
||||
const big = w >= 1000; const fs1 = big ? (shape === 'square' ? 88 : 66) : Math.round(k / 8.5);
|
||||
return page(w, h, `<div style="padding:${Math.round(k / 14)}px;display:flex;flex-direction:column;justify-content:center;gap:${Math.round(k / 30)}px;height:100%;max-width:${A.cls === 'plate' ? Math.round(w * .62) : w}px">
|
||||
@@ -50,8 +55,11 @@ function creative(a, shape) {
|
||||
}
|
||||
const b = await chromium.launch(); const ctx = await b.newContext({ deviceScaleFactor: 1 }); const pg = await ctx.newPage();
|
||||
async function shot(html, w, h, out) { await pg.setViewportSize({ width: w, height: h }); await pg.setContent(html, { waitUntil: 'networkidle' }); await pg.evaluate(() => document.fonts.ready); await pg.screenshot({ path: out, type: 'png' }); }
|
||||
const ONLY = (process.env.ONLY || '').split(',').filter(Boolean);
|
||||
if (!ONLY.length) {
|
||||
await shot(page(192, 192, `<div style="display:grid;place-items:center;height:100%;background:#F6FAF1">${MARK(160)}</div>`), 192, 192, path.join(ART, 'icon-192.png'));
|
||||
await shot(page(1200, 630, `<div style="padding:70px 64px;display:flex;flex-direction:column;justify-content:center;gap:22px;height:100%;max-width:760px"><div class="wm" style="font-size:40px">${MARK(52)}YourProgramBuilder</div><div class="h" style="font-size:72px">Bring your program. <em>The network grows it.</em></div><div style="font-size:28px;color:#35503F">Plant it free in the Seed Bed. Members save their IDs. The ones that grow move into the builder.</div></div>`, 'plate'), 1200, 630, path.join(ART, 'og-share.png'));
|
||||
for (const [n, cls] of [['plate', 'plate'], ['bed', 'ink']]) await shot(page(1200, 630, `<div style="padding:70px 64px;display:flex;flex-direction:column;justify-content:center;gap:20px;height:100%;max-width:${cls === 'plate' ? 760 : 1100}px"><div class="wm" style="font-size:40px">${MARK(52)}YourProgramBuilder</div><div class="m" style="font-size:22px;color:${cls === 'ink' ? '#7FD8A0' : '#1B6E3C'}">A Spotlight was just bought</div><div class="h" style="font-size:76px">Split on chain, <em>in the same transaction.</em></div><div style="font-size:28px;opacity:.85">20% sponsor, 5% each levels 2 to 5. Verify it on Polygonscan.</div></div>`, cls), 1200, 630, path.join(ART, 'proof', 'ypb-proof-' + n + '.png'));
|
||||
let n = 0; for (const a of Object.keys(ANG)) for (const s of Object.keys(SHAPES)) { const [w, h] = SHAPES[s]; await shot(creative(a, s), w, h, path.join(ART, 'kit', 'ypb-' + a + '-' + s + '.png')); n++; }
|
||||
}
|
||||
let n = 0; for (const a of Object.keys(ANG)) for (const s of Object.keys(SHAPES)) { if (ONLY.length && !ONLY.includes(s)) continue; const [w, h] = SHAPES[s]; await shot(creative(a, s), w, h, path.join(ART, 'kit', 'ypb-' + a + '-' + s + '.png')); n++; }
|
||||
await b.close(); console.log('art written:', n, 'kit creatives + icon, og, 2 proof cards');
|
||||
|
||||
@@ -5,7 +5,7 @@ import os, re
|
||||
APP = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
PUB = os.path.join(APP, 'public')
|
||||
SITE = 'https://yourprogrambuilder.com'
|
||||
V = '20261117c'
|
||||
V = '20261117d'
|
||||
FONTS = 'https://fonts.googleapis.com/css2?family=Young+Serif&family=Atkinson+Hyperlegible:wght@400;700&family=Martian+Mono:wght@400;600&display=swap'
|
||||
|
||||
def head(title, desc, path, noindex=False, extra=''):
|
||||
@@ -274,7 +274,7 @@ page('admin.html', 'Admin', 'YourProgramBuilder admin.', '/admin', '', '''
|
||||
<h1>Admin</h1>
|
||||
<section class="panel"><div class="row"><input type="text" id="tok" placeholder="Admin token" style="max-width:340px"><button class="btn sm ink" id="go" type="button">Open</button><button class="btn sm" id="recheck" type="button">Recheck links now</button><a class="btn sm" id="exportBtn" href="#">Export approved (JSON)</a></div><p id="status" class="note" hidden></p></section>
|
||||
<section class="panel"><h2>Status</h2><div class="stats" id="aStats"></div><pre id="aRaw" style="white-space:pre-wrap;font-size:12px;max-height:240px;overflow:auto"></pre></section>
|
||||
<section class="panel"><h2>Ready for review</h2><p class="muted">Packets that reached the threshold. Approve to transplant (exported for the CTB builder and DownlineHydra with every saved ID), or reject (stays in the Seed Bed).</p><div id="qReview" class="stack"></div></section>
|
||||
<section class="panel"><h2>Ready for review</h2><p class="muted">Packets that reached the threshold. Approve to transplant (exported for the Crypto Team Build Network builder and DownlineHydra with every saved ID), or reject (stays in the Seed Bed).</p><div id="qReview" class="stack"></div></section>
|
||||
<section class="panel"><h2>Held: link check and reports</h2><div id="qHeld" class="stack"></div></section>
|
||||
<section class="panel"><h2>Transplanted</h2><div id="qApproved" class="stack"></div></section>
|
||||
<section class="panel" id="testBox" hidden><h2>Staging: test members</h2><div class="row"><input type="text" id="tAddr" placeholder="0x wallet" style="max-width:420px"><input type="text" id="tName" placeholder="username" style="max-width:200px"><button class="btn sm" id="tGo" type="button">Mark as a test network member</button></div></section>
|
||||
@@ -369,7 +369,7 @@ prose('guide-free.html', 'Getting the most from your free account', 'Save your I
|
||||
<li><b>Sign in with your network account.</b> One account works across every network site, with the same username and sponsor.</li>
|
||||
<li><b>Save your ID in the programs you have joined.</b> Open a packet, tap Save my ID, type your ID or paste your referral link. Your saved IDs also count toward the packet's review.</li>
|
||||
<li><b>Share your member page.</b> yourprogrambuilder.com/your-username lists the programs you saved, each opening with your link. The <a href="/promote">promo kit</a> has banners and lines with your link filled in.</li>
|
||||
<li><b>Plant one program.</b> If a program you use is not in the Seed Bed or the CTB builder yet, plant it.</li>
|
||||
<li><b>Plant one program.</b> If a program you use is not in the Seed Bed or the Crypto Team Build Network builder yet, plant it.</li>
|
||||
<li><b>Link a wallet on InstantAdPay.</b> Sponsor shares from Spotlights go to members with a linked wallet; without one, your share passes up.</li>
|
||||
</ol>
|
||||
<p class="muted">Nothing here needs a purchase. Nothing is promised.</p>''', '/guides')
|
||||
|
||||