direction == 1) dir="rtl" @endif>
{{-- required meta tags --}}
{{-- --}}
{{-- csrf-token for ajax request --}}
{{-- title --}}
@yield('pageHeading') {{ '| ' . $websiteInfo->website_title }}
{{-- include styles --}}
@php
$primaryColor = $basicInfo->primary_color;
$secondaryColor = $basicInfo->secondary_color;
$breadcrumbOverlayColor = $basicInfo->breadcrumb_overlay_color;
@endphp
@if ($basicInfo->theme_version == 1 || $basicInfo->theme_version == 2)
{{-- fav icon --}}
@includeIf('frontend.partials.styles')
{{-- fav icon --}}
@elseif(
$basicInfo->theme_version == 3 ||
$basicInfo->theme_version == 4 ||
$basicInfo->theme_version == 5 ||
$basicInfo->theme_version == 6)
@if (request()->routeIs('index'))
@includeIf('frontend.partials.theme3456_styles')
@else
@includeIf('frontend.partials.styles')
@endif
{{-- {{ asset('assets/front/theme3456/images/logo/fav.png')}} --}}
@else
@endif
{{-- additional style --}}
@yield('style')
{{-- preloader start --}}
{{-- preloader end --}}
@if (
$basicInfo->theme_version == 3 ||
$basicInfo->theme_version == 4 ||
$basicInfo->theme_version == 5 ||
$basicInfo->theme_version == 6)
@endif
{{-- header start --}}
@if ($basicInfo->theme_version == 1)
@elseif($basicInfo->theme_version == 2)
@elseif($basicInfo->theme_version == 3)
@includeIf('frontend.partials.header.header-nav-v3')
@elseif($basicInfo->theme_version == 4)
@includeIf('frontend.partials.header.header-nav-v4')
@elseif($basicInfo->theme_version == 5)
@includeIf('frontend.partials.header.header-nav-v5')
@elseif($basicInfo->theme_version == 6)
@includeIf('frontend.partials.header.header-nav-v6')
@endif
{{-- header end --}}
@yield('content')
{{-- back to top start --}}
@if ($basicInfo->theme_version == 1 || $basicInfo->theme_version == 2)
@else
@endif
{{-- back to top end --}}
{{-- floating whatsapp button --}}
@if ($basicInfo->whatsapp_status == 1 && $basicInfo->tawkto_status == 0)
@endif
{{-- tawk.to button --}}
@if ($basicInfo->whatsapp_status == 0 && $basicInfo->tawkto_status == 1)
@php
$directLink = str_replace('tawk.to', 'embed.tawk.to', $basicInfo->tawkto_direct_chat_link);
$directLink = str_replace('chat/', '', $directLink);
@endphp
@endif
{{-- announcement popup --}}
@includeIf('frontend.partials.popups')
{{-- cookie alert --}}
@if (!is_null($cookieAlertInfo) && $cookieAlertInfo->cookie_alert_status == 1)
@include('cookie-consent::index')
@endif
{{-- include footer --}}
@includeIf('frontend.partials.footer.footer-v' . $basicInfo->theme_version)
@if ($basicInfo->theme_version == 1 || $basicInfo->theme_version == 2)
@includeIf('frontend.partials.scripts')
@elseif(
$basicInfo->theme_version == 3 ||
$basicInfo->theme_version == 4 ||
$basicInfo->theme_version == 5 ||
$basicInfo->theme_version == 6)
@if (request()->routeIs('index'))
@includeIf('frontend.partials.theme3456_scripts')
@else
@includeIf('frontend.partials.scripts')
@endif
@else
@endif
{{-- include scripts --}}
{{-- additional script --}}
@yield('script')