Make every dollar figure evergreen via the live POL price

The config API now carries the hourly-cached polUsd; the start page,
training callout, join-page shortfall, and chatbot (canned + AI
prompt) all compute entry dollars live instead of quoting stale
numbers. Post 6/7 copy drops hard "$27 = entry" claims for
pocket-change framing (the video's $27 stays - it describes weekly
wasted spending, which is evergreen).
This commit is contained in:
martbost
2026-08-22 04:56:25 -05:00
parent 9a1d8dbbf7
commit 950d412738
8 changed files with 33 additions and 15 deletions
+6
View File
@@ -6,3 +6,9 @@
if(c.siteName){document.title=`Training | ${c.siteName}`;const bn=document.getElementById('brandName');if(bn)bn.textContent=c.siteName}
}catch(e){}
})();
// live dollar note in the card-buy callout — computed, never hand-written
fetch('/api/public/config').then(function(r){return r.json()}).then(function(c){
var el=document.getElementById('fundUsdNote');
if(el&&c.polUsd>0){var pol=(c.premiumEntryPol||362)+23;el.textContent=' — about $'+Math.round(pol*c.polUsd)+' at today’s price';}
}).catch(function(){});