add another site navbar

pull/36/head
A1Gard 1 year ago
parent 5e759b1342
commit c029c70a13

@ -10154,8 +10154,10 @@ aside .form-check {
} }
#top-top .logo { #top-top .logo {
max-height: 65px; max-height: 45px;
max-width: 100%; max-width: 75%;
width: auto;
height: auto;
float: right; float: right;
} }

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

@ -189,8 +189,10 @@ aside .form-check {
} }
#top-top .logo { #top-top .logo {
max-height: 65px; max-height: 45px;
max-width: 100%; max-width: 75%;
width: auto;
height: auto;
float: right; float: right;
} }

@ -85,7 +85,7 @@
<section id="top-top"> <section id="top-top">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-lg-4 col-md-12 text-start"> <div class="col-lg-4 col-md-12 text-start d-flex align-items-center">
{{-- <div class='marquee'>--}} {{-- <div class='marquee'>--}}
{{-- <div class="row mt-2 pt-1" >--}} {{-- <div class="row mt-2 pt-1" >--}}
{{-- <a class="col" href="tel:{{\App\Helpers\getSetting('tel')}}">--}} {{-- <a class="col" href="tel:{{\App\Helpers\getSetting('tel')}}">--}}
@ -144,4 +144,4 @@
</div> </div>
</section> </section>
@include('website.component.navbar') @include('website.component.navbar2')

@ -1,6 +1,6 @@
<nav> <nav>
<ul id="mega-menu"> <ul id="mega-menu">
@foreach(\App\Helpers\getMainCats(4) as $mcat) @foreach(\App\Helpers\getMainCats(8) as $mcat)
<li> <li>
<a href="{{route('cat',$mcat->slug)}}"> <a href="{{route('cat',$mcat->slug)}}">
{{$mcat->name}} {{$mcat->name}}

@ -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…
Cancel
Save