hypothetical/resources/views/dashboard/elements/menu.blade.php

13 lines
282 B
PHP
Raw Normal View History

@set('menu', [
[ 'Contact', 'contact' ],
[ 'Subscriptions', 'subscriptions' ]
])
@foreach($menu as $menu_item)
<li class="{{ $menu_class }}">
<a href="{{ url('/dashboard/' . $menu_item[1]) }}">
{{ $menu_item[0] }}
</a>
</li>
@endforeach