aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.js')
-rw-r--r--src/app.js15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/app.js b/src/app.js
index e59b1bd..a017841 100644
--- a/src/app.js
+++ b/src/app.js
@@ -73,8 +73,21 @@ function h(tag, attrs = {}, ...children) {
}
const root = document.getElementById('app');
+function footer() {
+ return h(
+ 'div',
+ { class: 'footer small muted center' },
+ 'made with ',
+ h('span', { style: 'color:#e25555' }, '♥'),
+ ' by ',
+ h('a', { href: 'https://adamsoltys.com', target: '_blank', rel: 'noopener' }, 'Adam Soltys'),
+ h('span', { class: 'faint' }, ' · '),
+ h('a', { href: 'https://github.com/asoltys/cold', target: '_blank', rel: 'noopener' }, 'source available on GitHub')
+ );
+}
+
function render() {
- root.replaceChildren(ui.screen === 'wallet' ? walletScreen() : unlockScreen());
+ root.replaceChildren(ui.screen === 'wallet' ? walletScreen() : unlockScreen(), footer());
}
wallet.subscribe(render);