remove cover image in slider

This commit is contained in:
isUnknown 2024-09-18 17:00:56 +02:00
parent c08efc16e5
commit ede736564f
8 changed files with 35 additions and 27 deletions

View file

@ -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">

View file

@ -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>