fix: fixing footer navigation
This commit is contained in:
parent
ebd803282c
commit
f39ce73978
@ -39,11 +39,7 @@
|
||||
<div class="footer-widget">
|
||||
<h4>Navigation</h4>
|
||||
<ul class="footer-list-widget">
|
||||
<li><a href="blog.html">Blog</a></li>
|
||||
<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>
|
||||
@include('partials.nav.main')
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@ -70,4 +66,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
{{-- End Footer --}}
|
||||
{{-- End Footer --}}
|
||||
|
@ -14,7 +14,19 @@
|
||||
</div>
|
||||
<div class="mainmenu-wrapper">
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,29 +1,18 @@
|
||||
<ul class="mainmenu">
|
||||
<li>
|
||||
<a {!! request()->routeIs('home') ? 'class="active"' : '' !!} href="/">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a {!! request()->is(['artworks', 'artworks/*']) ? 'class="active"' : '' !!} href="/artworks">Submitted</a>
|
||||
</li>
|
||||
<li>
|
||||
<a {!! request()->is(['artists', 'artists/*']) ? 'class="active"' : '' !!} href="/artists">Artists</a>
|
||||
</li>
|
||||
@if (auth()->user())
|
||||
<li>
|
||||
<a {!! request()->is(['create-artwork', 'create-artwork/*']) ? 'class="active"' : '' !!} href="/create-artwork">Create</a>
|
||||
</li>
|
||||
@endif
|
||||
<li>
|
||||
<a {!! request()->is(['leaderboards', 'leaderboards/*']) ? 'class="active"' : '' !!} href="/leaderboards">Leaderboards</a>
|
||||
</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>
|
||||
<li>
|
||||
<a {!! request()->routeIs('home') ? 'class="active"' : '' !!} href="/">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a {!! request()->is(['artworks', 'artworks/*']) ? 'class="active"' : '' !!} href="/artworks">Submitted</a>
|
||||
</li>
|
||||
<li>
|
||||
<a {!! request()->is(['artists', 'artists/*']) ? 'class="active"' : '' !!} href="/artists">Artists</a>
|
||||
</li>
|
||||
@if (auth()->user())
|
||||
<li>
|
||||
<a {!! request()->is(['create-artwork', 'create-artwork/*']) ? 'class="active"' : '' !!} href="/create-artwork">Create</a>
|
||||
</li>
|
||||
@endif
|
||||
<li>
|
||||
<a {!! request()->is(['leaderboards', 'leaderboards/*']) ? 'class="active"' : '' !!} href="/leaderboards">Leaderboards</a>
|
||||
</li>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user