Network Weekend (Marty 2026-11-17): ribbon + date-gated chatbot fact (any IAP $10+ pack unlocks Stack POL Pro)
netdeals.js + /assets/netweekend.js (/api/network-deals from the hub), loaded on every page by layout.js. FACTS line live Fri 11-27 00:00 CT to Tue 12-01 00:00 CT (WEEKEND_NOW test clock). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+7
-2
@@ -13,7 +13,11 @@
|
||||
const core = require('./chatcore');
|
||||
const { PROGRAMS } = require('./programs');
|
||||
|
||||
const KNOWLEDGE_DATE = '2026-11-15';
|
||||
const KNOWLEDGE_DATE = '2026-11-17';
|
||||
// Network Weekend (Black Friday to Cyber Monday 2026): live Fri 11-27 00:00 CT to Tue 12-01 00:00 CT (CST = UTC-6); WEEKEND_NOW = test clock
|
||||
const NW_START = Date.parse('2026-11-27T06:00:00Z'), NW_END = Date.parse('2026-12-01T06:00:00Z');
|
||||
const nwNow = () => { const t = process.env.WEEKEND_NOW ? Date.parse(process.env.WEEKEND_NOW) : NaN; return Number.isNaN(t) ? Date.now() : t; };
|
||||
const nwLive = () => { const t = nwNow(); return t >= NW_START && t < NW_END; };
|
||||
const URL_ = String(process.env.SITE_URL || 'https://stackpol.com').replace(/\/+$/, '');
|
||||
const SUPPORT = 'https://instantadpay.com/support';
|
||||
const NAMES = PROGRAMS.map(p => p.n).join(', ');
|
||||
@@ -61,9 +65,10 @@ const FAQ = [
|
||||
const FACTS = () => [
|
||||
'- WHAT IT IS: Stack POL (' + URL_ + ') adds up every POL payout across the network: ' + NAMES + '. Front page = everyone combined (network totals, last 7 days, latest payouts), /programs, /earn/<program> pages, /ledger (filter ?p=), opt-in member pages ' + URL_ + '/<username>, /blog. It sells nothing and holds nothing: every payment goes from the program straight to the member\'s wallet on Polygon.',
|
||||
'- DATA: each program\'s payout records and the network contracts on Polygon, refreshed every 5 minutes; every ledger row links to its Polygon transaction. Members are named only when they switch on "Show my Stack POL page" in InstantAdPay Promo tools (join InstantAdPay free and link a wallet first).',
|
||||
(nwLive() ? '- NETWORK WEEKEND (live now, Black Friday to Cyber Monday, Fri 11-27 to Mon 11-30, midnight to midnight Central): Stack POL sells nothing itself. Its Pro view unlocks with any InstantAdPay package of $10 or more (an existing perk, not a weekend price), so a $10+ InstantAdPay pack this weekend also unlocks Stack POL Pro. Every network deal: https://instantadpay.com/weekend. Ad credits buy advertising, not income.' : null),
|
||||
'- NEVER quote a total as what someone will earn; never state a maximum. ' + NOT_INCOME,
|
||||
'- For how a program pays (prices, splits, rules), use that program\'s own knowledge-base entries and send people to that site. SUPPORT: network support at ' + SUPPORT + '.'
|
||||
].join('\n');
|
||||
].filter(Boolean).join('\n');
|
||||
|
||||
const SITE = {
|
||||
id: 'stackpol', hubSite: 'stackpol', netId: 'stackpol', name: 'Stack POL', url: URL_, supportUrl: SUPPORT, knowledgeDate: KNOWLEDGE_DATE,
|
||||
|
||||
Reference in New Issue
Block a user