mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
Fix links
This commit is contained in:
parent
2530f17bc2
commit
4175a60f85
2 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<li class="list-reset pl-4">
|
||||
@if ($url = is_string($item) ? $item : $item->url)
|
||||
{{-- Menu item with URL--}}
|
||||
<a href="{{ $page->link($url) }}"
|
||||
<a href="{{ $page->url($url) ? $url : $page->link($url) }}"
|
||||
class="{{ 'lvl' . $level }} {{ $page->isActiveParent($item) ? 'lvl' . $level . '-active' : '' }} {{ $page->isActive($url) ? 'active font-semibold text-blue' : '' }} nav-menu__item hover:text-blue"
|
||||
>
|
||||
{{ $label }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue