{{-- Category Tab Navigation --}}

{{-- Tab Navigation --}}
@foreach ($categories as $index => $category) @endforeach
{{-- Tab Contents --}} @php $featureNews = leadNews(); @endphp @forelse ($categories as $category)
@forelse (leadNews() as $info) @if ($loop->first)
@include('global.image',['w'=>'480px'])

{{ $info->title }}

{{ strip_tags($info->details) }}

{{ timeAgo($info->created_at) }}

@endif @empty @endforelse

@forelse ($featureNews as $info) @if ($loop->iteration >= 2 && $loop->iteration <= 4)
@include('global.image')

@if ($info->sub_title) {{ $info->sub_title }} @endif {{ $info->title }}

@endif @empty @endforelse
@forelse ($featureNews as $info) @if ($loop->iteration >= 5 && $loop->iteration <= 9)
@include('global.image',['w'=>'140px'])

@if ($info->sub_title) {{ $info->sub_title }} @endif {{ $info->title }}

@endif @empty @endforelse
@empty @endforelse