remove cover image in slider
This commit is contained in:
parent
c08efc16e5
commit
ede736564f
8 changed files with 35 additions and 27 deletions
|
|
@ -22,7 +22,7 @@
|
|||
<?php endforeach ?>
|
||||
</ul>
|
||||
<?php snippet('ticket', ['link' => option('ticketingUrl')]) ?>
|
||||
<a href="/recherche" class="main-nav__search" title="chercher un événement">
|
||||
<a href="/recherche" class="main-nav__search" title="chercher">
|
||||
<?= svg('/assets/images/icons/search.svg') ?>
|
||||
</a>
|
||||
<button class="burger-btn" aria-expanded="false" title="Ouvrir le menu">
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@
|
|||
|
||||
<section class="presentation">
|
||||
<div id="swiper" style="--span: 8; --color: <?= $page->color()->isNotEmpty() ? $page->color() : 'var(--color-season)' ?>">
|
||||
<div class="swiper-wrapper">
|
||||
<?php foreach($page->gallery()->toFiles() as $slide): ?>
|
||||
<div class="swiper-wrapper">
|
||||
<?php foreach($page->gallery()->toFiles()->without($page->gallery()->toFiles()->first()) as $slide): ?>
|
||||
<div class="swiper-slide">
|
||||
<?php snippet('picture', ['file' => $slide]) ?>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue