@props(['title' => null, 'description' => null, 'keywords' => null, 'image' => null, 'type' => null, 'canonical' => null, 'noindex' => false, 'schema' => [], 'breadcrumbs' => [], 'paginator' => null, 'product' => null]) @php $user = auth()->user(); $categories = array_values(app(\App\Modules\Catalog\Support\ProductCatalog::class)->categories()); $navCategories = array_slice($categories, 0, 8); $cartCount = app(\App\Modules\Cart\Services\CartService::class)->count(); $wishCount = app(\App\Modules\Cart\Services\WishlistService::class)->count(); @endphp @include('partials.head', ['title' => $title, 'description' => $description, 'keywords' => $keywords, 'image' => $image, 'type' => $type, 'canonical' => $canonical, 'noindex' => $noindex, 'schema' => $schema, 'breadcrumbs' => $breadcrumbs, 'paginator' => $paginator, 'product' => $product, 'entry' => 'storefront']) @if (($gtm = settings('seo.gtm_id')) && ! request()->routeIs('account.*'))@endif Skip to content {{-- Top bar: delivery message and quick links --}}

{{ settings('homepage.announcement') ?: \App\Modules\Orders\Support\Shipping::describe(null) }}

{{-- Header: logo row (logo, deliver-to pincode, search, actions) and the red category bar --}} @php($deliverTo = session(\App\Modules\Shipping\Http\Controllers\DeliveryPincodeController::SESSION_KEY)) {{-- Mobile menu --}}
@include('partials.brand')
@foreach ($categories as $i => $category)

Shop all @foreach ($category['children'] as $child) {{ $child }} @endforeach
@endforeach
@if (session()->hasAny(['success', 'status', 'error']))
@endif @if (session('cart_added'))
Added to your cart. View cart ({{ $cartCount }})
@endif {{ $slot }}
{{-- Mobile bottom navigation --}} {{-- Quick view (filled by resources/js/storefront.js) --}} {{-- Slide-out cart (filled by resources/js/storefront.js from /cart/drawer) --}} @unless (request()->routeIs('cart', 'checkout*'))
@endunless @php($compare = app(\App\Modules\Catalog\Services\CompareService::class)) @if ($compare->count() && ! request()->routeIs('compare', 'checkout*', 'cart')) @endif @unless (request()->routeIs('bulk-quote')) @include('storefront.partials.quote-modal') @endunless @stack('scripts')