{{-- Generic content card. Title, optional image (lazy-loaded), optional icon slot, optional link; body goes in the slot. --}} @props(['title' => null, 'href' => null, 'linkLabel' => 'Learn more', 'image' => null, 'eyebrow' => null, 'external' => false, 'contain' => false])
@if ($image) $contain, "object-cover" => ! $contain])> @endif
@isset($icon)
{{ $icon }}
@endisset @if ($eyebrow)

{{ $eyebrow }}

@endif @if ($title)

{{ $title }}

@endif
{{ $slot }}
@if ($href) {{ $linkLabel }} → @endif