ajustes para staging

This commit is contained in:
Jaume Solís 2024-04-04 17:52:07 +02:00
parent 08b43c28d2
commit a929d27b73
2 changed files with 3 additions and 4 deletions

View File

@ -60,7 +60,7 @@ module.exports = configure(function (ctx) {
env: {
API: ctx.dev
? "http://localhost:9999/api/"
: "https://floranet-back.onecommerce.dev/api/",
: "https://api-staging.floranet.es/api/",
},
target: {

View File

@ -47,12 +47,11 @@ export default defineComponent({
<template>
<div ref="target" class="vertical-carousel-container" style="min-height: 100dvh">
<q-carousel navigation-position="right" style="min-height: 100dvh" v-model="slide" navigation autoplay infinite
animated v-if="!!banners.length" class="custom-carousel">
<q-carousel-slide v-for="(item, i) in banners" :key="i" :name="item.longName" :img-src="item.url">
animated v-if="!banners.length" class="custom-carousel">
<q-carousel-slide v-for="(item, i) in banners[0]" :key="i" :name="item.longName" :img-src="item.url">
<div class="vertical-carousel-content">
<header class="carousel-content-header">
<h1 class="carousel-header-title">
{{ item.longName }}
</h1>
</header>