@php $links = json_decode($menus, true); @endphp @foreach ($links as $link) @php $href = getHref($link); @endphp @if (!array_key_exists('children', $link))
  • {{ $link['text'] }}
  • @else
  • {{ $link['text'] }}
      @foreach ($link['children'] as $level2) @php $l2Href = getHref($level2); @endphp
    • {{ $level2['text'] }}
    • @endforeach
  • @endif @endforeach
@if (!empty($currentLang)) @endif
@guest('web') {{ __('Login') }} @endguest @auth('web') {{ __('Dashboard') }} @endauth