@php $faviconPath = \App\Models\Setting::get('site_favicon'); $faviconDir = $faviconPath ? dirname($faviconPath) : null; @endphp @if($faviconPath && $faviconDir) @else @endif @if(app()->environment('local')) @vite(['resources/css/app.css', 'resources/js/app.js']) @else @php $manifest = json_decode(file_get_contents(public_path('build/manifest.json')), true); @endphp @endif
@include('layouts.navigation') @isset($header)
{{ $header }}
@endisset
{{ $slot ?? '' }} @yield('content')