0
0
Fork 0

Begin work on the role selector for the teams.

This commit is contained in:
Oliver-Akins 2020-12-08 15:53:38 -07:00
parent cbda79b46b
commit 36db1b68a7

View file

@ -1,13 +1,42 @@
<template> <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> </template>
<script> <script>
export default { export default {
name: ``, name: `TeamRoleSelection`,
components: {}, components: {},
props: {
team_name: {
type: String,
required: true,
},
player_name: {
type: String,
required: true,
},
},
data() {return {
writer_name: `Spirit`,
guesser_name: `Medium`,
}},
computed: {}, computed: {},
methods: {}, methods: {
joinWriterRole() {},
joinGuesserRole() {},
},
} }
</script> </script>