@php $variant = $variant ?? 'image'; $backgroundUrl = $backgroundUrl ?? null; $backgroundAlt = $backgroundAlt ?? ''; $title = $title ?? ''; $subtitle = $subtitle ?? null; $kicker = $kicker ?? null; $extra = $extra ?? null; @endphp @if ($variant === 'gradient') @if (!empty($kicker)) {{ $kicker }} @endif @if ($title !== '') {{ $title }} @endif @if (!empty($subtitle)) {{ $subtitle }} @endif @if (!empty($extra)) {!! $extra !!} @endif @else @if (!empty($backgroundUrl)) @include('web.default.includes.premium.responsive_image', [ 'src' => $backgroundUrl, 'alt' => $backgroundAlt, 'class' => 'img-cover premium-page-hero__bg-img', 'loading' => 'eager', 'fetchpriority' => 'high', 'width' => 1920, 'height' => 640, ]) @endif @if (!empty($kicker)) {{ $kicker }} @endif @if ($title !== '') {{ $title }} @endif @if (!empty($subtitle)) {{ $subtitle }} @endif @if (!empty($extra)) {!! $extra !!} @endif @endif
{{ $kicker }}
{{ $subtitle }}