2023-12-14 23:47:10 -05:00
|
|
|
<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>
|
2023-12-20 14:45:19 -05:00
|
|
|
<a {!! request()->is(['artists', 'artists/*', 'artist', 'artist/*', 'profile']) ? 'class="active"' : '' !!} href="/artists">Artists</a>
|
2023-12-14 23:47:10 -05:00
|
|
|
</li>
|
|
|
|
@if (auth()->user())
|
|
|
|
<li>
|
|
|
|
<a {!! request()->is(['create-artwork', 'create-artwork/*']) ? 'class="active"' : '' !!} href="/create-artwork">Create</a>
|
|
|
|
</li>
|
2024-01-13 11:45:40 -05:00
|
|
|
@can('approve', App\Models\Artwork::class)
|
|
|
|
<li>
|
|
|
|
<a {!! request()->is(['approve-artworks']) ? 'class="active"' : '' !!} href="/approve-artworks">Approve</a>
|
|
|
|
</li>
|
|
|
|
@endcan
|
2023-12-14 23:47:10 -05:00
|
|
|
@endif
|
2024-01-07 09:24:04 -05:00
|
|
|
<li>
|
|
|
|
<a rel="me" {!! request()->is(['support*']) ? 'class="active"' : '' !!} href="/support-development">History & Support</a>
|
2023-12-14 23:47:10 -05:00
|
|
|
<li>
|
|
|
|
<a {!! request()->is(['leaderboards', 'leaderboards/*']) ? 'class="active"' : '' !!} href="/leaderboards">Leaderboards</a>
|
|
|
|
</li>
|
|
|
|
|