feat: adjust game grid
This commit is contained in:
parent
9a7049d6ab
commit
ada291b640
1 changed files with 1 additions and 49 deletions
|
@ -4,7 +4,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="grid grid-cols-1 lg:grid-cols-4 gap-6">
|
<div class="grid grid-cols-1 lg:grid-cols-4 gap-6">
|
||||||
<div class="lg:col-span-3">
|
<div class="lg:col-span-4">
|
||||||
<div class="flex justify-between items-center mb-6">
|
<div class="flex justify-between items-center mb-6">
|
||||||
<h3 class="section-heading text-2xl">Alle Spiele</h3>
|
<h3 class="section-heading text-2xl">Alle Spiele</h3>
|
||||||
<div class="flex space-x-2">
|
<div class="flex space-x-2">
|
||||||
|
@ -43,53 +43,5 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="lg:col-span-1 space-y-6">
|
|
||||||
<div class="card p-4">
|
|
||||||
<h3 class="section-heading text-xl mb-4">Konto</h3>
|
|
||||||
<div class="space-y-4">
|
|
||||||
<button class="button-primary w-full py-2" (click)="openDepositModal()">Einzahlen</button>
|
|
||||||
<app-deposit
|
|
||||||
[isOpen]="isDepositModalOpen"
|
|
||||||
(closeModalEmitter)="closeDepositModal()"
|
|
||||||
></app-deposit>
|
|
||||||
<button
|
|
||||||
class="bg-deep-blue-light hover:bg-deep-blue-contrast w-full py-2 rounded"
|
|
||||||
(click)="openTransactionModal()"
|
|
||||||
>
|
|
||||||
Transaktionen
|
|
||||||
</button>
|
|
||||||
<app-transaction-history
|
|
||||||
[isOpen]="isTransactionModalOpen"
|
|
||||||
(closeEventEmitter)="closeTransactionModal()"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<app-confirmation
|
|
||||||
[successful]="isDepositSuccessful"
|
|
||||||
(closeConfirmation)="closeDepositConfirmationModal()"
|
|
||||||
></app-confirmation>
|
|
||||||
|
|
||||||
<div class="card p-4">
|
|
||||||
<h3 class="section-heading text-xl mb-4">Letzte Transaktionen</h3>
|
|
||||||
<div class="space-y-3">
|
|
||||||
<div
|
|
||||||
class="flex justify-between items-center"
|
|
||||||
*ngFor="let transaction of (recentTransactionData | async)?.transactions"
|
|
||||||
>
|
|
||||||
<div>
|
|
||||||
<p class="text-sm font-medium">{{ transaction.status }}</p>
|
|
||||||
<p class="text-xs text-text-secondary">
|
|
||||||
{{ transaction.createdAt | date: 'd.m.y H:m' }}
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<span [class]="transaction.amount > 0 ? 'text-emerald' : 'text-accent-red'">
|
|
||||||
{{ transaction.amount | currency: 'EUR' }}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in a new issue