@extends('backEnd.layouts.master') @section('title', 'Homepage Settings') @section('content')

Homepage Settings

Structured layout — section on/off per active theme. Demo install buttons only affect their theme data.

@if($canManageAllThemes ?? false)
@csrf
@csrf
@csrf
@endif Theme Colors Drag and Drop Builder View Site
@if(session('success'))
{{ session('success') }}
@endif
Editing homepage for {{ ucfirst($activeTheme ?? 'organic') }} theme. @if($canManageAllThemes ?? false) Switch theme in Theme Settings to configure another theme. @else Theme layout locked — color ও section settings এখান থেকেই customize করুন। @endif
@csrf
{{-- Layout mode --}}
Homepage Layout
Hero sidebar + slider → Categories → Trending → Combo
Drag and Drop Builder দিয়ে custom homepage — content save থাকলে সেটাই দেখাবে

4500 = 4.5 seconds per slide
{{-- Section toggles --}}
Sections On/Off
@foreach([ ['show_trust_bar', 'Trust Bar (on/off — customize in Website Settings → Trust Bar)'], ['show_categories', 'Top Categories (Fashion tiles)'], ['show_featured_collections', 'Featured Collections (Men / Women tabs)'], ['show_promo_banners', 'Promo Cards (3 banners after categories)'], ['show_spotlight_grid', 'Spotlight Grid (3×2 product promo cards — Gadget theme)'], ['show_trending', 'Top Trending Products'], ['show_new_arrivals', 'New Arrival Products'], ['show_formal_ethnic', 'Formal Wear + Ethnic Wear blocks'], ['show_journal', 'From the Journal (Blog)'], ['show_gift_cards', 'Gift Card section'], ['show_combo', 'Combo Offers (Organic theme)'], ['show_popular', 'Popular Products'], ['show_bestsellers', 'Best Sellers'], ['show_gold_price', "Today's Gold Price (Jewelry theme)"], ['show_testimonials', 'Testimonials'], ['show_order_tracking', 'Order Tracking Bar'], ] as [$key, $label])
@endforeach @php $catStyles = collect(config('homepage-category-styles', [])) ->filter(fn ($meta, $key) => in_array($activeTheme ?? 'organic', $meta['themes'] ?? [], true)); $currentCatStyle = old('category_display_style', $settings['category_display_style'] ?? 'freshio_pills'); @endphp @if($catStyles->isNotEmpty())
@php $styleHelp = $catStyles->get($currentCatStyle)['description'] ?? ''; @endphp {{ $styleHelp }}
@endif
{{-- Hero sliders --}}
Hero Sliders Add
@forelse($heroBanners as $banner)
{{ $banner->title ?: 'Untitled' }}
{{ $banner->status ? 'Active' : 'Off' }} #{{ $banner->sort_order }}
@empty

No hero slider yet

@if(\App\Services\DemoHeroBannerService::hasDemoAssets()) @endif Upload Custom
@endforelse
@include('backEnd.settings.partials.homepage-promo-cards')
Preview Frontend
@endsection @push('scripts') @endpush