@php $colorMode ??= 'light'; $showUserMenu ??= false; $announcements = apply_filters('announcement_display_html', null); $currencies = collect(); $hasCurrencies = false; if (is_plugin_active('ecommerce')) { $currencies = get_all_currencies(); $hasCurrencies = $currencies->count() > 1; } @endphp
$hasCurrencies || $announcements, 'tp-header-top-2' => $colorMode === 'light', 'tp-header-top black-bg' => $colorMode !== 'light']) style="background-color: {{ theme_option('header_top_background_color', $headerTopBackgroundColor) }}; color: {{ $headerTopTextColor }}" >
{!! $announcements !!}
$colorMode === 'light'])>
{!! Theme::partial('language-switcher', ['type' => 'desktop']) !!} @if ($hasCurrencies)
{{ get_application_currency()->title }} {!! Theme::partial('currency-switcher') !!}
@endif @if ($showUserMenu && is_plugin_active('ecommerce')) @auth('customer')
{{ auth('customer')->user()->name }}
@else @endauth @endif