finish event swiper desktop
This commit is contained in:
parent
35a615246e
commit
70b26d0d93
7 changed files with 82 additions and 1 deletions
|
|
@ -9,7 +9,18 @@
|
|||
</section>
|
||||
|
||||
<section class="presentation">
|
||||
<?php snippet('picture', ['file' => $page->gallery()->toFiles()->first()]) ?>
|
||||
<div id="swiper" style="--span: 8;">
|
||||
<div class="swiper-wrapper">
|
||||
<?php foreach($page->gallery()->toFiles() as $slide): ?>
|
||||
<div class="swiper-slide">
|
||||
<?php snippet('picture', ['file' => $slide]) ?>
|
||||
</div>
|
||||
<?php endforeach ?>
|
||||
</div>
|
||||
|
||||
<div class="swiper-button swiper-button-prev"></div>
|
||||
<div class="swiper-button swiper-button-next"></div>
|
||||
</div>
|
||||
<div class="presentation__text">
|
||||
<h2 class="h1 presentation__title"><?= $page->title() ?></h2>
|
||||
<h3 class="h2 presentation__authors"><?= $page->authors() ?></h3>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue