aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/InvoiceTypes.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-12-19 14:12:56 -0800
committerAdam Soltys <[email protected]>2024-12-19 14:13:32 -0800
commit5c46fe3126d40f2798ed5bb106c8a0e560b27d86 (patch)
tree4aea391a7e9c1327c513f8911f8b20dc3a9b46f4 /src/components/InvoiceTypes.svelte
parentdac37fd34b2faea3586094c0cf1d8b55b1574d7a (diff)
downloadcoinos-ui-5c46fe3126d40f2798ed5bb106c8a0e560b27d86.tar.gz
coinos-ui-5c46fe3126d40f2798ed5bb106c8a0e560b27d86.zip
bolt 12
Diffstat (limited to 'src/components/InvoiceTypes.svelte')
-rw-r--r--src/components/InvoiceTypes.svelte34
1 files changed, 15 insertions, 19 deletions
diff --git a/src/components/InvoiceTypes.svelte b/src/components/InvoiceTypes.svelte
index 67039bdd..a0a1fc12 100644
--- a/src/components/InvoiceTypes.svelte
+++ b/src/components/InvoiceTypes.svelte
@@ -24,25 +24,6 @@
<div class="my-auto text-lg">Lightning</div>
</button>
- <!-- <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}
@@ -94,6 +75,21 @@
</button>
</div>
+ <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>
+
{#if type === types.liquid}
<div class="flex justify-center">
<div class="my-auto text-xl text-center text-secondary">