add: faqs added
This commit is contained in:
27
src/views/FaqsView.vue
Normal file
27
src/views/FaqsView.vue
Normal file
@@ -0,0 +1,27 @@
|
||||
<script setup>
|
||||
import CardFaq from '../components/CardFaq.vue';
|
||||
import faqs from '../data/faqs.json';
|
||||
|
||||
console.log(faqs)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="container">
|
||||
<h1 class="title mt-5">Preguntas frecuentes</h1>
|
||||
<div v-for="section in faqs">
|
||||
<h2 class="title-section mt-4">{{ section.section }}</h2>
|
||||
<CardFaq
|
||||
v-for="faq in section.items"
|
||||
:question="faq.question"
|
||||
:answer="faq.answer"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.title-section {
|
||||
font-size: 1.4rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
</style>
|
||||
@@ -174,7 +174,18 @@
|
||||
type="submit"
|
||||
class="btn-primary-lg btn-lg-block radius-1 mt-5" value="Continuar">
|
||||
|
||||
<p class="mt-5 fs-6 text-center">Al registrarte aceptas nuestros <RouterLink class="btn-text" :to="{name: 'login'}">términos y cóndiciones</RouterLink></p>
|
||||
<p class="mt-5 fs-6 text-center">
|
||||
Al registrarte aceptas nuestros
|
||||
<RouterLink
|
||||
class="btn-text me-1"
|
||||
:to="{name: 'terms-conditions'}"
|
||||
target="_blank">términos y condiciones</RouterLink>
|
||||
y
|
||||
<RouterLink
|
||||
class="btn-text ms-1"
|
||||
:to="{name: 'notice-privacy'}"
|
||||
target="_blank"> Aviso de privaciadad</RouterLink>
|
||||
</p>
|
||||
<p class="mt-5 fs-6 text-center">¿Ya tienes una cuenta? <RouterLink class="btn-text" :to="{name: 'login'}">Ingresa aqui</RouterLink></p>
|
||||
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user