@foreach ($recentNews as $news)
@if ($loop->index <= 2)
-
{{ __('frontend.by') }} {{ $news->auther->name }}
-
{{ date('M d, Y', strtotime($news->created_at)) }}
@endif
@if ($loop->index === 3)
{{ $news->category->name }}
-
{{ __('frontend.by') }} {{ $news->auther->name }}
-
{{ date('M d, Y', strtotime($news->created_at)) }}
{!! truncate($news->content, 160) !!}
{{ __('frontend.read more') }}
@endif
@endforeach
{{ __('frontend.Write Your Comment') }}