style(blackjack): format code for better readability
This commit is contained in:
parent
acdbea5a99
commit
deac128935
9 changed files with 139 additions and 121 deletions
|
@ -5,17 +5,21 @@
|
|||
<div class="lg:col-span-3 space-y-6 flex flex-col gap-4">
|
||||
<app-dealer-hand [cards]="dealerCards()"></app-dealer-hand>
|
||||
<app-player-hand [cards]="playerCards()"></app-player-hand>
|
||||
|
||||
|
||||
<!-- Action message indicator -->
|
||||
@if (isActionInProgress()) {
|
||||
<div class="flex justify-center">
|
||||
<div class="card p-4 flex items-center gap-3 animate-pulse bg-deep-blue-light border border-deep-blue-light/50">
|
||||
<div class="w-5 h-5 rounded-full border-2 border-white border-t-transparent animate-spin"></div>
|
||||
<div
|
||||
class="card p-4 flex items-center gap-3 animate-pulse bg-deep-blue-light border border-deep-blue-light/50"
|
||||
>
|
||||
<div
|
||||
class="w-5 h-5 rounded-full border-2 border-white border-t-transparent animate-spin"
|
||||
></div>
|
||||
<span>{{ currentAction() }}</span>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
||||
|
||||
@if (gameInProgress()) {
|
||||
<app-game-controls
|
||||
[playerCards]="playerCards()"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue