@php $workspaceDesign = \App\Support\ClientPresentation::matchedSlug(); @endphp @if($workspaceDesign) @include('client.presentation.layout', ['profileOnly' => true]) @else @include('client.includes.header') @php $cms = app(\App\Services\CmsSettingsService::class)->get(); $branding = $cms['branding'] ?? []; $brandName = $branding['brand_name'] ?? $branding['site_name'] ?? config('app.name'); $logoUrl = \App\Support\BrandLogo::url('client_header', $cms, 'dark'); $useTextLogo = ($branding['use_text_logo'] ?? 'no') === 'yes'; $leadName = trim(($lead->first_name ?? '').' '.($lead->last_name ?? '')) ?: 'Lead Profile'; @endphp
@yield('client_content')
@include('client.includes.foot')
@yield('script') @endif