aula-virtual page

This commit is contained in:
María
2025-08-01 15:07:58 +02:00
committed by María
parent 838e6a3bdb
commit e293c58f76
10 changed files with 213 additions and 25 deletions

View File

@@ -29,18 +29,26 @@
'col-span-12 lg:col-span-4': display === 'col-3-transparent',
'col-span-12 md:col-span-6 lg:col-span-3': display === 'col-4',
}">
<CardTool
<CardTool
v-if="cardsType === 'colored' || cardsType === 'number' || cardsType === 'transparent'"
:color="item.color"
:title="item.title"
:description="item.description"
:image="item.image"
:link="item.link"
:number="item.number"
class=""
/>
<CardCourse
v-if="cardsType === 'course'"
:color="item.color"
:title="item.title"
:description="item.description"
/>
</li>
</ul>
<div v-if="hasButton && buttonSection" class="flex flex-col justify-center items-center mt-8">
<h4 class="font-semibold uppercase">{{ buttonSection.title }}</h4>
<h4 v-if="buttonSection.title" class="font-semibold uppercase">{{ buttonSection.title }}</h4>
<NuxtLink v-if="buttonSection?.button" :to="buttonSection?.button?.link">
<ButtonCTA :color="buttonSection?.button?.color" class="uppercase mt-6">
{{ buttonSection?.button?.label }}
@@ -77,6 +85,10 @@ export default {
type: String,
default: "",
},
cardsType: {
type: String,
default: "transparent", // 'colored', 'number', 'transparent'
},
cards: {
type: Array,
default: () => [],