This commit is contained in:
sarahgarcin1 2026-03-10 16:24:39 +01:00
parent 4f8e4a0f06
commit 23b546163e
11 changed files with 415 additions and 1533 deletions

View file

@ -1,23 +0,0 @@
<li class="col-xs-12 col-sm-6 col-md-4 col-xl-3">
<a href="<?= $projet->url()?>" title="<?= $projet->title()?>">
<?php if($image = $projet->cover()->toFile()):?>
<div class="projets__projet__cover">
<picture>
<source
srcset="<?= $image->thumb(['width' => 680, 'height' => 680, 'crop' => true, 'format' => 'webp'])->url() ?>"
sizes="<?= $sizes ?>"
type="image/webp"
>
<img
loading="lazy"
alt="<?= $image->alt() ?>"
src="<?= $image->thumb(['width' => 680, 'height' => 680, 'crop' => true, 'format' => 'webp'])->url() ?>"
srcset="<?= $image->srcset() ?>"
sizes="<?= $sizes ?>"
>
</picture>
</div>
<?php endif;?>
<p><?= $projet->title()?></p>
</a>
</li>