This commit is contained in:
ludo
2024-02-19 23:51:32 +01:00
parent 15a6621a56
commit 869b148e20
18 changed files with 440 additions and 85 deletions

View File

@@ -1,9 +1,9 @@
@php
$submenu = count($menu['children'] ?? []) ? App\Repositories\Core\Arrays::slotify($menu['children'], 6) : [];
@endphp
@endphp
<div class="container p-0">
<div class="row m-0 shadow bg-white p-2 w-100 @if ( in_array($menu['id'], [$category['id'] ?? false, $category['parent_id'] ?? false])) active @endif">
<div class="row m-0 shadow bg-white p-2 w-100 @if (in_array($menu['id'], [$category['id'] ?? false, $category['parent_id'] ?? false])) active @endif">
<div class="col mb-4">
<a class="green-dark" href="{{ route('Shop.Categories.show', ['id' => $menu['id']]) }}">
<div class="w-100"><strong>Tous les articles</strong></div>
@@ -38,4 +38,4 @@
@endfor
</div>
</div>
</div>
</div>