Begin work on the role selector for the teams.
This commit is contained in:
parent
cbda79b46b
commit
36db1b68a7
1 changed files with 32 additions and 3 deletions
|
|
@ -1,13 +1,42 @@
|
|||
<template>
|
||||
<div></div>
|
||||
<div :id="`${team_name}-role-select`">
|
||||
<h2 class="centre">{{ team_name }}</h2>
|
||||
<button
|
||||
@click.stop="joinWriterRole"
|
||||
>
|
||||
{{ writer_name }}
|
||||
</button>
|
||||
<button
|
||||
@click.stop="joinGuesserRole"
|
||||
>
|
||||
{{ guesser_name }}
|
||||
</button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: ``,
|
||||
name: `TeamRoleSelection`,
|
||||
components: {},
|
||||
props: {
|
||||
team_name: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
player_name: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
data() {return {
|
||||
writer_name: `Spirit`,
|
||||
guesser_name: `Medium`,
|
||||
}},
|
||||
computed: {},
|
||||
methods: {},
|
||||
methods: {
|
||||
joinWriterRole() {},
|
||||
joinGuesserRole() {},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue