<header class="ub-header">
    <div class="ub-container">
        <div class="menu-mask" onclick="MS.header.trigger()"></div>
        <div class="menu">
            @foreach(\Module\Nav\Util\NavUtil::listByPositionWithCache('head') as $item)
                <a href="{{$item['link']}}" {!! \Module\Nav\Type\NavOpenType::getBlankAttributeFromValue($item) !!}>{{$item['name']}}</a>
            @endforeach
        </div>
        <a class="menu-toggle" href="javascript:;" onclick="MS.header.trigger()">
            <i class="show iconfont icon-list"></i>
            <i class="close iconfont icon-close"></i>
        </a>
        <div class="logo">
            <a href="{{modstart_web_url('')}}">
                <img src="{{\ModStart\Core\Assets\AssetsUtil::fix(modstart_config('siteLogo'))}}" />
            </a>
        </div>
    </div>
</header>
