{{-- Inline script to handle theme --}} {{-- Inline style to set the HTML background color for both themes --}} {{ config('app.name', 'Laravel') }} {{-- SEO Meta Tags --}} @php $themeSettings = \App\Models\ThemeSetting::first(); @endphp @if($themeSettings) @if($themeSettings->meta_description) @endif @if($themeSettings->meta_keywords) @endif {{-- Open Graph Tags --}} @if($themeSettings->meta_description) @endif @if($themeSettings->og_image_url) @endif {{-- Twitter Card Tags --}} @if($themeSettings->twitter_site) @endif @if($themeSettings->meta_description) @endif @if($themeSettings->og_image_url) @endif {{-- Google Analytics --}} @if($themeSettings->google_analytics_id) @endif {{-- Google Tag Manager --}} @if($themeSettings->google_tag_manager_id) @endif {{-- Facebook Pixel --}} @if($themeSettings->facebook_pixel_id) @endif {{-- Custom Head Scripts --}} @if($themeSettings->custom_head_scripts) {!! $themeSettings->custom_head_scripts !!} @endif @endif {{-- Favicon --}} @viteReactRefresh @vite(['resources/js/app.tsx', "resources/js/pages/{$page['component']}.tsx"]) @inertiaHead {{-- Google Tag Manager (noscript) --}} @php $themeSettings = \App\Models\ThemeSetting::first(); @endphp @if($themeSettings && $themeSettings->google_tag_manager_id) @endif @inertia {{-- Custom Body Scripts --}} @if($themeSettings && $themeSettings->custom_body_scripts) {!! $themeSettings->custom_body_scripts !!} @endif