feat: restyle navbar #284

Merged
ptran merged 6 commits from homepage into main 2025-06-04 10:23:17 +00:00
2 changed files with 10 additions and 10 deletions
Showing only changes of commit 23710a0553 - Show all commits

View file

@ -14,7 +14,7 @@
routerLink="/home" routerLink="/home"
class="flex items-center px-4 py-2 text-white/90 hover:text-white font-medium rounded-lg hover:bg-white/10 transition-colors duration-200" class="flex items-center px-4 py-2 text-white/90 hover:text-white font-medium rounded-lg hover:bg-white/10 transition-colors duration-200"
> >
<img class="mr-2 w-4 h-4" src="assets/games.svg" alt="gamess"> <img class="mr-2 w-4 h-4" src="assets/games.svg" alt="gamess" />
Spiele Spiele
</a> </a>
</div> </div>
@ -69,7 +69,7 @@
class="flex items-center px-4 py-2 bg-emerald-600 text-white font-medium rounded-lg hover:bg-emerald-500 transition-colors duration-200" class="flex items-center px-4 py-2 bg-emerald-600 text-white font-medium rounded-lg hover:bg-emerald-500 transition-colors duration-200"
(click)="openDepositModal()" (click)="openDepositModal()"
> >
<img class="mr-2 w-3 h-3" src="assets/deposit.svg" alt="deposits"> <img class="mr-2 w-3 h-3" src="assets/deposit.svg" alt="deposits" />
Einzahlen Einzahlen
</button> </button>
@ -82,7 +82,7 @@
class="flex items-center px-4 py-2 bg-slate-700 text-white font-medium rounded-lg hover:bg-slate-600 border border-slate-600 transition-colors duration-200" class="flex items-center px-4 py-2 bg-slate-700 text-white font-medium rounded-lg hover:bg-slate-600 border border-slate-600 transition-colors duration-200"
(click)="openTransactionModal()" (click)="openTransactionModal()"
> >
<img class="mr-2 w-4 h-4" src="assets/transaction.svg" alt="transactions"> <img class="mr-2 w-4 h-4" src="assets/transaction.svg" alt="transactions" />
Transaktionen Transaktionen
</button> </button>
@ -151,7 +151,7 @@
routerLink="/home" routerLink="/home"
class="flex items-center px-4 py-3 text-white/90 hover:text-white hover:bg-white/10 rounded-lg transition-colors duration-200" class="flex items-center px-4 py-3 text-white/90 hover:text-white hover:bg-white/10 rounded-lg transition-colors duration-200"
> >
<img class="mr-2 w-4 h-4" src="assets/games.svg" alt="gamess"> <img class="mr-2 w-4 h-4" src="assets/games.svg" alt="gamess" />
Spiele Spiele
</a> </a>

View file

@ -8,12 +8,12 @@ import {
Output, Output,
signal, signal,
} from '@angular/core'; } from '@angular/core';
import {RouterModule} from '@angular/router'; import { RouterModule } from '@angular/router';
import {AuthService} from '@service/auth.service'; import { AuthService } from '@service/auth.service';
import {Subscription} from 'rxjs'; import { Subscription } from 'rxjs';
import {AnimatedNumberComponent} from '@blackjack/components/animated-number/animated-number.component'; import { AnimatedNumberComponent } from '@blackjack/components/animated-number/animated-number.component';
import {DepositComponent} from '../../../feature/deposit/deposit.component'; import { DepositComponent } from '../../../feature/deposit/deposit.component';
import {TransactionHistoryComponent} from '../../../feature/transaction-history/transaction-history.component'; import { TransactionHistoryComponent } from '../../../feature/transaction-history/transaction-history.component';
@Component({ @Component({
selector: 'app-navbar', selector: 'app-navbar',