@props([
'title' => null,
'page' => null,
])
@php $title = $title ?? brand_name(); @endphp
{{-- Sub-folder base path (e.g. /public) so client-side AJAX honours the deploy location under a sub-directory. --}}
@php $__brandName = (string) \App\Models\SystemSetting::get('app_name', config('app.name', 'WaDesk')); @endphp
{{ $title }} — {{ $__brandName }}
{{-- SEO meta block — single source at /admin/settings/seo. The
guest layout is what marketing/login pages render with, so
this is the surface search engines see most. --}}
@include('partials.seo-meta', ['seoOverrides' => ['title' => $title . ' — ' . $__brandName]])
@include('partials.pwa-meta')
@include('partials.site-analytics')
@vite(['resources/css/app.css', 'resources/js/app.js'])
{{ $slot }}
{{-- GDPR cookie consent — applies to login, marketing, public pages. --}}
@include('partials.cookie-consent')
@stack('scripts')