@php /** * Insights split layout — one big featured post LEFT + two stacked list * posts RIGHT. Mirrors html/home-headphone.html lines 3437-3507: * `
` * (section + container + centered heading are emitted by the parent * index.blade.php) > `
`: * col-lg-5 col-xl-6 — one `article-blog style-2 hover-img` (img 690x521) * col-lg-7 col-xl-6 — two `article-blog style-list list-v2 hover-img` * (img 340x227 img-cover) * * Takes the first 3 posts: posts[0] = big left, posts[1..2] = list right. * The parent index already supplies the `section-insights` wrapper via the * `section_class` knob, so this style emits only the inner `.row`. * * Knobs: * list_count — number of stacked list posts on the right column. * Default 2 (back-compat with HomeHeadphone, which uses 1 * featured + 2 list = 3 total). HomeJewelry §12 demo * (html/home-jewelry.html L3655-3751) renders 1 featured + * 3 list = 4 total → pass list_count='3'. * * @var \Illuminate\Support\Collection $posts * @var bool $showExcerpt * @var bool $showMeta */ $posts = collect($posts)->values(); $featured = $posts->first(); $listCount = is_numeric($shortcode->list_count ?? null) ? max(1, (int) $shortcode->list_count) : 2; $rest = $posts->slice(1, $listCount)->values(); @endphp @if ($featured)
@foreach ($rest as $post) @endforeach
@else

{{ __('No posts found.') }}

@endif