@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
merge(['class' => 'flex flex-col rounded-lg bg-glassmorphism']) }}>
{{ $alt ?: strip_tags($title) }}
@if($subject) {{ $subject }} @endif @if($title)

{!! $title !!}

@endif @if($description)

{!! $description !!}

@endif
{{ $slot }}