fix: fixing footer navigation
This commit is contained in:
parent
ebd803282c
commit
f39ce73978
@ -39,11 +39,7 @@
|
|||||||
<div class="footer-widget">
|
<div class="footer-widget">
|
||||||
<h4>Navigation</h4>
|
<h4>Navigation</h4>
|
||||||
<ul class="footer-list-widget">
|
<ul class="footer-list-widget">
|
||||||
<li><a href="blog.html">Blog</a></li>
|
@include('partials.nav.main')
|
||||||
<li><a href="activity.html">Activity</a></li>
|
|
||||||
<li><a href="popular-collections-2.html">Collections</a></li>
|
|
||||||
<li><a href="signin.html">Signin</a></li>
|
|
||||||
<li><a href="signup.html">SignUp</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -70,4 +66,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
{{-- End Footer --}}
|
{{-- End Footer --}}
|
||||||
|
@ -14,7 +14,19 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="mainmenu-wrapper">
|
<div class="mainmenu-wrapper">
|
||||||
<nav id="sideNav" class="mainmenu-nav d-none d-xl-block">
|
<nav id="sideNav" class="mainmenu-nav d-none d-xl-block">
|
||||||
@include('partials/nav/main')
|
<ul class="mainmenu">
|
||||||
|
@include('partials/nav/main')
|
||||||
|
<li class="has-dropdown has-menu-child-item">
|
||||||
|
<a {!! request()->is(['podcasts', 'podcasts/*']) ? 'class="active"' : '' !!}>Podcasts</a>
|
||||||
|
<ul class="submenu">
|
||||||
|
@foreach ($navPodcasts as $cast)
|
||||||
|
<li>
|
||||||
|
<a href="/podcasts/{{ $cast->slug }}">{{ $cast->name }}</a>
|
||||||
|
</li>
|
||||||
|
@endforeach
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,29 +1,18 @@
|
|||||||
<ul class="mainmenu">
|
<li>
|
||||||
<li>
|
<a {!! request()->routeIs('home') ? 'class="active"' : '' !!} href="/">Home</a>
|
||||||
<a {!! request()->routeIs('home') ? 'class="active"' : '' !!} href="/">Home</a>
|
</li>
|
||||||
</li>
|
<li>
|
||||||
<li>
|
<a {!! request()->is(['artworks', 'artworks/*']) ? 'class="active"' : '' !!} href="/artworks">Submitted</a>
|
||||||
<a {!! request()->is(['artworks', 'artworks/*']) ? 'class="active"' : '' !!} href="/artworks">Submitted</a>
|
</li>
|
||||||
</li>
|
<li>
|
||||||
<li>
|
<a {!! request()->is(['artists', 'artists/*']) ? 'class="active"' : '' !!} href="/artists">Artists</a>
|
||||||
<a {!! request()->is(['artists', 'artists/*']) ? 'class="active"' : '' !!} href="/artists">Artists</a>
|
</li>
|
||||||
</li>
|
@if (auth()->user())
|
||||||
@if (auth()->user())
|
<li>
|
||||||
<li>
|
<a {!! request()->is(['create-artwork', 'create-artwork/*']) ? 'class="active"' : '' !!} href="/create-artwork">Create</a>
|
||||||
<a {!! request()->is(['create-artwork', 'create-artwork/*']) ? 'class="active"' : '' !!} href="/create-artwork">Create</a>
|
</li>
|
||||||
</li>
|
@endif
|
||||||
@endif
|
<li>
|
||||||
<li>
|
<a {!! request()->is(['leaderboards', 'leaderboards/*']) ? 'class="active"' : '' !!} href="/leaderboards">Leaderboards</a>
|
||||||
<a {!! request()->is(['leaderboards', 'leaderboards/*']) ? 'class="active"' : '' !!} href="/leaderboards">Leaderboards</a>
|
</li>
|
||||||
</li>
|
|
||||||
<li class="has-dropdown has-menu-child-item">
|
|
||||||
<a {!! request()->is(['podcasts', 'podcasts/*']) ? 'class="active"' : '' !!}>Podcasts</a>
|
|
||||||
<ul class="submenu">
|
|
||||||
@foreach ($navPodcasts as $cast)
|
|
||||||
<li>
|
|
||||||
<a href="/podcasts/{{ $cast->slug }}">{{ $cast->name }}</a>
|
|
||||||
</li>
|
|
||||||
@endforeach
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
Loading…
Reference in New Issue
Block a user