aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/GolfPlayApps/GolfPlayAppStarting.tsx
blob: 06e3825c7988dddc76a2bd832355d5b303f9c5df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
type Props = {
	gameDisplayName: string;
	leftTimeSeconds: number;
};

export default function GolfPlayAppStarting({
	gameDisplayName,
	leftTimeSeconds,
}: Props) {
	return (
		<div className="min-h-screen bg-gray-100 flex flex-col">
			<div className="text-white bg-iosdc-japan p-10 text-center">
				<div className="text-4xl text-bold">{gameDisplayName}</div>
			</div>
			<div className="text-center text-black font-black text-10xl animate-ping">
				{leftTimeSeconds}
			</div>
		</div>
	);
}