@extends('app') @section('content') @php $home_footers = DB::table('home_footers')->first(); @endphp
@if($feateuredCategories->count())

Popular Category

@forelse($feateuredCategories as $key => $item) @empty No Categories are Available! @endforelse
@endif {{--
@foreach($products as $product) @if($product->is_new) @include('partials.product',['product'=>$product]) @endif @endforeach
@foreach($products as $product) @if($product->is_top) @include('partials.product',['product'=>$product]) @endif @endforeach
@foreach($products as $product) @if($product->is_flash) @include('partials.product',['product'=>$product]) @endif @endforeach
--}} @if($productWithDate > now())
@foreach($dealProducts as $product) @if($product->last_date > now()) @include('partials.product',['product'=>$product]) @endif @endforeach
@endif
@include('partials.productWithCategory')

{{ $home_footers->service_one_header }}

{{ $home_footers->service_one_text }}

{{ $home_footers->service_two_header }}

{{ $home_footers->service_two_text }}

{{ $home_footers->service_three_header }}

{{ $home_footers->service_three_text }}

{{ $home_footers->service_four_header }}

{{ $home_footers->service_four_text }}

@endsection @push('js') @endpush