@include('shared.toastr') @php $cms = app(\App\Services\CmsSettingsService::class)->get(); $branding = $cms['branding'] ?? []; $cp = $cms['client_panel'] ?? []; $themeManager = app(\App\Services\ThemeManager::class); $selectedTheme = $themeManager->active(); $themePalette = $themeManager->palette(); // The installer-selected theme supplies the client portal defaults. An // administrator can opt into the older CMS panel palette explicitly. $useCustomPanelPalette = ($cp['use_custom_palette'] ?? 'no') === 'yes'; $panelValue = static fn (string $key, mixed $themeDefault) => $useCustomPanelPalette ? ($cp[$key] ?? $themeDefault) : $themeDefault; @endphp @yield('client_page_title') - {{ $branding['site_name'] ?? env('APP_NAME') }} @php $clientFavicon = data_get($branding, 'favicon_url'); @endphp @if(empty($workspaceDesign)) @endif @if(empty($workspaceDesign)) @else @endif @if(empty($workspaceDesign)) @endif @yield('style') @include('shared.language-assets', ['languageScope' => 'client'])