Site assistant (Marty 2026-11-15): chat widget in the 5xYourTeam draft-night look on every page, CANNED + FACTS from this repo's code (position $10 one time, 5 picks, sponsor 25% + L2-5 5% + pot 10% + company 45%, pass-up 20 places, Monday 7 PM Central draft, earned order, 3-day return, 48 h hold, 10 open picks, no contact data), retrieval over the shared network knowledge base on the hub (netkb.js, home entries boosted, another site named = its answer), reasoning off, account problems hand off to network support. chatbot.test 187, unit 62/62, smoke 160/160, iap-tank 35/35
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -8,7 +8,7 @@ import path from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
const PUB = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..', 'public');
|
||||
const SITE = 'https://5xyourteam.com';
|
||||
const V = { css: 3, js: 3 };
|
||||
const V = { css: 3, js: 3, chat: 1 }; // chat: the site assistant widget (2026-11-15)
|
||||
const F = { co: 'TrustClickz', addr: '615 Green Valley Drive, Moody, AL 35004', updated: 'November 15, 2026', usd: 10, picks: 5, rounds: 5, returnDays: 3, maxOpen: 10 };
|
||||
const FONTS = 'https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap';
|
||||
const NOTE = 'A position buys a draft spot and coaching tools, not income. Nothing is promised.';
|
||||
@@ -41,7 +41,7 @@ ${o.noindex ? '<meta name="robots" content="noindex">' : `<link rel="canonical"
|
||||
<body${o.data ? ' data-page="' + o.data + '"' : ''}>
|
||||
`;
|
||||
}
|
||||
const tail = scripts => ['common.js'].concat(scripts).map(s => '<script src="/assets/' + s + '?v=' + V.js + '"></script>').join('\n') + '\n</body>\n</html>\n';
|
||||
const tail = scripts => ['common.js'].concat(scripts).map(s => '<script src="/assets/' + s + '?v=' + V.js + '"></script>').join('\n') + '\n<script src="/assets/chat.js?v=' + V.chat + '" defer></script>' + '\n</body>\n</html>\n';
|
||||
const page = (file, o, body, scripts) => fs.writeFileSync(path.join(PUB, file), head(o) + body + tail(scripts));
|
||||
const STATUS = '<p id="status" class="note" hidden></p>';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user