diff options
| author | Adam Soltys <[email protected]> | 2026-06-24 08:28:13 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-24 08:28:13 -0700 |
| commit | 05b951e88197c3125e06848702333793b606605d (patch) | |
| tree | ce039b2d6c325e628d2a6ed12c2534b340ae6121 /src/app.js | |
| parent | 09647e5ed33aa093fecbd93fc100155ce6097c67 (diff) | |
| download | coinosv3-05b951e88197c3125e06848702333793b606605d.tar.gz coinosv3-05b951e88197c3125e06848702333793b606605d.zip | |
Add Hal Finney tribute line to How it works
A footnote at the bottom: "The name Hal Wallet is a tribute to
legendary cypherpunk and Bitcoin pioneer, Hal Finney (1956–2014)",
with his name linking to his Wikipedia article. The contextual nod,
rather than leaning on his name up front.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/app.js')
| -rw-r--r-- | src/app.js | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -271,7 +271,8 @@ function howItWorksScreen() { para('hiwBasics2'), para('hiwBasics3'), para('hiwBasics4'), - para('hiwBasics5') + para('hiwBasics5'), + h('p', { class: 'small muted hiw-tribute', style: 'margin:0' }, ...linkify(t('hiwTribute'))) ), h('button', { class: 'btn-block', onClick: back }, t('back')) ); @@ -279,7 +280,10 @@ function howItWorksScreen() { // Turn known tokens (e.g. mempool.space) into links within a plain string, // returning an array of text + anchor nodes. Keeps i18n strings link-free. -const HIW_LINKS = [['mempool.space', 'https://mempool.space']]; +const HIW_LINKS = [ + ['mempool.space', 'https://mempool.space'], + ['Hal Finney', 'https://en.wikipedia.org/wiki/Hal_Finney_(computer_scientist)'], +]; function linkify(text) { const esc = (s) => s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); const re = new RegExp('(' + HIW_LINKS.map(([tok]) => esc(tok)).join('|') + ')', 'g'); |
