@php
$textColor = $shortcode->text_color ?? '';
$overlay = $shortcode->overlay_color ?? '';
@endphp
{!! RvMedia::image($shortcode->image, $shortcode->heading ?? '', 'hero-banner', false, ['class' => 'w-100', 'loading' => 'lazy']) !!}
@if ($overlay)
@endif
@if (! empty($shortcode->heading ?? ''))
{!! BaseHelper::clean($shortcode->heading) !!}
@endif
@if (! empty($shortcode->subheading ?? ''))
{!! BaseHelper::clean($shortcode->subheading) !!}
@endif
@if (! empty($shortcode->button_text ?? ''))
{!! BaseHelper::clean($shortcode->button_text) !!}
@endif