@if(app()->environment('production')) @endif @php $config = collect($page['props']['config']); $google_analytics = $config->firstWhere('key', 'google_analytics_tracking_id')['value'] ?? null; $favicon = $config->firstWhere('key', 'favicon')['value'] ?? null; $favicon = $favicon ? '/media/' . $favicon : '/images/favicon.png'; @endphp @if($favicon) @endif @vite(['resources/js/app.js', 'resources/css/app.css']) @inertiaHead @if (!empty($google_analytics)) @endif
@inertia