covidassist/src/views/HelpPage.vue

34 lines
683 B
Vue
Raw Normal View History

<style scoped>
.help {
padding: 1em;
}
button {
width: 80%;
margin-bottom: 5%;
}
</style>
2020-03-21 16:40:32 +01:00
<template>
<div class="help">
<p>{{ $store.state.questions[$store.state.currentQuestion].description }}</p>
<div class="button-wrapper">
<router-link to="/questionnaire">
<button>Zurück zur Frage</button>
</router-link>
<router-link to="/questionnaire">
<button v-on:click="$store.commit('nextQuestion')" class="alert">Ich möchte diese Frage überspringen</button>
</router-link>
2020-03-21 16:40:32 +01:00
</div>
</div>
2020-03-21 16:40:32 +01:00
</template>
<script>
export default {
name: "HelpPage",
props: {
text: String
2020-03-21 16:40:32 +01:00
}
}
2020-03-21 16:40:32 +01:00
</script>