picture - bg color before loading = event color or season color

This commit is contained in:
isUnknown 2024-09-17 15:49:48 +02:00
parent c49aca969e
commit cb65669ccc
6 changed files with 7 additions and 5 deletions

View file

@ -9,7 +9,7 @@
</section>
<section class="presentation">
<div id="swiper" style="--span: 8;">
<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-slide">