@php
$metaTags = getMetaTagsForPage();
// dd($metaTags);
@endphp
{{ $metaTags['meta_title'] }}
@if(!empty($metaTags['og_image']))
@endif
@php
$seo = App\Models\Setting::where('type','general-setting')->where('key', 'general-setting')->first();
$seo_value = $seo ? json_decode($seo->value, true) : null;
$seo_name = $seo_value['site_name'] ?? '';
@endphp
{{$seo_name ?? 'Handyman Service'}}
@if(!empty($metaTags['google_site_verification']))
@endif
@if(!empty($metaTags['global_canonical_url']))
@endif
@php
$currentLang = app()->getLocale();
$langFolderPath = resource_path("lang/$currentLang");
$filePaths = \File::files($langFolderPath);
$sitesetup = App\Models\Setting::where('type','site-setup')->where('key', 'site-setup')->first();
$date_time = $sitesetup ? json_decode($sitesetup->value, true) : null;
$dateformate = $date_time ? $date_time['date_format'] : 'Y-m-d';
$serviceconfig = App\Models\Setting::getValueByKey('service-configurations', 'service-configurations');
@endphp
@foreach ($filePaths as $filePath)
@php
$fileName = pathinfo($filePath, PATHINFO_FILENAME);
@endphp
@endforeach
@if(empty($metaTags['meta_description']))
{{ __('Welcome to our service! For more information, visit our About Us page.') }}
@endif