Add component to either host or join a game.
This commit is contained in:
parent
810ea4f677
commit
04958febfa
1 changed files with 34 additions and 0 deletions
34
src/components/JoinHost.vue
Normal file
34
src/components/JoinHost.vue
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
<template>
|
||||||
|
<div id="game_code_entry">
|
||||||
|
<h1>
|
||||||
|
Secret Hitler Online
|
||||||
|
</h1>
|
||||||
|
<div>
|
||||||
|
<button>Join</button>
|
||||||
|
<button>Host</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'JoinHost',
|
||||||
|
components: {},
|
||||||
|
data() {return {
|
||||||
|
players: []
|
||||||
|
}},
|
||||||
|
methods: {},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="stylus">
|
||||||
|
@import "../theme.styl"
|
||||||
|
</style>
|
||||||
|
<style lang="stylus" scoped>
|
||||||
|
@import "../theme.styl"
|
||||||
|
|
||||||
|
button {
|
||||||
|
width: 100%
|
||||||
|
margin: 5px
|
||||||
|
}
|
||||||
|
</style>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue