{{ env('APP_NAME') }} Dashboard
@if (Auth::guest())
- Login
@if(App\Dashboard::canRegister())
- Register
@endif
@else
@foreach(App\Dashboard::$menu as $menu_item)
@if(array_key_exists('submenu', $menu_item))
@set('dropdown_id', preg_replace([ '/\ \ */', '/[^a-z\-]/' ], [ '-', '' ], strtolower($menu_item['title'])))
-
{{ $menu_item['title'] }}
@else
-
@endif
@endforeach
-
{{ Auth::user()->name }}
@endif