($appearance ?? 'system') == 'dark'])> {{-- Inline script to detect system dark mode preference and apply it immediately --}} {{-- Inline style to set the HTML background color based on our theme in app.css --}} {{ \App\Models\Setting::where('key', 'company_name')->value('value') ?? config('app.name', 'Laravel') }} @php $companyFavicon = \App\Models\Setting::where('key', 'company_favicon')->value('value'); $faviconHref = null; if ($companyFavicon && $companyFavicon !== '') { if (str_starts_with($companyFavicon, '/') || str_starts_with($companyFavicon, 'http')) { $faviconHref = $companyFavicon; } else { $faviconHref = \Illuminate\Support\Facades\Storage::disk('do')->url($companyFavicon); } } @endphp @if($faviconHref) @else @endif {{-- Include Google Fonts for additional font options --}} {{-- Inline script to apply saved font and colors immediately --}} @routes @viteReactRefresh @vite(['resources/js/app.tsx']) @inertiaHead @inertia