aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-04 02:01:05 -0700
committerAdam Soltys <[email protected]>2026-08-04 02:01:05 -0700
commit7bc455db36c865c8373c35fdaeb0496297a74db0 (patch)
tree5fefc4410a0211da0670625a0252c2add75383a0
parent215f51526a3d8d0c185887674bd9532d83ea3564 (diff)
downloadcoinosv3-7bc455db36c865c8373c35fdaeb0496297a74db0.tar.gz
coinosv3-7bc455db36c865c8373c35fdaeb0496297a74db0.zip
The logo rides along on every wizard step
Co-Authored-By: Claude Fable 5 <[email protected]>
-rw-r--r--src/app.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/app.js b/src/app.js
index 38d1e6e..7146670 100644
--- a/src/app.js
+++ b/src/app.js
@@ -2191,7 +2191,11 @@ function onboardScreen() {
if (addr && addr !== o.enterAddr && !/^npub1/.test(addr)) o.step = 'avatar';
}
try { localStorage.setItem(ONB_STEP_KEY, o.step); } catch {}
- const page = (kids) => h('div', { class: 'col onb', style: 'gap:20px' }, ...kids);
+ // Every step shows the logo (welcome renders it big as the hero instead) —
+ // with a wallet already minted it doubles as the way out, via goHome.
+ const page = (kids) => h('div', { class: 'col onb', style: 'gap:20px' },
+ o.step !== 'welcome' ? brandHeader(false) : null,
+ ...kids);
const title = (txt) => h('h2', { class: 'onb-title' }, txt);
if (o.step === 'legacy') {