mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 02:04:03 +00:00
Update menu-item.blade.php
This commit is contained in:
parent
8e919383a7
commit
4d666a2a55
1 changed files with 1 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
@if ($url = is_string($item) ? $item : $item->url)
|
||||
<a href="{{ $page->isUrl($url) ? $url : $page->link($url) }}"
|
||||
class="{{ 'lvl' . $level }} {{ $page->isActiveParent($item) ? 'lvl' . $level . '-active' : '' }} {{ $page->isActive($url) ? 'active' : '' }} nav-menu__item"
|
||||
@if(Str::contains($url, 'saas-boilerplate')) data-splitbee-event="Click sidebar CTA" @endif
|
||||
>
|
||||
{{ $label }}
|
||||
</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue