enhance css
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<strong>
|
||||
<a class="green-dark @if (($category['id'] ?? false) == $menu['children'][$i]['id']) active @endif" href="{{ route('Shop.Categories.show', ['id' => $menu['children'][$i]['id']]) }}">
|
||||
{{ $menu['children'][$i]['name'] }}
|
||||
<a class="green-dark @if (($category['id'] ?? false) == $menu_children['id']) active @endif" href="{{ route('Shop.Categories.show', ['id' => $menu_children['id']]) }}">
|
||||
{{ $menu_children['name'] }}
|
||||
</a>
|
||||
</strong><br>
|
||||
@foreach ($menu['children'][$i]['children'] ?? [] as $leaf)
|
||||
@foreach ($menu_children['children'] ?? [] as $leaf)
|
||||
<a class="green-dark @if (($category['id'] ?? false) == $leaf['id']) active @endif" href="{{ route('Shop.Categories.show', ['id' => $leaf['id']]) }}">
|
||||
{{ $leaf['name'] }}
|
||||
</a><br>
|
||||
@endforeach
|
||||
@endforeach
|
||||
|
||||
Reference in New Issue
Block a user