@extends('layouts.admin') @section('styles') @include('admin.partials.frontend-setup-styles') @endsection @section('content') @php $activeTab = request('tab', 'service_section'); @endphp
@include('admin.partials.pro-hero', [ 'icon' => 'fas fa-th-large', 'title' => __('Homepage Sections'), 'subtitle' => __('হোমপেজের সকল সেকশন হেডিং ও টেক্সট এডিট করুন'), 'breadcrumbs' => [ ['label' => __('Dashboard'), 'url' => route('admin.dashboard')], ['label' => __('Homepage Sections'), 'url' => null], ], ]) @include('includes.admin.form-error') @include('includes.admin.form-success') @include('admin.partials.frontend-setup-nav')

সেকশন কন্টেন্ট

হিরো সেকশন
@foreach($labels as $key => $label) @endforeach
@foreach($labels as $key => $label) @php $sec = $sections[$key]; @endphp
@csrf
HTML accent: <span class="home-services__accent">...</span>
@if($key === 'service_section')
হাইলাইট পয়েন্ট
@php $highlights = $sec->extra['highlights'] ?? []; @endphp @for($i = 0; $i < max(4, count($highlights)); $i++) @php $h = $highlights[$i] ?? ['icon' => '', 'text' => '']; @endphp
@endfor
@endif @if($key === 'steps_section')
৩ ধাপ
@php $steps = $sec->extra['steps'] ?? []; @endphp @for($i = 0; $i < max(3, count($steps)); $i++) @php $step = $steps[$i] ?? []; @endphp
ধাপ #{{ $i + 1 }}
@endfor
@endif @if($key === 'portfolio_section')
@endif @if($key === 'team_section')
@endif @if($key === 'cta_section')
@endif
@endforeach
@endsection @section('scripts') @endsection