|
@@ -1,26 +1,35 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div class="battleground" v-if="battleground"> |
|
|
<div class="battleground" v-if="battleground"> |
|
|
<div>Welcome to {{ battleground.name }}</div> |
|
|
|
|
|
|
|
|
<div class="battleground-content"> |
|
|
|
|
|
<div>Welcome to {{ battleground.name }}</div> |
|
|
|
|
|
|
|
|
<div id="objectives" class="objectives"> |
|
|
|
|
|
<div class="row" v-for="objectiveRow in battleground.objectives"> |
|
|
|
|
|
<template v-for="objective in objectiveRow"> |
|
|
|
|
|
<Objective :objective="objective"></Objective> |
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
<div id="objectives" class="objectives"> |
|
|
|
|
|
<div class="row" v-for="objectiveRow in battleground.objectives"> |
|
|
|
|
|
<template v-for="objective in objectiveRow"> |
|
|
|
|
|
<Objective :objective="objective"></Objective> |
|
|
|
|
|
</template> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<router-link to="/battlegrounds">Back to selector</router-link> |
|
|
</div> |
|
|
</div> |
|
|
<router-link to="/battlegrounds">Back to selector</router-link> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<style lang="sass" scoped> |
|
|
<style lang="sass" scoped> |
|
|
$border-style: 1px solid #66CCFF |
|
|
$border-style: 1px solid #66CCFF |
|
|
|
|
|
|
|
|
|
|
|
.battleground |
|
|
|
|
|
background-image: url(/static/backgrounds/alterac-pass.jpg) |
|
|
|
|
|
background-size: contain |
|
|
|
|
|
&-content |
|
|
|
|
|
backdrop-filter: blur(4px) |
|
|
|
|
|
height: 100vh |
|
|
|
|
|
|
|
|
.objectives |
|
|
.objectives |
|
|
display: flex |
|
|
display: flex |
|
|
flex-direction: column |
|
|
flex-direction: column |
|
|
height: 70vh |
|
|
|
|
|
|
|
|
height: 100% |
|
|
|
|
|
|
|
|
.row |
|
|
.row |
|
|
display: flex |
|
|
display: flex |
|
|
justify-content: space-between |
|
|
justify-content: space-between |
|
@@ -46,8 +55,11 @@ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
computed: { |
|
|
computed: { |
|
|
|
|
|
battlegroundId () { |
|
|
|
|
|
return this.$route.params.battlegroundId |
|
|
|
|
|
}, |
|
|
battleground () { |
|
|
battleground () { |
|
|
return BATTLEGROUNDS[this.$route.params.battlegroundId] |
|
|
|
|
|
|
|
|
return BATTLEGROUNDS[this.battlegroundId] |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
watch: { |
|
|
watch: { |
|
|