@extends('layouts.public') @section('title', 'KalaRhea — Fashion For Your Story') @section('content') @php $pageContent = json_decode(\App\Models\Setting::cached('page_content_home') ?? '{}', true); $slides = $pageContent['hero_slides'] ?? [ ['eyebrow'=>__('FASHION FOR YOUR STORY'),'title'=>__('Look Elegant
In Every
Occasion'),'desc'=>__('Quality garments with modern designs and all-day comfort, made to accompany every step you take.'),'btn'=>__('Shop Now')], ['eyebrow'=>__('NEW COLLECTION 2025'),'title'=>__("This Season's
Collection Is Full
Of Inspiration"),'desc'=>__('Discover the latest styles that blend comfort and elegance for every special moment of yours.'),'btn'=>__('Discover Now')] ]; @endphp {{-- HERO SLIDER --}}
@foreach($slides as $i => $s)

{{ $s['eyebrow'] ?? '' }}

{!! $s['title'] ?? '' !!}

{{ $s['desc'] ?? '' }}

{{ $s['btn'] ?? '' }}
@endforeach
1 / 2
{{-- FEATURED PRODUCTS (hanya produk berstatus Featured, diletakkan di atas promo) --}} @if($featuredProducts->isNotEmpty())

{{ $pageContent['featured_label'] ?? __('FEATURED PRODUCTS') }}

{{ $pageContent['featured_title'] ?? __('Handpicked for You') }}

{{ __('View All') }}
@foreach($featuredProducts as $p) @include('home-product-card', ['p' => $p]) @endforeach
@endif {{-- PROMO CARDS --}}

{{ $pageContent['promo_new_label'] ?? __('TRENDING NOW') }}

{{ $pageContent['promo_new_title'] ?? __('New Collection') }}

{{ $pageContent['promo_new_desc'] ?? __('Explore the latest styles for your everyday look.') }}

{{ __('Discover') }}

{{ $pageContent['promo_best_label'] ?? __('HOT ITEMS') }}

{{ $pageContent['promo_best_title'] ?? __('Best Seller') }}

{{ $pageContent['promo_best_desc'] ?? __('Customer favorites, always the go-to choice.') }}

{{ __('Shop Now') }}
{{-- ALL PRODUCTS (feed terbaru, dimuat bertahap) --}}

{{ __('ALL PRODUCTS') }}

{{ __('Explore the Collection') }}

{{ __('View All') }}
@foreach($products as $p) @include('home-product-card', ['p' => $p]) @endforeach
@endsection @push('head') @endpush @push('scripts') @endpush