Skip to content

Commit

Permalink
show burner button
Browse files Browse the repository at this point in the history
  • Loading branch information
pwrstudio committed May 5, 2024
1 parent 2c7907f commit 41b8a9f
Showing 1 changed file with 14 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,13 @@
$: if ($blockNumber) setBalance()
</script>

{#if balance <= 1000}
<div class="account-kit-balance">
<span>
{Math.round(balance)} gwei
<!-- <button on:click={setBalance}>Balance</button> -->
<button class="top-up" on:click={triggerConnect}> TOP UP </button>
</span>
</div>
{/if}
<div class="account-kit-balance">
<span>
<!-- {Math.round(balance)} gwei -->
<!-- <button on:click={setBalance}>Balance</button> -->
<button class="top-up" on:click={triggerConnect}>BURNER</button>
</span>
</div>

<style lang="scss">
.account-kit-balance {
Expand All @@ -93,10 +91,15 @@
}
.top-up {
background: var(--white);
background: var(--color-tutorial);
color: var(--black);
border: none;
padding: 3px;
padding: 4px;
cursor: pointer;
font-size: var(--font-size-small);
&:hover {
background: var(--foreground);
}
}
</style>

0 comments on commit 41b8a9f

Please sign in to comment.