comfirmation modal for deposit and refactoring
This commit is contained in:
parent
63db07b6ae
commit
caf2794489
8 changed files with 74 additions and 32 deletions
|
@ -12,10 +12,10 @@
|
|||
|
||||
<div class="hidden md:flex items-center space-x-4">
|
||||
@if (!isLoggedIn) {
|
||||
<button (click)="login()" class="button-base px-4 py-1.5">Anmelden</button>
|
||||
<button (click)="login()" class="button-primary px-4 py-1.5">Anmelden</button>
|
||||
}
|
||||
@if (isLoggedIn) {
|
||||
<button (click)="logout()" class="button-base px-4 py-1.5">Abmelden</button>
|
||||
<button (click)="logout()" class="button-primary px-4 py-1.5">Abmelden</button>
|
||||
}
|
||||
</div>
|
||||
|
||||
|
@ -58,10 +58,10 @@
|
|||
<a routerLink="/games" class="nav-mobile-link">Spiele</a>
|
||||
<div class="pt-2 space-y-2">
|
||||
@if (!isLoggedIn) {
|
||||
<button (click)="login()" class="button-base w-full py-1.5">Anmelden</button>
|
||||
<button (click)="login()" class="button-primary w-full py-1.5">Anmelden</button>
|
||||
}
|
||||
@if (isLoggedIn) {
|
||||
<button (click)="logout()" class="button-base w-full py-1.5">Abmelden</button>
|
||||
<button (click)="logout()" class="button-primary w-full py-1.5">Abmelden</button>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue