@php
$service=app(\App\Domain\Platform\BrandingService::class);
$brand=$service->current();
$platform=$brand?->platform;
$images=$platform?\App\Domain\Platform\PlatformConfiguration::get('branding'):[];
$kind=request()->is('login','forgot-password','reset-password*','activate/*')&&!empty($images['login_logo_path'])?'login_logo':'logo';
$logo=$service->assetUrl($brand,$kind);
@endphp
@if($logo)
@if(!$brand->hide_platform)Powered by Zentrik@endif
@else
{{ $brand ? strtoupper(substr($brand->name,0,1)) : 'z' }}{{ $brand?->name ?? \App\Domain\Platform\PlatformConfiguration::get('general')['name'] ?? 'Zentrik' }}HUMAN RESOURCES@if($brand&&!$brand->hide_platform)Powered by Zentrik@endif
@endif