From a5525c3291b325e17012bc62feb503bbdd519469 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 3 Aug 2026 07:57:05 -0700 Subject: Onboarding: the nostr mark heads the nostr steps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi --- src/app.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/app.js') diff --git a/src/app.js b/src/app.js index 67ab086..9264197 100644 --- a/src/app.js +++ b/src/app.js @@ -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')), -- cgit v1.2.3