aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
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
commitacdd5cfe46903da7279534d81707262febe8c2f5 (patch)
tree2b143684692dbff3b9c9a885f18aa08968635e44 /src/components
parentf4293890dc01ff6970f003bc47926b2e07c896b1 (diff)
downloadcoinos-ui-acdd5cfe46903da7279534d81707262febe8c2f5.tar.gz
coinos-ui-acdd5cfe46903da7279534d81707262febe8c2f5.zip
printer page
Diffstat (limited to 'src/components')
-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)}