@php $is_rtl = 'false'; @endphp @if (\Mcamara\LaravelLocalization\Facades\LaravelLocalization::getCurrentLocaleDirection() == 'rtl') @php $is_rtl = 'true'; @endphp @else @php $is_rtl = 'false'; @endphp @endif @extends('frontend.layouts.master') @section('content') @include('frontend.home.partials.entry-popup', ['entryPopup' => $entryPopup]) {{-- ADS Banner --}} @if ($adsBanner && $adsBanner->getMedia(Helper::ADS_COLLECTION) !== '')
    @foreach ($adsBanner->getMedia(Helper::ADS_COLLECTION) as $key => $mediaItem)
  • @endforeach
@endif {{-- popular categories --}} @if (count($popularCategories) > 0)
@endif @if (count($offers) >= 2)
@foreach($offers as $offerKey => $offer) @endforeach
@endif {{-- Products --}} @if ($newProducts->where('number_of_sales', '>=', 5)->isNotEmpty())

@if (auth()->check() && auth()->user()->hasRole('user')) {{ __('routes.On Sale') }} @elseif(auth()->check() && auth()->user()->hasRole('wholesale')) {{ __('routes.Packages') }} @else {{ __('routes.On Sale') }} @endif

@endif {{-- newinProducts --}} {{-- Featured Products --}} {{-- All Reviews --}} @if (count($reviews) > 0)

{{ __('routes.Customer reviews') }}

@endif {{-- Testimonials --}} @if (count($testimonials) > 0)

{{ __('routes.testimonials') }}

@endif @endsection @section('script') @endsection