diff --git a/src/lib/components/Web3Dialog.svelte b/src/lib/components/Web3Dialog.svelte index 179ddfb..0dd5ebe 100644 --- a/src/lib/components/Web3Dialog.svelte +++ b/src/lib/components/Web3Dialog.svelte @@ -148,81 +148,86 @@ group {:else} - {#each badges as badge} -
-
- -
-
- {#if badge.shortname}
{badge.shortname}
{/if} -
- {badge.name} +
+ {#each badges as badge} +
+
+
-
- Price: €{data.config.ticketBasePrice - - data.config.ticketBasePrice * (badge.discount / 100)} - ({badge.discount}% discount) -
- {#if connected && userBadges} -
- {#if claimed[badge.id]} - {#if claimed[badge.id].voucher} - Your personal voucher: {claimed[badge.id].voucher} - - {:else} - {claimed[badge.id].text || 'Please sign message in your wallet ..'} - {/if} - {:else if userBadges.badges[badge.id]?.eligible} - - {:else} - - {/if} +
+ {#if badge.shortname}
{badge.shortname}
{/if} + - {/if} - {#if badge.text} -
{badge.text}
- {/if} +
+ Ticket: €{data.config.ticketBasePrice - + data.config.ticketBasePrice * (badge.discount / 100)} + ({badge.discount}% discount) +
+ {#if connected && userBadges} +
+ {#if claimed[badge.id]} + {#if claimed[badge.id].voucher} + Your personal voucher: {claimed[badge.id].voucher} + + {:else} + {claimed[badge.id].text || 'Please sign message in your wallet ..'} + {/if} + {:else if userBadges.badges[badge.id]?.eligible} + + {:else} + + {/if} +
+ {/if} + {#if badge.text} +
{badge.text}
+ {/if} +
-
- {/each} + {/each} +
{/if}
-
+
Other discounts (via form)