{!! Theme::header() !!} {!! apply_filters(THEME_FRONT_BODY, null) !!}
@php $hasSocialLinks = false; $announcements = apply_filters('announcement_display_html', null); $canRenderAnnouncements = is_plugin_active('announcement') && $announcements && \ArchiElite\Announcement\Models\Announcement::query()->exists(); @endphp @if($canRenderAnnouncements) {!! $announcements !!} @else @if ($socialLinks = json_decode(theme_option('social_links'), true))
@foreach($socialLinks as $socialLink) @if (count($socialLink) == 3 && isset($socialLink[1]['value']) && isset($socialLink[2]['value'])) @php $hasSocialLinks = true; @endphp @endif @endforeach
@if ($hasSocialLinks && theme_option('email')) @endif @endif @if ($email = theme_option('email')) {{ $email }} @endif @endif
@if (is_plugin_active('real-estate')) @if (RealEstateHelper::isEnabledWishlist()) @endif @php $currencies = get_all_currencies(); @endphp @if (count($currencies) > 1)
@endif @endif {!! Theme::partial('language-switcher') !!} @if (is_plugin_active('real-estate') && RealEstateHelper::isLoginEnabled()) @if (auth('account')->check()) @endif @endif