@php
$breadcrumb = get_setting('breadcrumb_color');
$breadcrumb = str_replace(' ', '', $breadcrumb);
$hex = $breadcrumb;
[$r, $g, $b] = sscanf($hex, '#%02x%02x%02x');
$hex = "$r $g $b";
$hex = str_replace(' ', ',', $hex);
@endphp
@php
if (Session::has('locale')) {
$locale = Session::get('locale', Config::get('app.locale'));
} else {
$locale = get_setting('DEFAULT_LANGUAGE', 'en');
}
@endphp
@if (Request::url() != url('/'))
{{ $title ?? '' }} - {{ get_setting('company_name') }}
@else
{{ $title ?? get_setting('company_name') }}
@endif
@if (fileExists('assets/logo/', get_setting('front_favicon')) != false && get_setting('front_favicon') != null)
@else
@endif
@if (!Request::is('customer/*'))
@endif
@php
@endphp
@if (isset($meta_image) && $meta_image)
@endif
@if ($locale == 'sa')
@endif
@if (get_setting('analytics_id'))
@endif
@if (get_setting('show_preloader') == 1)
@endif
@include('frontend.template-1.partials.mobile_search')
@include('frontend.template-1.partials.topbar')
@include('frontend.template-1.partials.header')
{{-- Main Content Area --}}
@yield('content')
@include('frontend.template-1.partials.footer')
@stack('js')
@if (get_setting('tawk_enabled') == 1 && get_setting('tawk_code') !== '')
@endif