diff options
| author | Adam Soltys <[email protected]> | 2026-08-03 07:57:05 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-03 07:57:05 -0700 |
| commit | a5525c3291b325e17012bc62feb503bbdd519469 (patch) | |
| tree | 2bb5d595ded6214c9155ccad04e308e8a710dae5 /src/app.js | |
| parent | 4dd17bed39be69de622677b36e784a5276ce6ff4 (diff) | |
| download | coinosv3-a5525c3291b325e17012bc62feb503bbdd519469.tar.gz coinosv3-a5525c3291b325e17012bc62feb503bbdd519469.zip | |
Onboarding: the nostr mark heads the nostr steps
72px, centered above the question (and the sign-in step), with a purple
glow and a slow float — the one place in the flow that isn't the coinos
brand, so it should look like nostr.
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi
Diffstat (limited to 'src/app.js')
| -rw-r--r-- | src/app.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -8,6 +8,7 @@ import { Wallet, newMnemonic, isValidMnemonic, accountXpubFor, cacheKeyFor, utxo import { qrSvg } from './qr.js'; import { makeSearcher, resultRows, searchable, punkUrl } from './recipient-search.js'; import { npubOf } from './nostr.js'; +import { NOSTR_MARK } from './features/nostrlogin.js'; import { scanQr } from './scan.js'; import { dataSources, getSource, setSource, getNetwork, setNetwork, NETWORKS } from './api.js'; import { buildFeatures } from './features/index.js'; @@ -2059,6 +2060,7 @@ function onboardScreen() { } if (o.step === 'nostr') { return page([ + h('div', { class: 'onb-mark', html: NOSTR_MARK }), title(t('onbNostrTitle')), h('p', { class: 'muted', style: 'margin:0' }, t('onbNostrBody')), h('button', { class: 'btn-primary btn-block', style: 'padding:14px', onClick: () => { @@ -2077,6 +2079,7 @@ function onboardScreen() { } if (o.step === 'signin') { return page([ + h('div', { class: 'onb-mark', html: NOSTR_MARK }), title(t('onbSigninTitle')), featureHook('unlockExtra') || h('div', { class: 'notice err' }, 'nostr login unavailable'), h('button', { class: 'linklike small', onClick: () => { o.step = 'nostr'; render(); } }, t('back')), |
