ButtonCTA amended and urls updated

This commit is contained in:
María
2025-10-16 13:27:34 +02:00
parent 0b44b2aa3b
commit 74c1234169
15 changed files with 64 additions and 50 deletions

View File

@@ -17,11 +17,9 @@
<div class=" flex flex-col items-center z-10 gap-6 px-4 max-w-3xl">
<h1 class="font-bold">{{ title }}</h1>
<p class="text-2xl-custom max-w-2xl">{{ subtitle }}</p>
<NuxtLink v-if="button" :to="button.link">
<ButtonCTA :color="button.color" class="uppercase mt-6">
{{ button.label }}
</ButtonCTA>
</NuxtLink>
<ButtonCTA v-if="button && button.link" :color="button.color" :to="button.link" class="uppercase mt-6">
{{ button.label }}
</ButtonCTA>
</div>
</section>
</template>