diff --git a/src/Components/Views/StartMenu/StartMenu.tsx b/src/Components/Views/StartMenu/StartMenu.tsx index ea280be..722396c 100644 --- a/src/Components/Views/StartMenu/StartMenu.tsx +++ b/src/Components/Views/StartMenu/StartMenu.tsx @@ -35,7 +35,7 @@ const standardSettings: Pick< orientation: Orientation.Landscape, }; -const MainWrapper = twc.div`w-full h-fit pb-24 overflow-hidden items-center flex flex-col min-[349px]:pb-10`; +const MainWrapper = twc.div`h-fit pb-24 overflow-hidden items-center flex flex-col min-[349px]:pb-10`; const StartButtonFooter = twc.div`w-full max-w-[548px] fixed bottom-4 z-1 items-center flex flex-row flex-wrap px-4 z-10 gap-4`; @@ -173,177 +173,178 @@ const Start = () => { +
+ + { + openInfo(); + }} + /> - - { - openInfo(); - }} - /> +

+ Life Trinket +
+
+ v{version.installedVersion} +
+

-

- Life Trinket -
-
- v{version.installedVersion} -
-

- -
-
- - { - if (e.target.checked) { +
+
+ + { + if (e.target.checked) { + setPlayerOptions({ + ...playerOptions, + useCommanderDamage: e.target.checked, + ...commanderSettings, + }); + return; + } setPlayerOptions({ ...playerOptions, useCommanderDamage: e.target.checked, - ...commanderSettings, + ...standardSettings, }); - return; - } - setPlayerOptions({ - ...playerOptions, - useCommanderDamage: e.target.checked, - ...standardSettings, - }); - }} - /> + }} + /> -
- +
+ -
-
- - v{version.remoteVersion} available! - + > +
+ + v{version.remoteVersion} available! + +
-
- - Number of Players - - { + + Number of Players + + { + setPlayerOptions({ + ...playerOptions, + numberOfPlayers: Number.parseInt(e.target.value), + orientation: Orientation.Landscape, + }); + }} + /> +
+
1
+
2
+
3
+
4
+
5
+
6
+
+
+ + Starting Health + + + setPlayerOptions({ + ...playerOptions, + startingLifeTotal: Number.parseInt(e.target.value), + orientation: Orientation.Landscape, + }) + } + /> +
+
20
+
30
+
40
+
50
+
60
+
+
+ + Layout + { setPlayerOptions({ ...playerOptions, - numberOfPlayers: Number.parseInt(e.target.value), - orientation: Orientation.Landscape, + orientation, }); }} /> -
-
1
-
2
-
3
-
4
-
5
-
6
-
-
- - Starting Health - - - setPlayerOptions({ - ...playerOptions, - startingLifeTotal: Number.parseInt(e.target.value), - orientation: Orientation.Landscape, - }) - } - /> -
-
20
-
30
-
40
-
50
-
60
-
-
- - Layout - { - setPlayerOptions({ - ...playerOptions, - orientation, - }); - }} - /> +
+ {!isPWA && ( +

+ If you're on iOS, this page works better if you{' '} + hide the toolbar or{' '} + add the app to your home screen. +

+ )}
- {!isPWA && ( -

- If you're on iOS, this page works better if you{' '} - hide the toolbar or{' '} - add the app to your home screen. -

- )} -
- - - - {savedGame && ( + + + {savedGame && ( + - )} - - + onClick={doResumeGame} + > + RESUME  + + ({savedGame.players.length}  + {savedGame.players.length > 1 ? 'players' : 'player'}) + + + )} + + +
); };