Spiele
@@ -153,7 +172,12 @@
class="w-full flex items-center justify-center px-4 py-3 text-white font-medium border border-emerald-500 rounded-lg hover:bg-emerald-500/10 transition-colors duration-200"
>
Anmelden
@@ -162,16 +186,25 @@
class="w-full flex items-center justify-center px-4 py-3 bg-emerald-600 text-white font-medium rounded-lg hover:bg-emerald-500 transition-colors duration-200"
>
Registrieren
}
@if (isLoggedIn()) {
-
-
+
@@ -181,7 +214,12 @@
class="w-full flex items-center justify-center px-4 py-3 bg-emerald-600 text-white font-medium rounded-lg hover:bg-emerald-500 transition-colors duration-200"
>
Einzahlen
@@ -191,8 +229,13 @@
class="w-full flex items-center justify-center px-4 py-3 bg-slate-700 text-white font-medium rounded-lg hover:bg-slate-600 border border-slate-600 transition-colors duration-200"
>
+
+
Transaktionen
@@ -201,7 +244,12 @@
class="w-full flex items-center justify-center px-4 py-3 text-red-400 font-medium border border-red-500/50 rounded-lg hover:bg-red-500/10 transition-colors duration-200"
>
Abmelden
diff --git a/frontend/src/app/shared/components/navbar/navbar.component.ts b/frontend/src/app/shared/components/navbar/navbar.component.ts
index 987f13f..2d17ca5 100644
--- a/frontend/src/app/shared/components/navbar/navbar.component.ts
+++ b/frontend/src/app/shared/components/navbar/navbar.component.ts
@@ -10,12 +10,10 @@ import {
} from '@angular/core';
import { RouterModule } from '@angular/router';
import { AuthService } from '@service/auth.service';
-import {Observable, Subscription} from 'rxjs';
+import { Subscription } from 'rxjs';
import { AnimatedNumberComponent } from '@blackjack/components/animated-number/animated-number.component';
-import {DepositComponent} from "../../../feature/deposit/deposit.component";
-import {TransactionHistoryComponent} from "../../../feature/transaction-history/transaction-history.component";
-import {TransactionData} from "../../../model/TransactionData";
-import {TransactionService} from "@service/transaction.service";
+import { DepositComponent } from '../../../feature/deposit/deposit.component';
+import { TransactionHistoryComponent } from '../../../feature/transaction-history/transaction-history.component';
@Component({
selector: 'app-navbar',
From b2f80dedf26f01fc7db4666b8793ba32eced8d94 Mon Sep 17 00:00:00 2001
From: Phan Huy Tran
Date: Wed, 4 Jun 2025 11:05:21 +0200
Subject: [PATCH 08/11] feat: adjust game grid
---
.../src/app/feature/home/home.component.html | 50 +------------------
1 file changed, 1 insertion(+), 49 deletions(-)
diff --git a/frontend/src/app/feature/home/home.component.html b/frontend/src/app/feature/home/home.component.html
index b0b77d3..54f9e7a 100644
--- a/frontend/src/app/feature/home/home.component.html
+++ b/frontend/src/app/feature/home/home.component.html
@@ -4,7 +4,7 @@
-
+
Alle Spiele
@@ -43,53 +43,5 @@
-
-
-
-
Konto
-
-
-
-
-
-
-
-
-
-
-
-
Letzte Transaktionen
-
-
-
-
{{ transaction.status }}
-
- {{ transaction.createdAt | date: 'd.m.y H:m' }}
-
-
-
0 ? 'text-emerald' : 'text-accent-red'">
- {{ transaction.amount | currency: 'EUR' }}
-
-
-
-
-
From 06f2ae5d86c2f62b7e8c54de54fee7521f9adfbc Mon Sep 17 00:00:00 2001
From: Phan Huy Tran
Date: Wed, 4 Jun 2025 11:17:36 +0200
Subject: [PATCH 09/11] feat: improve game grid
---
.../src/app/feature/home/home.component.html | 60 ++++++++++++++-----
frontend/src/styles.css | 6 +-
2 files changed, 49 insertions(+), 17 deletions(-)
diff --git a/frontend/src/app/feature/home/home.component.html b/frontend/src/app/feature/home/home.component.html
index 54f9e7a..c195acf 100644
--- a/frontend/src/app/feature/home/home.component.html
+++ b/frontend/src/app/feature/home/home.component.html
@@ -18,24 +18,52 @@