@php $section_content = (array) ($section_content ?? []); $compare_items = is_array($section_content['items'] ?? null) ? $section_content['items'] : []; $compare_features = is_array($section_content['features'] ?? null) ? $section_content['features'] : []; $compare_matrix = is_array($section_content['matrix'] ?? null) ? $section_content['matrix'] : []; $upload_base = asset((config('paths.upload', 'assets/uploads')) . '/service-landing'); @endphp
@foreach($compare_items as $item) @endforeach @foreach($compare_features as $feature_index => $feature) @foreach($compare_items as $item_index => $item) @php $value = (int) ($compare_matrix[$item_index][$feature_index] ?? 0); @endphp @endforeach @endforeach
{{ $section_content['section_title'] ?? 'مقایسه گوگل ادز و سئو' }}
@if(!empty($item['image'])) {{ $item['title'] ?? '' }} @endif {{ $item['title'] ?? '' }}
{{ $feature['title'] ?? '' }} @if($value === 1) @else @endif