mirror of https://github.com/4xmen/xshop.git
add another site navbar
parent
5e759b1342
commit
c029c70a13
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -0,0 +1,33 @@
|
||||
<nav>
|
||||
<ul id="mega-menu">
|
||||
@foreach(\App\Helpers\getMainCats(8) as $mcat)
|
||||
<li>
|
||||
<a href="{{route('cat',$mcat->slug)}}">
|
||||
{{$mcat->name}}
|
||||
</a>
|
||||
<ul>
|
||||
@foreach(\App\Helpers\getSubCats($mcat->id) as $subcat)
|
||||
<li>
|
||||
<h3>
|
||||
<a href="{{route('cat',$subcat->slug)}}">
|
||||
{{$subcat->name}}
|
||||
</a>
|
||||
</h3>
|
||||
<ul>
|
||||
@foreach(\App\Helpers\getSubCats($subcat->id) as $sc)
|
||||
<li>
|
||||
<a href="{{route('cat',$sc->slug)}}">
|
||||
{{$sc->name}}
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</li>
|
||||
@endforeach
|
||||
{!! \App\Helpers\MenuShowByName('menu') !!}
|
||||
</ul>
|
||||
</nav>
|
||||
<div id="search-list"></div>
|
Loading…
Reference in New Issue