@if($global_setting->layout_direction == 'LTR')
@else
@endif
@include('front.layouts.style')
@if(Route::is('home'))
{{ $global_page_item->home_seo_title }}
@endif
@if(Route::is('about'))
{{ $global_page_item->about_seo_title }}
@endif
@if(Route::is('services'))
{{ $global_page_item->services_seo_title }}
@endif
@if(Route::is('service'))
@php
$service = App\Models\Service::where('slug', $service->slug)->first();
@endphp
{{ $service->seo_title }}
@endif
@if(Route::is('projects'))
{{ $global_page_item->projects_seo_title }}
@endif
@if(Route::is('project'))
@php
$project = App\Models\Project::where('slug', $project->slug)->first();
@endphp
{{ $project->seo_title }}
@endif
@if(Route::is('lawyers'))
{{ $global_page_item->lawyers_seo_title }}
@endif
@if(Route::is('faq'))
{{ $global_page_item->faq_seo_title }}
@endif
@if(Route::is('pricing'))
{{ $global_page_item->pricing_seo_title }}
@endif
@if(Route::is('photo_gallery'))
{{ $global_page_item->photo_gallery_seo_title }}
@endif
@if(Route::is('video_gallery'))
{{ $global_page_item->video_gallery_seo_title }}
@endif
@if(Route::is('contact'))
{{ $global_page_item->contact_seo_title }}
@endif
@if(Route::is('appointment'))
{{ $global_page_item->appointment_seo_title }}
@endif
@if(Route::is('terms'))
{{ $global_page_item->terms_seo_title }}
@endif
@if(Route::is('privacy'))
{{ $global_page_item->privacy_seo_title }}
@endif
@if(Route::is('blog'))
{{ $global_page_item->blog_seo_title }}
@endif
@if(Route::is('post'))
@php
$post = App\Models\Post::where('slug', $post->slug)->first();
@endphp
{{ $post->seo_title }}
@endif
@if(Route::is('category'))
{{ $global_page_item->blog_category_seo_title }}
@endif
@if(Route::is('tag'))
{{ $global_page_item->blog_tag_seo_title }}
@endif
@if(Route::is('search'))
{{ $global_page_item->blog_search_page_title }}
@endif
@if(Route::is('post') && isset($post))
@if(!empty($post->tags))
@php $tags = array_filter(array_map('trim', explode(',', $post->tags))); @endphp
@foreach($tags as $t)
@endforeach
@endif
@if(!empty($post->created_at))
@endif
@if(!empty($post->updated_at))
@endif
@endif
@if($global_setting->google_analytic_status == 'Show')
@endif
@if($global_setting->sticky_header_status == 'Hide')
@endif
@if($global_setting->preloader_status == 'Show')
@endif
@if (
!app()->isDownForMaintenance() &&
!(isset($exception) && in_array($exception->getStatusCode(), [404, 503]))
)
@if(Route::is('home'))
@include('front.layouts.nav_home')
@else
@include('front.layouts.nav')
@endif
@endif
@yield('main_content')
@if (
!app()->isDownForMaintenance() &&
!(isset($exception) && in_array($exception->getStatusCode(), [404, 503]))
)
@include('front.layouts.footer')
@include('front.layouts.script')
@endif