@php $products = collect($products ?? []); $sectionClass = $sectionClass ?? ''; $seeAllUrl = $seeAllUrl ?? route('frontend.category', array_filter(['category_id' => $freshCategory?->id ?? null])); @endphp @if ($products->isNotEmpty())

{{ $title }}

@foreach ($products->take(6) as $product) @include('frontend.components.home-product-card', [ 'product' => $product, 'timerEndsAt' => $section?->scheduled_to ?? null, ]) @endforeach
@endif