Eigene Icon-Sets unter public/icons/{pressekonto,presseecho,businessportal24}
(SVG-Favicon + Touch-/App-Icons); ThemeHelper mappt das aktive Theme auf den
Icon-Ordner (Portal/Admin nutzt den pressekonto-Satz), alle Layout-Heads
binden Favicon + apple-touch-icon domain-abhängig ein.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
41 lines
1.7 KiB
PHP
41 lines
1.7 KiB
PHP
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<title>{{ $title ?? config('app.name') }}</title>
|
|
|
|
{{-- Domain-spezifische Icons (pressekonto/presseecho/businessportal24) --}}
|
|
<link rel="icon" href="{{ asset(\App\Helpers\ThemeHelper::getFaviconPath()) }}" type="image/svg+xml">
|
|
<link rel="apple-touch-icon" href="{{ asset(\App\Helpers\ThemeHelper::getAppIconPath()) }}">
|
|
|
|
@include('partials.local-fonts')
|
|
|
|
@vite(['resources/css/portal.css', 'resources/js/app.js'], 'build/portal')
|
|
@livewireStyles
|
|
<link rel="stylesheet" href="{{ asset('vendor/livewire/livewire.css') }}">
|
|
@fluxAppearance
|
|
|
|
{{-- Phase 5 Anti-Flash-Bridge: siehe partials/head.blade.php. Identische
|
|
Cookie-Logik, damit Controller+Blade Admin-Pages denselben Mechanismus
|
|
bekommen wie Volt-Pages. --}}
|
|
<script>
|
|
(function () {
|
|
if (typeof window.Flux === 'undefined') return;
|
|
const writeCookie = () => {
|
|
const applied = document.documentElement.classList.contains('dark') ? 'dark' : 'light';
|
|
document.cookie = 'flux_appearance=' + applied + '; path=/; max-age=31536000; SameSite=Lax';
|
|
};
|
|
const original = window.Flux.applyAppearance;
|
|
window.Flux.applyAppearance = function (appearance) {
|
|
original.call(this, appearance);
|
|
writeCookie();
|
|
};
|
|
writeCookie();
|
|
})();
|
|
</script>
|
|
|
|
<!-- Debug: Asset-Status -->
|
|
<script>
|
|
console.log('Admin Head geladen');
|
|
console.log('Vite Assets:', {{ file_exists(public_path('build/admin/manifest.json')) ? 'true' : 'false' }});
|
|
console.log('Livewire CSS:', {{ file_exists(public_path('vendor/livewire/livewire.css')) ? 'true' : 'false' }});
|
|
</script>
|