diff --git a/chatbot.js b/chatbot.js index 35f4df7..db8dc3b 100644 --- a/chatbot.js +++ b/chatbot.js @@ -25,7 +25,7 @@ let DATA_DIR = null; let chain = null; const MODEL = process.env.OPENROUTER_MODEL || 'deepseek/deepseek-v4-flash:nitro'; const CONTRACT = '0x26Bdc556b94399bEdd69ae3ACA5aA6c54D946e8b'; -const KNOWLEDGE_DATE = '2026-10-30'; // the day the CANNED answers and FACTS below were last checked against the site +const KNOWLEDGE_DATE = '2026-11-01'; // the day the CANNED answers and FACTS below were last checked against the site function init(opts) { if (opts && typeof opts.refuelOn === 'function') REFUEL_ON = opts.refuelOn; DATA_DIR = opts.dataDir; chain = opts.chain; return kb.init({ dataDir: DATA_DIR, seeds: seeds() }); } @@ -103,6 +103,9 @@ const CANNED = [ { id: 'audiences', title: 'Audiences and retargeting', q: ['How does retargeting work?', 'What is the pixel?', 'Can I show ads only to my visitors?'], tags: ['audiences', 'retargeting', 'pixel'], re: /(audience|retarget|pixel|p\.js|my visitors|show only to|never show to)/i, a: 'Audiences is first-party retargeting. Everyone who views your LinkSpin pages or your zones lands in "My visitors" for 30 days with no setup, and for any other site you control you paste a small pixel tag (/p.js). Then, on any banner or text campaign, choose "show only to" or "never show to" an audience. The match uses a LinkSpin cookie with a 24-hour fallback where browsers block cross-site cookies, and nothing personal is stored. It lives on the Zones screen.' }, + { id: 'themes', title: 'Light and dark themes', q: ['Is there a dark mode?', 'How do I switch to the light theme?'], tags: ['theme', 'dark mode', 'light mode', 'appearance', 'accessibility'], + re: /(dark ?mode|light ?mode|dark theme|light theme|night mode|themes?|appearance|too bright|too dark|high contrast)/i, + 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.' },