enhance css

This commit is contained in:
Ludovic CANDELLIER
2023-02-05 21:40:05 +01:00
parent 0123885e03
commit 32291dc44a
21 changed files with 553 additions and 121 deletions

View File

@@ -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