($appearance ?? 'system') == 'dark'])> {{-- Inline script to detect system dark mode preference and apply it immediately --}} {{ config('app.name', 'Predixio') }} @php try { $siteFavicon = \App\Models\Setting::where('key', 'site_favicon')->value('value'); } catch (\Exception) { $siteFavicon = null; } @endphp @if($siteFavicon) @endif @viteReactRefresh @vite(['resources/js/app.tsx', "resources/js/pages/{$page['component']}.tsx"]) @inertiaHead @inertia