@extends('frontend.layout.appLayout') @section('content') {{-- Carousel Section --}} @if(isset($latestBlogs) && count($latestBlogs) > 0) @foreach ($latestBlogs as $index => $blog) @endforeach @foreach ($latestBlogs as $key => $blog) {{ $blog->title }} Know More @endforeach @else @if(request('search')) Search Results @elseif(isset($category)) {{$category->name}} {{$category->description}} @else Coming Soon We are working on this section, please check back later. @endif @endif {{-- Navigation Section --}} @if(isset($categories) && count($categories) > 0) All @foreach ($categories as $category) @if ($category->subCategories->count()) {{ $category->name }} + @foreach ($category->subCategories as $subCategory) {{ $subCategory->name }} @endforeach @else {{ $category->name }} @endif @endforeach Search @endif {{-- Blogs Section --}} @if(isset($allBlogs) && count($allBlogs) > 0) Search @foreach ($allBlogs as $blog) {{ strtoupper($blog->topic) }} {{ $blog->reding_time }} mins 🕘 {{ $blog->title }} @endforeach {{ $allBlogs->links() }} @endif {{-- If No Data, Show "Coming Soon" Section --}} @endsection
{{$category->description}}
We are working on this section, please check back later. @endif