aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-18 09:20:17 -0700
committerAdam Soltys <[email protected]>2026-08-18 09:20:17 -0700
commit8e0bf7dc840ecdf6ba991c5e63d4c8304419342d (patch)
treecc1159143c47ba2d5a8520ea3ac44f52d1595292 /src/app.js
parentca8e5590994eec3c5c4e05eac59f3906ca1a2cdc (diff)
downloadcoinosv3-8e0bf7dc840ecdf6ba991c5e63d4c8304419342d.tar.gz
coinosv3-8e0bf7dc840ecdf6ba991c5e63d4c8304419342d.zip
The footer says what it stamps: the word commit, the short hash git actually knows, and a link to it — the build token stays where it belongs, inside the service worker
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01JtaatFfAbx91Nh3xqKVqKz
Diffstat (limited to 'src/app.js')
-rw-r--r--src/app.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/app.js b/src/app.js
index 9c793ab..d97b39f 100644
--- a/src/app.js
+++ b/src/app.js
@@ -230,9 +230,10 @@ function footer() {
h('span', { class: 'faint' }, ' · '),
t('footerSourceOn') + ' ',
h('a', { href: 'https://github.com/coinos/coinosv3', target: '_blank', rel: 'noopener' }, 'GitHub'),
- // The build stamp settles every "is my PWA fresh?" question at a glance
- // ({{VERSION}} is filled at build time, like the service worker's).
- h('span', { class: 'faint' }, ' · {{VERSION}}')
+ // The commit stamp settles "is my PWA fresh?" AND "what code is this?"
+ // in one glance — filled at build time, links to the commit on GitHub.
+ h('span', { class: 'faint' }, ' · '),
+ h('a', { class: 'faint', href: 'https://github.com/coinos/coinosv3/commit/{{COMMIT}}', target: '_blank', rel: 'noopener' }, 'commit {{COMMIT}}')
),
h(
'div',