@php // SEO Favicon $faviconPath = app(\App\Settings\SeoSettings::class)->favicon_path; if ($faviconPath) { echo ''; } // SEO Title $titleHome = app(\App\Settings\SeoSettings::class)->title_home; $titleSuffix = app(\App\Settings\SeoSettings::class)->title_suffix; $title = $titleHome ?? config('app.name', 'MineTrax'); if ($titleSuffix) { $title .= ' ' . $titleSuffix; } echo '' . $title . ''; @endphp {{-- SEO Meta Tags --}} @foreach (app(\App\Settings\SeoSettings::class)->meta as $metaTag) @endforeach @routes @vite('resources/'.config('app.theme', 'default').'/js/app.js', 'build/' . config('app.theme', 'default')) @inertiaHead {{-- SEO Inject At Head --}} @php $seoInjectAtHead = app(\App\Settings\SeoSettings::class)->inject_at_head; if ($seoInjectAtHead) { echo $seoInjectAtHead; } @endphp {{-- SEO Inject at Body Start --}} @php $seoInjectAtBodyStart = app(\App\Settings\SeoSettings::class)->inject_at_body_start; if ($seoInjectAtBodyStart) { echo $seoInjectAtBodyStart; } @endphp {{--Show global loading indication till Vue take over--}}
@if (app(\App\Settings\ThemeSettings::class)->loading_gif) logo @else
@endif
@inertia {{-- SEO Inject At Body End --}} @php $seoInjectAtBodyEnd = app(\App\Settings\SeoSettings::class)->inject_at_body_end; if ($seoInjectAtBodyEnd) { echo $seoInjectAtBodyEnd; } @endphp