FleetCart/Themes/Storefront/views/public/layout/navigation/menu.blade.php

18 lines
649 B
PHP
Raw Normal View History

2023-06-11 12:14:03 +00:00
<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>