knowyt/client/src/components/Play.vue

40 lines
547 B
Vue
Raw Normal View History

2021-08-15 16:52:15 +00:00
<template>
<div class="play">
2021-08-15 20:04:24 +00:00
<Quote :text="quote" />
<Sources :sources="sources" />
2021-08-15 16:52:15 +00:00
</div>
</template>
<script>
export default {
computed: {
gamePhase() {
return this.$store.state.game.phase
},
quote() {
return this.$store.state.round.quote
},
2021-08-15 20:04:24 +00:00
sources() {
return this.$store.state.round.sources
},
2021-08-15 16:52:15 +00:00
},
}
</script>
<style lang="scss">
html,
body,
#__nuxt,
#__layout,
.layout-default,
.page-play {
height: 100%;
}
.play {
position: relative;
2021-08-15 20:04:24 +00:00
width: 100%;
2021-08-15 16:52:15 +00:00
height: 100%;
}
</style>