@php use Botble\Shortcode\Facades\Shortcode; Theme::asset()->remove('contact-css'); Theme::asset()->container('footer')->remove('contact-public-js'); $contactInfo = Shortcode::fields()->getTabsData(['icon', 'content'], $shortcode); @endphp
@if ($shortcode->show_contact_form)
@if ($title = $shortcode->title)

{{ $title }}

@endif
{!! $form->renderForm() !!}
@endif
@foreach ($contactInfo as $info) @continue(empty($info['icon']) || $info['content'])
{{ RvMedia::image($info['icon'], $info['content']) }}

{!! BaseHelper::clean($info['content']) !!}

@endforeach @if ($shortcode->show_social_info) @php $socialInfoLabel = $shortcode->social_info_label; @endphp
{{ RvMedia::image($shortcode->social_info_icon, $socialInfoLabel ?: __('Social Media')) }}
@if ($socialInfoLabel)

{{ $socialInfoLabel }}

@endif @if ($socialLinks = Theme::getSocialLinks())
@foreach($socialLinks as $socialLink) {{ $socialLink->getIconHtml() }} @endforeach
@endif
@endif