cambio en los banners

This commit is contained in:
Jaume Solís 2024-04-18 12:31:59 +02:00
parent 28560395f1
commit 66244c955a
2 changed files with 15 additions and 2 deletions

View File

@ -16,7 +16,20 @@ export default defineComponent({
props: {
banners: {
type: Array,
default: () => [""],
default: () => [
{
"url": "/assets/Cabecera-flornatura-1.jpg",
"longName": "Regala un verano lleno de flores y plantas"
},
{
"url": "/assets/Cabecera-flornatura-2.jpg",
"longName": "Regala un verano lleno de flores y plantas"
},
{
"url": "/assets/Cabecera-flornatura-3.jpg",
"longName": "Regala un verano lleno de flores y plantas"
}
],
}
},
components: { IconSearch, Calendar, PostalCode },

View File

@ -67,7 +67,7 @@ export default defineComponent({
<template>
<q-page>
<q-no-ssr>
<VerticalCarouselImgs :banners="getBanners()" class="home-carousel" />
<VerticalCarouselImgs class="home-carousel" />
</q-no-ssr>
<section class="products-section" ref="homeSection">