aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/GolfPlayApps/GolfPlayAppWaiting.tsx
blob: 706dc8f0c56caf3267cd603b7fbc6af529fa761c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import type { PlayerProfile } from "../../types/PlayerProfile";
import PlayerNameAndIcon from "../PlayerNameAndIcon";

type Props = {
	gameDisplayName: string;
	playerProfile: PlayerProfile;
};

export default function GolfPlayAppWaiting({
	gameDisplayName,
	playerProfile,
}: 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 mx-auto text-black">
				<PlayerNameAndIcon label="You" profile={playerProfile} />
			</div>
		</div>
	);
}