Skip to content

Commit 0e936f8

Browse files
committed
Initial view buttons
1 parent df98531 commit 0e936f8

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

src/components/InitialView/InitialView.tsx

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const InitialView: FC<InitialViewProps> = ({ startGame }) => {
1818
const [isSelectContinentModalOpen, setIsSelectContinentModalOpen] =
1919
useState(false);
2020

21-
const handleClickPlay = () => {
21+
const handleClickPlaySolo = () => {
2222
if (REGION) {
2323
startGame();
2424
} else {
@@ -33,9 +33,17 @@ const InitialView: FC<InitialViewProps> = ({ startGame }) => {
3333
alt="Hydra"
3434
className="w-full max-w-5xl relative -bottom-14 -mt-14 z-10 pointer-events-none"
3535
/>
36-
<Button className="w-96 h-16" onClick={handleClickPlay} withDecoration>
37-
Play Doom on Hydra
38-
</Button>
36+
<div className="flex flex-col gap-6">
37+
<Button className="w-96 h-16" onClick={handleClickPlaySolo}>
38+
Play Solo
39+
</Button>
40+
<Button className="w-96 h-16" onClick={handleClickPlaySolo}>
41+
Start Multiplayer
42+
</Button>
43+
<Button className="w-96 h-16" onClick={handleClickPlaySolo}>
44+
Join Multiplayer
45+
</Button>
46+
</div>
3947
<div className="grid grid-cols-2 max-w-6xl w-full mt-32 gap-8 py-6">
4048
<div className="flex flex-col gap-4">
4149
<GlobalTotals size="lg" />

0 commit comments

Comments
 (0)