feat(navbar): update balance display and use signal for state
This commit is contained in:
parent
564601f7bc
commit
454e99f812
2 changed files with 13 additions and 12 deletions
|
@ -10,10 +10,11 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="hidden md:flex items-center space-x-4">
|
||||
<div class="text-white font-bold bg-deep-blue-contrast rounded-full px-4 py-2 text-sm hover:bg-deep-blue-contrast/80 hover:cursor-pointer hover:scale-105 transition-all active:scale-95 select-none duration-300">
|
||||
{{ balance | currency : 'EUR' : 'symbol' : '1.2-2' }}
|
||||
<div
|
||||
class="text-white font-bold bg-deep-blue-contrast rounded-full px-4 py-2 text-sm hover:bg-deep-blue-contrast/80 hover:cursor-pointer hover:scale-105 transition-all active:scale-95 select-none duration-300"
|
||||
>
|
||||
<span>Balance: {{ balance() | currency: 'EUR' : 'symbol' : '1.2-2' }}</span>
|
||||
</div>
|
||||
@if (!isLoggedIn) {
|
||||
<button (click)="login()" class="button-base px-4 py-1.5">Anmelden</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue