finished homepage skeleton
This commit is contained in:
parent
bbbf0a9473
commit
f5ae0e358c
3 changed files with 20 additions and 11 deletions
|
@ -0,0 +1 @@
|
||||||
|
|
|
@ -3,33 +3,32 @@
|
||||||
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
|
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
|
||||||
<!-- logo goes here -->
|
<!-- logo goes here -->
|
||||||
<div class="flex gap-4">
|
<div class="flex gap-4">
|
||||||
<button (click)="onLogout()" class="px-6 py-2 text-black bg-amber-500 hover:bg-amber-400 rounded-full font-bold transition-all duration-300 hover:shadow-lg hover:shadow-amber-500/20">
|
<button (click)="onLogout()" class="btn-primary">
|
||||||
Ausloggen
|
Ausloggen
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<button (click)="openUserInfo()" class="px-6 py-2 text-black bg-amber-500 hover:bg-amber-400 rounded-full font-bold transition-all duration-300 hover:shadow-lg hover:shadow-amber-500/20">
|
<button (click)="openUserInfo()" class="btn-primary">
|
||||||
Benutzer
|
Benutzer
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- Todo Dropdown für Benutzermenu (Dailytracker) -->
|
|
||||||
</nav>
|
</nav>
|
||||||
<!-- Spiele mit Vorschau, Name und "Jetzt spielen" Button -->
|
|
||||||
<div class="gird grid-col-3">
|
<div class="grid grid-cols-3">
|
||||||
<div class="w-full h-full">
|
<div class="w-1/3 h-1/4">
|
||||||
<p>Spiel Vorschau</p>
|
<p>Spiel Vorschau</p>
|
||||||
<p>Spiel Name</p>
|
<p>Spiel Name</p>
|
||||||
<button type="button" >Jetzt spielen</button>
|
<button type="button" class="btn-primary">Jetzt spielen</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="w-full h-full">
|
<div class="w-1/3 h-1/4">
|
||||||
<p>Spiel Vorschau</p>
|
<p>Spiel Vorschau</p>
|
||||||
<p>Spiel Name</p>
|
<p>Spiel Name</p>
|
||||||
<button type="button" >Jetzt spielen</button>
|
<button type="button" class="btn-primary">Jetzt spielen</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="w-full h-full">
|
<div class="w-1/3 h-1/4">
|
||||||
<p>Spiel Vorschau</p>
|
<p>Spiel Vorschau</p>
|
||||||
<p>Spiel Name</p>
|
<p>Spiel Name</p>
|
||||||
<button type="button" >Jetzt spielen</button>
|
<button type="button" class="btn-primary">Jetzt spielen</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1 +1,10 @@
|
||||||
@import "tailwindcss";
|
@import "tailwindcss";
|
||||||
|
|
||||||
|
|
||||||
|
.btn-primary {
|
||||||
|
@apply px-4 py-2 cursor-pointer relative font-bold rounded-lg transition-all duration-300 ease-out transform-gpu hover:scale-105 will-change-transform bg-gradient-to-r from-emerald-500 to-emerald-400 text-black hover:shadow-xl hover:shadow-emerald-500/20
|
||||||
|
}
|
||||||
|
.btn-secondary {
|
||||||
|
@apply px-4 py-2 cursor-pointer relative font-bold rounded-lg transition-all duration-300 ease-out transform-gpu hover:scale-105 will-change-transform bg-white/10 text-white hover:bg-white/20
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue