@php //$posts = data_get($categorySection, 'category.post', collect([])); $firstPost = $posts->first(); $bottomPosts = $posts->skip(1)->take(6); @endphp

@if(data_get($categorySection, 'label') == 'videos') {{__('videos')}} @else {{ \Illuminate\Support\Str::upper(data_get($categorySection, 'label')) }} @endif

@if(!blank($firstPost))
@include('site.partials.home.category.first_post')

{!! \Illuminate\Support\Str::limit($firstPost->title, 65) !!}

{!! strip_tags(\Illuminate\Support\Str::limit($firstPost->content, 120)) !!}

@endif
@foreach($bottomPosts->chunk(3) as $postGroup)
@foreach($postGroup as $post)
@include('site.partials.home.category.post_block')

{!! \Illuminate\Support\Str::limit($post->title, 25) !!}

@endforeach
@endforeach