@props([ 'image' => '', 'title' => '', 'description' => '', 'subject' => null, 'alt' => '', 'width' => null, 'height' => null, // Rendered width of the image, for srcset selection (default: 3-column grid) 'sizes' => '(min-width: 1024px) 33vw, (min-width: 768px) 50vw, 100vw', ]) @php // Responsive WebP variants generated by scripts/optimize-images.py $media = $image ? responsive_image($image) : null; @endphp
{!! $description !!}
@endif