Explain team referral earnings: 'Earn from your team' section on the landing page (who counts, 10% of each refuel's pool add, paid at the payout line, where to see it) and a how-it-works line under the lobby share link

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-10-01 14:43:31 -05:00
parent 756c16a8b4
commit 50b135d84f
4 changed files with 277 additions and 265 deletions
+12 -10
View File
@@ -1,10 +1,12 @@
(function () {
'use strict';
var $ = function (id) { return document.getElementById(id); };
var n = function (v, d) { return Number(v || 0).toLocaleString('en-US', { maximumFractionDigits: d || 0 }); };
fetch('/api/public/stats').then(function (r) { return r.json(); }).then(function (s) {
$('sPlayers').textContent = n(s.players); $('sRefuels').textContent = n(s.refuels); $('sDrips').textContent = n(s.chapterDrips); $('sPaid').textContent = n(s.polPaid, 3);
if (s.thresholdPol) $('sThreshold').textContent = n(s.thresholdPol, 2);
if (s.refSharePct) $('sRef').textContent = s.refSharePct + ' percent';
}).catch(function () { $('stats').hidden = true; });
})();
(function () {
'use strict';
var $ = function (id) { return document.getElementById(id); };
var n = function (v, d) { return Number(v || 0).toLocaleString('en-US', { maximumFractionDigits: d || 0 }); };
fetch('/api/public/stats').then(function (r) { return r.json(); }).then(function (s) {
$('sPlayers').textContent = n(s.players); $('sRefuels').textContent = n(s.refuels); $('sDrips').textContent = n(s.chapterDrips); $('sPaid').textContent = n(s.polPaid, 3);
if (s.thresholdPol) $('sThreshold').textContent = n(s.thresholdPol, 2);
if (s.refSharePct) $('sRef').textContent = s.refSharePct + ' percent';
document.querySelectorAll('.sRefPct').forEach(function (e) { if (s.refSharePct) e.textContent = s.refSharePct + ' percent'; });
document.querySelectorAll('.sThresh').forEach(function (e) { if (s.thresholdPol) e.textContent = n(s.thresholdPol, 2); });
}).catch(function () { $('stats').hidden = true; });
})();