feat(navbar): add current user balance display in navbar
This commit is contained in:
parent
63db07b6ae
commit
564601f7bc
3 changed files with 22 additions and 1 deletions
|
@ -10,7 +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>
|
||||
@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