@php
$section_key = $section->section_key;
@endphp
نحوه ارثبری محتوا
@foreach($inheritance_options as $mode_key => $mode_label)
inheritance_mode === $mode_key) ? 'selected' : '' }}>
{{ $mode_label }}
@endforeach
@if($section_key === 'header')
@php
$cta_buttons = (array) ($content['cta_buttons'] ?? []);
$cta_buttons = array_pad($cta_buttons, 2, ['text' => '', 'link' => '', 'color' => 'green']);
@endphp
CTA Button ها (حداکثر ۲ مورد)
@for($index = 0; $index < 2; $index++)
@endfor
@endif
@if($section_key === 'success_path')
@php
$steps = (array) ($content['steps'] ?? []);
$steps_count = is_array($steps) ? count($steps) : 0;
@endphp
استپ ها
افزودن استپ
@foreach($steps as $index => $step)
@endforeach
@endif
@if($section_key === 'audio_player')
@endif
@if($section_key === 'card_section')
@php
$cards = (array) ($content['cards'] ?? []);
$cards_count = is_array($cards) ? count($cards) : 0;
@endphp
Card ها
افزودن Card
@foreach($cards as $index => $card)
@endforeach
@endif
@if($section_key === 'account_charge')
@endif
@if($section_key === 'left_right_description')
عنوان
موقعیت تصویر
سمت راست
سمت چپ
توضیح
@endif
@if($section_key === 'charge_plans')
@endif
@if($section_key === 'honors')
@endif
@if($section_key === 'success_path_v2')
@php
$steps_v2 = (array) ($content['steps'] ?? []);
@endphp
استپ ها (حالت دوم)
افزودن استپ
@foreach($steps_v2 as $index => $step)
@endforeach
@endif
@if($section_key === 'card_section_v2')
@php
$cards_v2 = (array) ($content['cards'] ?? []);
@endphp
کارت های حالت دوم
افزودن کارت
@foreach($cards_v2 as $index => $card)
@endforeach
@endif
@if($section_key === 'growth')
@php
$growth_buttons = (array) ($content['buttons'] ?? []);
@endphp
دکمه های رشد
افزودن دکمه
@foreach($growth_buttons as $index => $button)
@endforeach
@endif
@if($section_key === 'specifications')
@php
$spec_items = (array) ($content['items'] ?? []);
@endphp
لیست ویژگی ها
افزودن ویژگی
@foreach($spec_items as $index => $item)
@endforeach
@endif
@if($section_key === 'subscriptions')
لیست پلنها از اشتراکهایی که در بخش «اشتراکها» ادمین به این خدمت متصل کردهاید، بهصورت خودکار نمایش داده میشود.
تنظیم دکمهها نیز روی خود هر اشتراک انجام میشود.
@endif
@if($section_key === 'map_address')
@endif
@if($section_key === 'admob_income_calculator')
این سکشن محتوای مشترک دارد و فقط فعال/غیرفعال شدن و ترتیب آن در این صفحه مدیریت میشود.
@endif
@if($section_key === 'adsense_income_calculator')
این سکشن محتوای مشترک دارد و فقط فعال/غیرفعال شدن و ترتیب آن در این صفحه مدیریت میشود.
@endif
@if($section_key === 'compare_table')
@php
$compare_items = (array) ($content['items'] ?? []);
$compare_features = (array) ($content['features'] ?? []);
$compare_matrix = (array) ($content['matrix'] ?? []);
@endphp
آیتم های مقایسه
افزودن آیتم
@foreach($compare_items as $index => $item)
@endforeach
ویژگی های قابل مقایسه
افزودن ویژگی
@foreach($compare_features as $feature_index => $feature)
@endforeach
@if(count($compare_items) > 0 && count($compare_features) > 0)
ماتریس مقایسه (تیک = دارد)
برای اضافه شدن سطر/ستون جدید در ماتریس، ابتدا آیتم یا ویژگی را ذخیره کنید و سپس تیکها را تنظیم کنید.
@endif
@endif
@if($section_key === 'customers')
@endif
@if($section_key === 'contact_cta')
@endif
@if($section_key === 'page_description')
این سکشن متن را از فیلد توضیحات خود خدمت میخواند و در اینجا فقط فعال/غیرفعال شدن و ترتیب آن مدیریت میشود.
@endif
@if($section_key === 'service_types')
@endif
@if($section_key === 'faq_section')
@php
$faq_items = (array) ($content['items'] ?? []);
@endphp
آیتم های FAQ
افزودن سوال
@foreach($faq_items as $index => $faq)
@endforeach
@endif
@if($section_key === 'work_samples_section')
@php
$work_samples = (array) ($content['items'] ?? []);
@endphp
نمونه کارها
افزودن نمونه کار
@foreach($work_samples as $index => $sample)
@endforeach
@endif
@if($section_key === 'technologies_section')
آیتم های تکنولوژی به صورت مشترک از بخش مدیریت تکنولوژی ها خوانده میشوند.
@endif