Skip to content

Commit

Permalink
Improve main menu ux
Browse files Browse the repository at this point in the history
  • Loading branch information
shezard committed Jul 6, 2023
1 parent 26bd0c7 commit c04423a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Menu/Main.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
<div class="text-3xl text-white">Land Of Svelte</div>

{#if $store.game.running === 'newGame'}
<br />
<div class="text-2xl text-white cursor-pointer action" on:click={runGame} on:keypress={runGame}>
New Game
</div>
Expand All @@ -93,6 +94,7 @@
{/if}

{#if $store.game.running === 'continue'}
<br />
<div class="text-2xl text-white cursor-pointer action" on:click={runGame} on:keypress={runGame}>
Back to game
</div>
Expand Down

0 comments on commit c04423a

Please sign in to comment.