@php $logoHeaderUrl = null; $logoContrasteUrl = null; $logoHeaderAlt = $siteTitle; if(isset($layoutConfigs) && $layoutConfigs->has('logos')) { $logos = $layoutConfigs['logos']->payload ?? []; // Logo Normal if(!empty($logos['logo_header'])) { $path = is_array($logos['logo_header']) ? ($logos['logo_header']['path'] ?? '') : $logos['logo_header']; if($path) { $logoHeaderUrl = v2_storage_url($path); $logoHeaderAlt = $logos['logo_header_alt'] ?? $logoHeaderAlt; } } // Logo Alto Contraste if(!empty($logos['logo_header_contraste'])) { $pathContraste = is_array($logos['logo_header_contraste']) ? ($logos['logo_header_contraste']['path'] ?? '') : $logos['logo_header_contraste']; if($pathContraste) { $logoContrasteUrl = v2_storage_url($pathContraste); } } } @endphp @if($logoHeaderUrl) {{ $logoHeaderAlt }} @if($logoContrasteUrl) {{ $logoHeaderAlt }} (Alto Contraste) @endif @else
{{ $siteTitle }} Portal Oficial
@endif
@push('head-styles') @endpush