@foreach ($sections as $section)
@continue(isset($section['show']) && !$section['show'])
@continue(!empty($section['link']))
{{ $section['heading'] }}
@if(!empty($section['view']))
@include($section['view'], $section['data'] ?? [])
@endif
@if(!empty($section['image']))
@endif
@if(!empty($section['text']))
{{ $section['text'] }}
@endif
@if(!empty($section['blocks']))
@foreach($section['blocks'] as $block)
@if(!empty($block['heading']))
{{ $block['heading'] }}
@endif
@if(!empty($block['view']))
@include($block['view'], $block['data'] ?? [])
@endif
@if(!empty($block['image']))
@endif
@endforeach
@endif
@if(!empty($section['links']))
@endif
@endforeach