@php($items = \App\Models\CaseStudy::published()->latest('publish_at')->limit((int) ($d['limit'] ?? 3))->get()) @if ($items->isNotEmpty())
@if (!empty($d['heading']))

{{ $d['heading'] }}

@endif @foreach ($items as $c){{ $c->title }}{{ $c->client_name }}@endforeach
@endif