diff options
| author | Adam Soltys <[email protected]> | 2026-10-09 00:24:25 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-10-09 00:24:25 -0700 |
| commit | b6819d91422adc10ea71ea5174c8e3e2badd1340 (patch) | |
| tree | 1667f5f3a36a2e661f9dbbc9178f716a0c234080 /src/app.js | |
| parent | 02a6468807c6f4f34f56b2bafb091c1b6ff25f0e (diff) | |
| download | coinosv3-b6819d91422adc10ea71ea5174c8e3e2badd1340.tar.gz coinosv3-b6819d91422adc10ea71ea5174c8e3e2badd1340.zip | |
Footer: "Show your support" beside How it works opens the hat shop from any page (shown once a wallet is open, since the shop pays from it)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/app.js')
| -rw-r--r-- | src/app.js | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -381,6 +381,11 @@ function footer() { 'div', { style: 'margin-top:4px' }, h('button', { class: 'linklike', style: 'font-weight:400', onClick: openHowItWorks }, t('howItWorks')), + // the hat shop: needs a wallet to pay from, so only once one is open + activeAccount() && FEATURES.some((f) => f.openHatShop) + ? h('span', {}, h('span', { class: 'faint' }, ' ยท '), + h('button', { class: 'linklike', style: 'font-weight:400', onClick: () => { clearFeatureNav(); ui.screen = 'wallet'; featureHook('openHatShop'); } }, t('footerSupport'))) + : null, // Chrome no longer prompts to install on its own โ surface our own link // once it reports the app is installable. We render from a persisted flag // (not the live event) so the link is present on the first paint after a |
