83 lines
3.3 KiB
HTML
83 lines
3.3 KiB
HTML
<app-navbar></app-navbar>
|
|
<div class="container mx-auto px-4 py-6 space-y-8">
|
|
<div class="flex justify-between items-center">
|
|
<div class="flex items-center space-x-4">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="grid grid-cols-1 lg:grid-cols-4 gap-6">
|
|
<div class="lg:col-span-3">
|
|
<div class="flex justify-between items-center mb-6">
|
|
<h3 class="section-heading text-2xl">Beliebte Spiele</h3>
|
|
<div class="flex space-x-2">
|
|
<button class="nav-button left-0">
|
|
<span class="material-icons">chevron_left</span>
|
|
</button>
|
|
<button class="nav-button right-0">
|
|
<span class="material-icons">chevron_right</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="slider-container">
|
|
<div class="slider-grid">
|
|
<div class="card group" *ngFor="let game of featuredGames">
|
|
<div class="relative">
|
|
<img [src]="game.image" [alt]="game.name" class="w-full aspect-[4/3] object-cover">
|
|
<div class="absolute inset-0 bg-gradient-to-t from-deep-blue/90 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300">
|
|
<div class="absolute bottom-4 left-4 right-4">
|
|
<h4 class="game-heading">{{game.name}}</h4>
|
|
<button class="button-base w-full py-2">Jetzt Spielen</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mt-8">
|
|
<h3 class="section-heading text-2xl mb-6">Alle Spiele</h3>
|
|
<div class="grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-4">
|
|
<div class="card group" *ngFor="let game of allGames">
|
|
<div class="relative">
|
|
<img [src]="game.image" [alt]="game.name" class="w-full aspect-[4/3] object-cover">
|
|
<div class="absolute inset-0 bg-gradient-to-t from-deep-blue/90 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300">
|
|
<div class="absolute bottom-4 left-4 right-4">
|
|
<h4 class="game-heading">{{game.name}}</h4>
|
|
<button class="button-base w-full py-2">Jetzt Spielen</button>
|
|
</div>
|
|
</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="bg-deep-blue-light hover:bg-deep-blue-contrast w-full py-2 rounded">Transaktionen</button>
|
|
<button class="bg-deep-blue-light hover:bg-deep-blue-contrast w-full py-2 rounded">Kontoeinstellungen</button>
|
|
</div>
|
|
</div>
|
|
|
|
<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 recentTransactions">
|
|
<div>
|
|
<p class="text-sm font-medium">{{transaction.type}}</p>
|
|
<p class="text-xs text-text-secondary">{{transaction.date}}</p>
|
|
</div>
|
|
<span [class]="transaction.amount > 0 ? 'text-emerald' : 'text-accent-red'">
|
|
{{transaction.amount | currency:'EUR'}}
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|