From 65064e2bb0eefb90c3585bf49fe7a5c038da6454 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 16 Aug 2026 17:00:28 -0700 Subject: Staging wears its name on the logo and deals in play money: HAL_TARGET=staging stamps the brand, renames the PWA, and starts fresh wallets on Mutinynet — one master, no diverging branch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01JtaatFfAbx91Nh3xqKVqKz --- src/app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/app.js') diff --git a/src/app.js b/src/app.js index ecb25bc..191b8fe 100644 --- a/src/app.js +++ b/src/app.js @@ -12,6 +12,7 @@ import { nip98Header } from './nostr-login.js'; import { NOSTR_MARK } from './features/nostrlogin.js'; import { scanQr } from './scan.js'; import { dataSources, getSource, setSource, getNetwork, setNetwork, NETWORKS } from './api.js'; +import { STAGING } from './build-flags.js'; import { buildFeatures } from './features/index.js'; import { t, LANGS, getLang, setLang, isRTL, loadLocale } from './i18n.js'; import { @@ -1848,7 +1849,8 @@ function brandHeader(withLock) { { class: 'row between' }, h( 'div', - { class: 'brand', style: 'cursor:pointer', title: t('home'), onClick: goHome }, + { class: 'brand' + (STAGING ? ' staging' : ''), style: 'cursor:pointer', title: t('home'), onClick: goHome }, + STAGING ? h('span', { class: 'staging-badge', title: 'staging build — new wallets start on Mutinynet' }, 'staging') : null, h('div', { class: 'logo-full', 'aria-label': 'coinos', role: 'img', html: '' }) ), withLock -- cgit v1.2.3