@php $parentSlug = $parentSlug ?? ''; $title = array_key_exists('title', get_defined_vars()) ? $title : 'Specialised Sub-Services'; $intro = array_key_exists('intro', get_defined_vars()) ? $intro : 'Each service below has a dedicated page with scope, deliverables, and how we run it for Kenya businesses.'; $wrapper = $wrapper ?? 'inline'; $plain = $plain ?? false; $subServices = \App\Models\SubService::forParent($parentSlug); @endphp @if($subServices->isNotEmpty()) @if($wrapper === 'section')
@if($title)

{{ $title }}

@endif @if($intro)

{{ $intro }}

@endif
@foreach($subServices as $subService) @endforeach
@else
@if($title)

{{ $title }}

@endif @if($intro)

{{ $intro }}

@endif
@foreach($subServices as $subService) @endforeach
@endif @endif