clean
This commit is contained in:
parent
4f8e4a0f06
commit
23b546163e
11 changed files with 415 additions and 1533 deletions
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue