@extends('layouts.app') @section('title', 'Premium Marketplace') @section('content') {{-- Hero Banner --}} {{-- Features Section --}} @if($cmsFeatures->count() > 0)
@foreach($cmsFeatures as $feature)
@php $featureIcons = [ 'feature_free_shipping' => '', 'feature_support' => '', 'feature_secure' => '', 'feature_returns' => '', ]; $icon = $featureIcons[$feature->key] ?? ''; @endphp
{!! $icon !!}

{{ $feature->title }}

@if($feature->content)

{{ $feature->content }}

@endif
@endforeach
@endif {{-- Categories Section --}} @if($featuredCategories->count() > 0)

Shop by Category

Browse our wide selection of product categories

@endif {{-- Flash Sale Countdown Banner --}}

Flash Sale

Ends in:

08
:
45
:
30
View All Deals
{{-- Flash Sale Section --}} @if(isset($flashProducts) && $flashProducts->count() > 0)

Flash Deals

Hurry! These deals won't last long

@foreach($flashProducts as $product) @endforeach
@endif {{-- Featured Products --}} @if($featuredProducts->count() > 0)
Handpicked

Featured Products

@foreach($featuredProducts as $product)
@if($product->primaryImage) {{ $product->name }} @else
{{ substr($product->name, 0, 1) }}
@endif @if($product->getDiscountPercentage() > 0) -{{ $product->getDiscountPercentage() }}% @endif @if($product->vendor) {{ $product->vendor->name }} @endif @auth
@csrf
@else
@endauth

{{ $product->name }}

@for($i = 1; $i <= 5; $i++) @endfor
({{ $product->reviews_count }})
{{ price($product->price) }} @if($product->compare_price) {{ price($product->compare_price) }} @endif
View
@csrf
@endforeach
@endif {{-- New Arrivals --}} @if($newArrivals->count() > 0)
Just In

New Arrivals

@foreach($newArrivals as $product) @endforeach
@endif {{-- Promotions Banners --}} @if($promotions->count() > 0)
@foreach($promotions->take(2) as $promo)
Promo

{{ $promo->title }}

{{ $promo->content }}

@if($promo->link) {{ $promo->button_text ?? 'Learn More' }} @endif
@endforeach
@endif {{-- Top Vendors --}} @if($topVendors->count() > 0)
Trusted Sellers

Top Vendors

@endif {{-- Newsletter --}}

Stay in the Loop

Subscribe to our newsletter for exclusive deals, new arrivals, and insider-only discounts.

No spam, unsubscribe at any time.

{{-- Countdown Timer Script --}} @endsection