diff options
Diffstat (limited to 'src/components/InvoiceTypes.svelte')
| -rw-r--r-- | src/components/InvoiceTypes.svelte | 34 |
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"> |
