@extends('layouts.main') @section('content') @if($bannerPosts->count() > 0) @endif @if($topStories->count() > 0)

Top Stories

@foreach ($topStories as $topStory)
{{$topStory->category->name}}

{{$topStory->name}}

@endforeach
@endif
@if($whatsNewPosts->count() > 0)

What’s New

{{$whatsNewPosts[0]->category->name}}

{{$whatsNewPosts[0]->name}}

@foreach ($whatsNewPosts as $key => $whatsNewPost) @if ($key != 0)
{{$whatsNewPost->category->name}}

{{$whatsNewPost->name}}

  • {{$whatsNewPost->getDate()}}
1
@endif @endforeach
@endif @if($lifestylePosts->count() > 0)

Life Style

@foreach ($lifestylePosts as $lifestylePost)
{{$lifestylePost->category->name}}

{{$lifestylePost->name}}

@endforeach
@endif
@if($popularPosts->count() > 0)
@endif

The Most Powerful

News, Blog & Magazine WordPress Theme

@if($fashionPosts->count() > 0)
@foreach ($fashionPosts as $key => $fashionPost)
{{$fashionPost->category->name}}

{{$fashionPost->name}}

  • {{$fashionPost->getDate()}}
@endforeach
@endif @if ($latestPosts->count() > 0)

Latest News

@foreach ($latestPosts as $latestPost)
Adventure

{{$latestPost->name}}

{!!$latestPost->short_description!!}
@endforeach

Subscribe To Our Newsletter

No spam, notifications only about new products, updates.

@csrf

POPULAR NEWS

@foreach ($popularPosts as $popularPost)
{{$popularPost->category->name}}

{{$popularPost->name}}

  • {{$popularPost->getDate()}}
@endforeach
@endif @if ($featuredPosts->count() > 0)
@foreach ($featuredPosts as $key => $featuredPost) @if ($key > 0 && $key < 4)
{{$featuredPost->category->name}}

{{$featuredPost->name}}

  • {{$featuredPost->getDate()}}
@endif @endforeach
@foreach ($featuredPosts as $key => $featuredPost) @if ($key > 3)
{{$featuredPost->category->name}}

{{$featuredPost->name}}

  • {{$featuredPost->getDate()}}
@endif @endforeach
@endif

Get The Best Blog Stories into Your inbox!

@csrf
@endsection @section('css') @endsection @section('script') @endsection