@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 }}