aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/InvoiceTypes.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-12-18 13:42:22 -0800
committerAdam Soltys <[email protected]>2024-12-18 13:42:40 -0800
commit5c37f87a58ef5d84a183cb042758a25a4b9cc40d (patch)
tree2b143684692dbff3b9c9a885f18aa08968635e44 /src/components/InvoiceTypes.svelte
parentefc288bc73f5a966467a6cf08a10966caff04f57 (diff)
downloadcoinos-ui-5c37f87a58ef5d84a183cb042758a25a4b9cc40d.tar.gz
coinos-ui-5c37f87a58ef5d84a183cb042758a25a4b9cc40d.zip
printer page
Diffstat (limited to 'src/components/InvoiceTypes.svelte')
-rw-r--r--src/components/InvoiceTypes.svelte19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/components/InvoiceTypes.svelte b/src/components/InvoiceTypes.svelte
index 872dd1ed..47a29e62 100644
--- a/src/components/InvoiceTypes.svelte
+++ b/src/components/InvoiceTypes.svelte
@@ -26,6 +26,25 @@
<button
class="btn flex-nowrap"
+ class:bg-base-300={type === types.bolt12}
+ class:text-secondary={type === types.bolt12}
+ onclick={() => setType(types.bolt12)}
+ >
+ <div
+ class="bg-black rounded-full w-8 h-8 items-center justify-center flex"
+ >
+ <div class="m-auto">
+ <iconify-icon
+ icon="ph:lightning-fill"
+ class="text-yellow-300 text-2xl"
+ ></iconify-icon>
+ </div>
+ </div>
+ <div class="my-auto text-lg">Bolt 12</div>
+ </button>
+
+ <button
+ class="btn flex-nowrap"
class:bg-base-300={type === types.ecash}
class:text-secondary={type === types.ecash}
onclick={() => setType(types.ecash)}