Training: Wallets and buying POL guide (/wallets), guide link on Buy packages, chatbot answers

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-09-10 17:20:31 -05:00
parent 496133b99e
commit f7c840dee4
5 changed files with 133 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
// Wallets + buying POL guide: members only.
(async function () {
try { await IAP.renderNav('training'); } catch (e) {}
let me = null;
try { me = await (await fetch('/api/me')).json(); } catch (e) {}
const signedIn = !!(me && me.signedIn && me.email);
document.getElementById('gate').style.display = signedIn ? 'none' : 'block';
document.getElementById('body').style.display = signedIn ? 'block' : 'none';
})();