@inject('SectionService', 'App\Services\SectionService') @php $param = 'villain'; $villainContent = $SectionService->get($param); @endphp

{{ $villainContent['headline'] ?? 'Default Headline' }}

@foreach ($villainContent['buttons'] ?? [] as $button) {{ $button['text'] }} @endforeach
@foreach ($villainContent['challenges'] ?? [] as $challenge)

{{ $challenge['text'] }}

Read More
@endforeach