blob: 0e964e399dfa66a1d603d56fd05bf2837aec5505 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
import type { PlayerProfile } from "../../types/PlayerProfile";
import PlayerNameAndIcon from "../PlayerNameAndIcon";
type Props = {
gameDisplayName: string;
playerProfileA: PlayerProfile;
playerProfileB: PlayerProfile;
};
export default function GolfWatchAppWaiting({
gameDisplayName,
playerProfileA,
playerProfileB,
}: Props) {
return (
<div className="min-h-screen bg-gray-100 flex flex-col font-bold text-center">
<div className="text-white bg-iosdc-japan p-10">
<div className="text-4xl">{gameDisplayName}</div>
</div>
<div className="grow grid grid-cols-3 gap-10 mx-auto text-black">
<PlayerNameAndIcon label="Player 1" profile={playerProfileA} />
<div className="text-8xl my-auto">vs.</div>
<PlayerNameAndIcon label="Player 2" profile={playerProfileB} />
</div>
</div>
);
}
|