JSON preguntas corregido

This commit is contained in:
María
2025-10-21 15:18:17 +02:00
committed by María
parent ddc623411a
commit da5b74b295
12 changed files with 3577 additions and 81 deletions

View File

@@ -1,20 +1,21 @@
<template>
<div class="flex flex-col justify-center items-start space-y-4">
<h1 class="text-3xl font-bold">
{{ data.title }}
{{data.id}} {{ data.title[langcode]}}
</h1>
<p class="text-sm" v-html="feedbackText"></p>
<p class="text-sm" v-html="data.subtitle[langcode]"></p>
<button-CTA
color="accent"
class="ml-auto"
@click="$emit('next')"
>
{{ data.button }}
{{ data.button[langcode] }}
</button-CTA>
</div>
</template>
<script>
import { mapGetters } from 'vuex';
export default {
props: {
data: {
@@ -30,6 +31,9 @@ export default {
feedbackText: ""
}
},
computed: {
...mapGetters(['langcode'])
},
mounted() {
this.generateFeedbackText();
},