feat(ui): add Lobby and Main Menu Body #38

Merged
Janis merged 7 commits from feat/31-mainmenu-body into main 2025-11-06 09:03:09 +01:00
16 changed files with 474 additions and 145 deletions
Showing only changes of commit 24996bcaa0 - Show all commits

View File

@@ -109,8 +109,22 @@ body {
&:nth-child(7) { animation-delay: 3.5s; }
}
}
#card-slide {
div {
animation: slideIn 0.5s ease-out forwards;
animation-fill-mode: backwards;
&:nth-child(1) { animation-delay: 0.5s; }
&:nth-child(2) { animation-delay: 1s; }
&:nth-child(3) { animation-delay: 1.5s; }
&:nth-child(4) { animation-delay: 2s; }
&:nth-child(5) { animation-delay: 2.5s; }
&:nth-child(6) { animation-delay: 3s; }
&:nth-child(7) { animation-delay: 3.5s; }
}
}
#cardsplayed {
display: flex;
flex-direction: row;

View File

@@ -55,7 +55,7 @@
</div>
<!-- Player Hand at the BOTTOM -->
<div class="row justify-content-center g-2 mt-4">
<div class="row justify-content-center g-2 mt-4" id="card-slide">
@for(i <- player.currentHand().get.cards.indices) {
<div class="col-auto">
<form action="@(routes.IngameController.playCard(gamelobby.id))" method="post" class="m-0 p-0">