18 lines
649 B
PHP
18 lines
649 B
PHP
|
<li class="{{ mega_menu_classes($menu, $type) }}">
|
||
|
<a href="{{ $menu->url() }}" class="nav-link menu-item" target="{{ $menu->target() }}" data-text="{{ $menu->name() }}">
|
||
|
@if ($type === 'category_menu' && $menu->hasIcon())
|
||
|
<span class="menu-item-icon">
|
||
|
<i class="{{ $menu->icon() }}"></i>
|
||
|
</span>
|
||
|
@endif
|
||
|
|
||
|
{{ $menu->name() }}
|
||
|
</a>
|
||
|
|
||
|
@if ($menu->isFluid())
|
||
|
@include('public.layout.navigation.fluid', ['subMenus' => $menu->subMenus()])
|
||
|
@else
|
||
|
@include('public.layout.navigation.dropdown', ['subMenus' => $menu->subMenus()])
|
||
|
@endif
|
||
|
</li>
|