- Added standard Laravel directory structure and configuration. - Included Svelte and Tailwind configuration for the admin interface. - Added core PHPUnit and testing scripts.
17 lines
593 B
PHP
17 lines
593 B
PHP
<nav>
|
|
<ul>
|
|
@foreach($navigation as $item)
|
|
<li>
|
|
<a href="{{ $item['url'] }}" target="{{ $item['target'] ?? '_self' }}">{{ $item['label'] }}</a>
|
|
@if(!empty($item['children']))
|
|
<ul>
|
|
@foreach($item['children'] as $child)
|
|
<li><a href="{{ $child['url'] }}" target="{{ $child['target'] ?? '_self' }}">{{ $child['label'] }}</a></li>
|
|
@endforeach
|
|
</ul>
|
|
@endif
|
|
</li>
|
|
@endforeach
|
|
</ul>
|
|
</nav>
|