fix [front]: fix warning
This commit is contained in:
parent
751755c247
commit
445698ea05
1 changed files with 22 additions and 20 deletions
|
@ -1,24 +1,26 @@
|
|||
<template>
|
||||
<section class="section">
|
||||
<h2 class="title">La semaine prochaine</h2>
|
||||
<MovieCardFull :film="firstFilm" />
|
||||
</section>
|
||||
<section v-if="nextFilms.length" class="section is-relative">
|
||||
<h2 class="title">Et après</h2>
|
||||
<swiper
|
||||
class="py-4"
|
||||
:loadtheme="false"
|
||||
:modules="modules"
|
||||
slides-per-view="auto"
|
||||
:space-between="52"
|
||||
center-insufficient-slides
|
||||
navigation
|
||||
>
|
||||
<swiper-slide v-for="film of nextFilms" :key="film.id">
|
||||
<MovieCardShort :film="film" class="block" />
|
||||
</swiper-slide>
|
||||
</swiper>
|
||||
</section>
|
||||
<main>
|
||||
<section class="section">
|
||||
<h2 class="title">La semaine prochaine</h2>
|
||||
<MovieCardFull :film="firstFilm" />
|
||||
</section>
|
||||
<section v-if="nextFilms.length" class="section is-relative">
|
||||
<h2 class="title">Et après</h2>
|
||||
<swiper
|
||||
class="py-4"
|
||||
:loadtheme="false"
|
||||
:modules="modules"
|
||||
slides-per-view="auto"
|
||||
:space-between="52"
|
||||
center-insufficient-slides
|
||||
navigation
|
||||
>
|
||||
<swiper-slide v-for="film of nextFilms" :key="film.id">
|
||||
<MovieCardShort :film="film" class="block" />
|
||||
</swiper-slide>
|
||||
</swiper>
|
||||
</section>
|
||||
</main>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
|
Loading…
Reference in a new issue