project-closer (en cours)
All checks were successful
Deploy / Deploy to Production (push) Successful in 3s
All checks were successful
Deploy / Deploy to Production (push) Successful in 3s
This commit is contained in:
parent
62623d095e
commit
c569fa0140
4 changed files with 96 additions and 73 deletions
|
|
@ -17,19 +17,21 @@
|
|||
<span class="slide-number">slide number/total slides</span>
|
||||
</div>
|
||||
<section class="toggle">
|
||||
<div class="project-slideshow">
|
||||
<button class="mix-blend-bg all-projects-closer"></button>
|
||||
<?php foreach ($project->images() as $image): ?>
|
||||
<?php snippet('picture', [
|
||||
'file' => $image,
|
||||
'srcsetName' => 'project-slideshow',
|
||||
'sizes' => '(min-width: 1000px) 50vw, 100vw',
|
||||
'lazy' => $image->indexOf() !== 0,
|
||||
'class' => $image->indexOf() === 0 ? 'active' : null,
|
||||
]) ?>
|
||||
<?php endforeach; ?>
|
||||
<button class="prev"></button>
|
||||
<button class="next"></button>
|
||||
<div class= "project-slideshow-container">
|
||||
<button class="all-projects-closer"></button>
|
||||
<div class="project-slideshow">
|
||||
<?php foreach ($project->images() as $image): ?>
|
||||
<?php snippet('picture', [
|
||||
'file' => $image,
|
||||
'srcsetName' => 'project-slideshow',
|
||||
'sizes' => '(min-width: 1000px) 50vw, 100vw',
|
||||
'lazy' => $image->indexOf() !== 0,
|
||||
'class' => $image->indexOf() === 0 ? 'active' : null,
|
||||
]) ?>
|
||||
<?php endforeach; ?>
|
||||
<button class="prev"></button>
|
||||
<button class="next"></button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="project-description"><?= $project->description() ?></div>
|
||||
<button class="project-toggler closer"></button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue