{{-- Dashboard header: sidebar toggle, brand, breadcrumb, theme, notifications, profile. --}} @php $user = auth()->user(); $profile = \App\Services\BrandingService::profile(); $appName = \App\Services\BrandingService::appName(); $shortName = \App\Services\BrandingService::shortName(); $mark = \Illuminate\Support\Str::upper(\Illuminate\Support\Str::substr($shortName !== '' ? $shortName : $appName, 0, 2)); @endphp
@if($profile !== null && $profile->logo_path) @else {{ $mark }} @endif {{ $appName }}