mirror of
https://github.com/web3privacy/w3ps1.git
synced 2024-10-15 16:26:26 +02:00
Fix badge links
This commit is contained in:
parent
bb3194dce7
commit
a1b1eeb409
1 changed files with 2 additions and 2 deletions
|
@ -134,8 +134,8 @@
|
||||||
<div class="w-28 lg:w-40 mr-6 inline-block xl:block"><img src={badge.img} class="w-full {connected && userBadges && userBadges.badges[badge.id]?.eligible ? '' : 'grayscale'} badge-image" /></div>
|
<div class="w-28 lg:w-40 mr-6 inline-block xl:block"><img src={badge.img} class="w-full {connected && userBadges && userBadges.badges[badge.id]?.eligible ? '' : 'grayscale'} badge-image" /></div>
|
||||||
<div class="lg:text-left w-full">
|
<div class="lg:text-left w-full">
|
||||||
{#if badge.shortname}<div class="uppercase font-bold">{badge.shortname}</div>{/if}
|
{#if badge.shortname}<div class="uppercase font-bold">{badge.shortname}</div>{/if}
|
||||||
<div class="{badge.shortname ? '' : 'font-bold'} animate-section">
|
<div class="{badge.shortname ? '' : 'font-bold'}">
|
||||||
<a href={badge.url} target="_blank" class="external">{badge.name}</a>
|
<a href={badge.url} target="_blank" class="external animate-section">{badge.name}</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-xl">Price: <span class="font-bold">€{data.config.ticketBasePrice - data.config.ticketBasePrice*(badge.discount/100)}</span> ({badge.discount}% discount)</div>
|
<div class="text-xl">Price: <span class="font-bold">€{data.config.ticketBasePrice - data.config.ticketBasePrice*(badge.discount/100)}</span> ({badge.discount}% discount)</div>
|
||||||
{#if connected && userBadges}
|
{#if connected && userBadges}
|
||||||
|
|
Loading…
Reference in a new issue