@inject('SectionService', 'App\Services\SectionService') @php $param = 'news'; $newsData = $SectionService->get($param); @endphp
@foreach ($newsData['content'] ?? [] as $tabId => $tabItems)
@forelse ($tabItems as $item)
{{ $item['title'] ?? 'Default Title' }}

{{ $item['text'] ?? 'Default content.' }}

@empty

No content available for this section.

@endforelse
@endforeach