start event card content and add schedule method

This commit is contained in:
isUnknown 2024-07-31 07:19:10 +02:00
parent c1a94e832f
commit be549bba16
12 changed files with 102 additions and 11 deletions

View file

@ -1,7 +1,7 @@
<?php
$sizes = '(min-width: 1200px) 25vw, (min-width: 900px) 33vw, (min-width: 600px) 50vw, 100vw';
$alt = method_exists($file, 'alt') ? $file->alt() : 'Fragment de carte de la France';
$alt = $file->alt();
$crop = $crop ?? false;
$webPSrcset = $crop === 'banner' ? $file->crop(1600, 800)->srcset('webp') : $file->srcset('webp');