vvandenb
2 years ago
2 changed files with 0 additions and 34 deletions
@ -1,31 +0,0 @@ |
|||
<script lang="ts"> |
|||
let creatingMatch: boolean = false; |
|||
</script> |
|||
|
|||
<main> |
|||
<h1>Choose a gamemode</h1> |
|||
<button>Matchmaking</button> |
|||
<button on:click={() => creatingMatch}>Play with a friend</button> |
|||
|
|||
{#if creatingMatch} |
|||
<CreateMatch /> |
|||
{/if} |
|||
</main> |
|||
|
|||
<style> |
|||
main { |
|||
display: flex; |
|||
flex-direction: column; |
|||
align-items: center; |
|||
} |
|||
|
|||
h1 { |
|||
margin-bottom: 2rem; |
|||
} |
|||
|
|||
button { |
|||
font-size: 1.5rem; |
|||
padding: 1rem 2rem; |
|||
margin-bottom: 1rem; |
|||
} |
|||
</style> |
Loading…
Reference in new issue