File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
src/components/InitialView Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff 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" />
You can’t perform that action at this time.
0 commit comments