@php $bgColor = $shortcode->background_color; $bgImage = $shortcode->background_image ? RvMedia::getImageUrl($shortcode->background_image) : null; $image = $shortcode->image; $image1 = $shortcode->image_1; $variablesStyle = [ "--background-color: $bgColor" => $bgColor, "--background-image: url($bgImage)" => $bgImage, ]; @endphp
$image, 'has-header-transparent-and-ecommerce' => theme_option('display_header_top', true) && theme_option('is_header_transparent') && is_plugin_active('ecommerce') ]) @style($variablesStyle) >
@if ($subtitle = $shortcode->subtitle) {!! BaseHelper::clean($subtitle) !!} @endif @if ($title = $shortcode->title)

{!! BaseHelper::clean($title) !!}

@endif @if ($description = $shortcode->description)

{!! BaseHelper::clean($description) !!}

@endif @if (($buttonLabel = $shortcode->button_label) && ($buttonUrl = $shortcode->button_url)) {!! BaseHelper::clean($buttonLabel) !!} @endif
@php $image = $shortcode->image; $image1 = $shortcode->image_1; @endphp @if ($image || $image1)
@endif
@if ($shortcode->display_social_links && ($items = Theme::getSocialLinks())) @endif @if($shortcode->display_button_scroll_down) @endif