This commit is contained in:
Samuel Štancl 2021-11-29 19:39:13 +01:00
parent 9c1167a8d3
commit 84ce0b390c
7 changed files with 45 additions and 17472 deletions

View file

@ -2,7 +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
@if(\Illuminate\Support\Str::contains($url, 'saas-boilerplate')) data-splitbee-event="Click sidebar CTA" @endif
>
{{ $label }}
</a>