-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fdf031a
commit 6b283a3
Showing
5 changed files
with
38 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import type { GameModel } from '../../../database/models/game.model' | ||
|
||
export async function GameScore(props: { game: GameModel }) { | ||
return ( | ||
<div id={`game-${props.game.number}-score`} class="grid grid-cols-2 gap-[4px]"> | ||
<div class="score-header blu"> | ||
<span class="uppercase">blu</span> | ||
<span aria-label="blu team score">{props.game.score?.blu ?? ''}</span> | ||
</div> | ||
|
||
<div class="score-header red"> | ||
<span class="uppercase">red</span> | ||
<span aria-label="red team score">{props.game.score?.red ?? ''}</span> | ||
</div> | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters