@php $site_title = App\Models\GeneralSetting::where('name', 'site_title')->first(); $is_ai_chatbot_enable = App\Models\GeneralSetting::where('name', 'is_ai_chatbot_enable')->first(); $favicon = App\Models\GeneralSetting::where('name', 'favicon')->first(); $primary_color = App\Models\ThemeSetting::where('color', 'primary_color')->whereNot('theme_code','default')->active()->first(); $secondary_color = App\Models\ThemeSetting::where('color', 'secondary_color')->whereNot('theme_code','default')->active()->first(); // dd($favicon && $favicon->value ? asset($favicon->value) : asset('images/favicon.png')); $meta_description = App\Models\GeneralSetting::where('name', 'meta_description')->first(); $seo_title = App\Models\GeneralSetting::where('name', 'seo_title')->first(); $social_description = App\Models\GeneralSetting::where('name','social_description')->first(); $seo_meta_keywords = App\Models\GeneralSetting::where('name','meta_keywords')->first(); $keywords = $seo_meta_keywords && $seo_meta_keywords->value ? implode(', ', json_decode($seo_meta_keywords->value, true)) : 'land-advisor, keywords, for, site'; @endphp {{ $site_title && $site_title->value ? $site_title->value : config('app.name', 'Admin') }} {{-- --}} {{-- SEO --}} {{-- --}} {{-- @if(config('app.env') == 'local') @routes @endif --}} @vite('resources/js/app.js') @inertiaHead @inertia @include('colors') @if ($is_ai_chatbot_enable->value == 1) @else @endif