feat: UI/UX improvements

This commit is contained in:
Vlad Stan
2022-08-03 13:50:07 +03:00
parent e6b46301df
commit 799fb99661
8 changed files with 601 additions and 542 deletions
@@ -0,0 +1,21 @@
async function payment(path) {
const template = await loadTemplateAsync(path)
Vue.component('payment', {
name: 'payment',
template,
props: ['mempool_endpoint', 'sats_denominated'],
data: function () {
return {}
},
methods: {
satBtc(val, showUnit = true) {
return satOrBtc(val, showUnit, this['sats_denominated'])
}
},
created: async function () {}
})
}