@extends('layouts.admin') @section('title', 'Home Section Management') @section('header', 'Home Section Management') @section('content')
Food Home InstaKart Home Add Section
Total Sections
{{ $summary['total'] }}
Active Live Sections
{{ $summary['active'] }}
Built-in Sections
{{ $summary['built_in'] }}
Curated Sections
{{ $summary['dynamic'] }}
Homepage Order

Drag sections to reorder the live homepage. Built-in sections can be reordered but not deleted.

Back to Homepage Content
@foreach($sections as $section)
#{{ $section['sort_order'] }} {{ $section['title'] }} {{ ucfirst(str_replace('_', ' ', $section['source'])) }} {{ $section['is_active'] ? 'Live' : 'Hidden' }}
{{ $section['subtitle'] ?: 'No subtitle set.' }}
Type: {{ \App\Models\HomeSection::TYPES[$section['type']] ?? ucwords(str_replace('_', ' ', $section['type'])) }}
@if($section['source'] === 'dynamic')
Edit
@csrf @method('DELETE')
@endif
@endforeach
@csrf
@endsection