@php $header = $options->theme->header; $contacts = $options->theme->contacts; $socials = $options->theme->socials; $user = auth()->user(); @endphp
@php $topMenu = $helper ->getCustomMenu( [ 'id' => $header->top_menu_id, ], 1, [ 'class' => 'announcement-call', ], ) ->addAction(function ($item, $link) { $item->removeClass(); $item->tagName = null; $link->removeClass(); $link->addClass('announcement-text text-white'); }); $topMenu->tagName = 'div'; @endphp {!! $topMenu !!}

{{ $header->top_content }}

@if ($header->top_show_accoumt_button) @php $user = auth()->user(); $link = !$user ? route('web.account.login', ['next' => $current_full_query_url]) : route('web.account'); @endphp @endif
@php $lang = get_current_language(); $locale = $lang ? $lang->slug : 'en'; $params = locale_redirect_params(); @endphp