{{-- resources/views/partials/header.blade.php --}} {{-- Required for wishlist.js to know who's logged in and to pass CSRF checks on sync --}} {{-- Logo --}} {{-- Nav --}} Deals of the Month {{-- Dynamic categories, each with a mega menu panel --}} @foreach ($categories ?? [] as $category) @php $subs = ($grouped ?? collect())->get($category->id, collect()); $columns = $subs->chunk(6); @endphp {{ $category->name }} @if ($subs->count()) @foreach ($columns as $column) @foreach ($column as $sub) {{ $sub->sub_name }} @endforeach @endforeach @if (!empty($category->banner_image)) Shop {{ $category->name }} @endif @endif @endforeach Collectors Wholesale/Bulk Events {{-- Actions --}} @if (Auth::user()) My Profile Logout @else @endif