@php $__sn = \App\Models\SystemSetting::get('site_name', config('app.name', 'MailTrixy')); $__fav = \App\Models\SystemSetting::get('favicon'); $__logoL = \App\Models\SystemSetting::get('logo_light'); $__logoD = \App\Models\SystemSetting::get('logo_dark'); @endphp {{ $title ?? $__sn }} — {{ $__sn }} {{-- Favicon --}} @if($__fav) @else @endif {{-- PWA (conditional) --}} @php $__pwa = \App\Models\SystemSetting::get('pwa_enabled', 'false') === 'true'; @endphp @if($__pwa) @endif @vite(['resources/css/app.css', 'resources/js/app.js']) @livewireStyles {!! \App\Models\SystemSetting::get('head_code', '') !!} @if($wide ?? false) {{-- Wide layout (onboarding wizard) --}}
{{-- Top bar --}}
@if($__logoL || $__logoD) {{ $__sn }} @endif
@auth
@csrf
@else {{ __('Log in') }} @endauth
{{-- Content --}}
{{ $slot }}
{{-- Legal footer --}}
{{ __('Terms') }} · {{ __('Privacy') }} · {{ __('Refund Policy') }}
@else {{-- Standard split layout (auth pages) --}}
{{-- Left: Branding Panel --}} {{-- Right: Form Panel --}}
{{-- Mobile logo + language --}} {{ $slot }} {{-- Legal links below form --}}
@endif @livewireScripts {{-- Cookie Consent --}} {!! \App\Models\SystemSetting::get('footer_code', '') !!}