@extends('frontend.layout') @section('pageHeading') {{ __('Home') }} @endsection @section('metaKeywords') @if (!empty($seoInfo)) {{ $seoInfo->meta_keyword_home }} @endif @endsection @section('metaDescription') @if (!empty($seoInfo)) {{ $seoInfo->meta_description_home }} @endif @endsection @section('content')
@if ($heroSectionImage) Bg-img @else Bg-img @endif

{{ !empty($heroSection->title) ? $heroSection->title : 'Are You Looking For A business?' }}

{{ !empty($heroSection->text) ? $heroSection->text : '' }}

@if ($secInfo->location_section_status == 1)
@endif @if ($secInfo->category_section_status == 1)

{{ $catgorySecInfo ? $catgorySecInfo->title : 'CATEGORIES' }}

@if (count($categories) < 1)

{{ __('NO CATEGORY FOUND') . '!' }}

@else
@foreach ($categories as $category) @endforeach
@endif
Shape Shape
@endif @if ($secInfo->featured_listing_section_status == 1)

{{ $listingSecInfo ? $listingSecInfo->title : 'LISTINGS' }}

{{ @$listingSecInfo->subtitle }}

@if (count($total_listing_contents) > count($listing_contents)) {{ $listingSecInfo ? $listingSecInfo->button_text : 'More' }} @endif
@if (count($listing_contents) < 1)

{{ __('NO LISTING FOUND') }}

@else
@foreach ($listing_contents as $listing_content)
{{ optional($listing_content)->title }} @if (Auth::guard('web')->check()) @php $user_id = Auth::guard('web')->user()->id; $checkWishList = checkWishList($listing_content->id, $user_id); @endphp @else @php $checkWishList = false; @endphp @endif
@php if ($listing_content->vendor_id == 0) { $vendorInfo = App\Models\Admin::first(); $userName = 'admin'; } else { $vendorInfo = App\Models\Vendor::findorfail($listing_content->vendor_id); $userName = $vendorInfo->username; } @endphp @php $categorySlug = App\Models\ListingCategory::findorfail($listing_content->category_id); @endphp {{ $listing_content->category_name }}
{{ optional($listing_content)->title }}
({{ $listing_content->average_rating }}) {{ totalListingReview($listing_content->id) }} {{ __('Reviews') }}
@php $city = null; $State = null; $country = null; if ($listing_content->city_id) { $city = App\Models\Location\City::Where('id', $listing_content->city_id)->first()->name; } if ($listing_content->state_id) { $State = App\Models\Location\State::Where('id', $listing_content->state_id)->first() ->name; } if ($listing_content->country_id) { $country = App\Models\Location\Country::Where( 'id', $listing_content->country_id, )->first()->name; } @endphp {{ @$city }} @if (@$State) ,{{ $State }} @endif @if (@$country) ,{{ @$country }} @endif @if ($listing_content->max_price && $listing_content->min_price)
{{ __('From') }}
{{ symbolPrice($listing_content->min_price) }} - {{ symbolPrice($listing_content->max_price) }}
@endif
@endforeach
@endif
Shape Shape
@endif @if ($secInfo->video_section == 1)
Bg-img

{{ @$videoSecInfo->title }}

{{ @$videoSecInfo->subtitle }}

@if (@$videoSecInfo->button_url && @$videoSecInfo->button_name) {{ @$videoSecInfo->button_name }} @endif
@if (@$videoSecInfo->video_url) @endif
@endif @if ($secInfo->latest_listing_section_status == 1)

{{ $featuredSecInfo ? $featuredSecInfo->title : 'LISTINGS' }}

@if (count($latest_listing_contents) < 1)

{{ __('NO LISTING FOUND') }}

@else @foreach ($latest_listing_contents as $listing_content)
{{ optional($listing_content)->title }} @if (Auth::guard('web')->check()) @php $user_id = Auth::guard('web')->user()->id; $checkWishList = checkWishList($listing_content->id, $user_id); @endphp @else @php $checkWishList = false; @endphp @endif
@php if ($listing_content->vendor_id == 0) { $vendorInfo = App\Models\Admin::first(); $userName = 'admin'; } else { $vendorInfo = App\Models\Vendor::findorfail($listing_content->vendor_id); $userName = $vendorInfo->username; } @endphp @php $categorySlug = App\Models\ListingCategory::findorfail($listing_content->category_id); @endphp {{ $listing_content->category_name }}
{{ optional($listing_content)->title }}
({{ $listing_content->average_rating }}) {{ totalListingReview($listing_content->id) }} {{ __('Reviews') }}
@php $city = null; $State = null; $country = null; if ($listing_content->city_id) { $city = App\Models\Location\City::Where('id', $listing_content->city_id)->first() ->name; } if ($listing_content->state_id) { $State = App\Models\Location\State::Where('id', $listing_content->state_id)->first() ->name; } if ($listing_content->country_id) { $country = App\Models\Location\Country::Where( 'id', $listing_content->country_id, )->first()->name; } @endphp {{ @$city }} @if (@$State) ,{{ $State }} @endif @if (@$country) ,{{ @$country }} @endif @if ($listing_content->max_price && $listing_content->min_price)
{{ __('From') }}
{{ symbolPrice($listing_content->min_price) }} - {{ symbolPrice($listing_content->max_price) }}
@endif
@endforeach @endif
@if (count($latest_listing_content_total) > count($listing_contents)) @endif
Shape Shape Shape Shape
@endif @if ($secInfo->package_section_status == 1)

{{ $packageSecInfo ? $packageSecInfo->title : 'Most Affordable Package' }}

@if (count($terms) < 1)

{{ __('NO PACKAGE FOUND') }}

@else @foreach ($terms as $index => $term)
@php $packages = \App\Models\Package::where('status', '1')->where('term', strtolower($term))->get(); $totalItems = count($packages); $middleIndex = intdiv($totalItems, 2); @endphp @foreach ($packages as $index => $package) @php $permissions = $package->features; if (!empty($package->features)) { $permissions = json_decode($permissions, true); } @endphp

{{ __($package->title) }}

@if ($package->recommended == '1') {{ __('Popular') }} @endif

{{ symbolPrice($package->price) }} @if ($package->term == 'monthly') / {{ __('Monthly') }} @elseif($package->term == 'yearly') / {{ __('Yearly') }} @elseif($package->term == 'lifetime') / {{ __('Lifetime') }} @endif
{{ __('What\'s Included') }}
  • @if ($package->number_of_listing == 999999) {{ __('Listing (Unlimited)') }} @elseif($package->number_of_listing == 1) {{ __('Listing') }} ({{ $package->number_of_listing }}) @else {{ __('Listings') }} ({{ $package->number_of_listing }}) @endif
  • @if ($package->number_of_images_per_listing == 999999) {{ __('Images Per Listing (Unlimited)') }} @elseif($package->number_of_images_per_listing == 1) {{ __('Image Per Listing') }} ({{ $package->number_of_images_per_listing }}) @else {{ __('Images Per Listings') }} ({{ $package->number_of_images_per_listing }}) @endif
  • {{ __('Enquiry Form') }}
  • {{ __('Video') }}
  • @if (is_array($permissions) && in_array('Amenities', $permissions)) @if ($package->number_of_amenities_per_listing == 999999) {{ __('Amenities Per Listing(Unlimited)') }} @elseif($package->number_of_amenities_per_listing == 1) {{ __('Amenitie Per Listing') }} ({{ $package->number_of_amenities_per_listing }}) @else {{ __('Amenities Per Listing') }} ({{ $package->number_of_amenities_per_listing }}) @endif @else {{ __('Amenities Per Listing') }} @endif
  • @if (is_array($permissions) && in_array('Feature', $permissions)) @if ($package->number_of_additional_specification == 999999) {{ __('Feature Per Listing (Unlimited)') }} @elseif($package->number_of_additional_specification == 1) {{ __('Feature Per Listing') }} ({{ $package->number_of_additional_specification }}) @else {{ __('Features Per Listing') }} ({{ $package->number_of_additional_specification }}) @endif @else {{ __('Feature Per Listing') }} @endif
  • @if (is_array($permissions) && in_array('Social Links', $permissions)) @if ($package->number_of_social_links == 999999) {{ __('Social Links Per Listing(Unlimited)') }} @elseif($package->number_of_social_links == 1) {{ __('Social Link Per Listing') }} ({{ $package->number_of_social_links }}) @else {{ __('Social Links Per Listing') }} ({{ $package->number_of_social_links }}) @endif @else {{ __('Social Link Per Listing') }} @endif
  • @if (is_array($permissions) && in_array('FAQ', $permissions)) @if ($package->number_of_faq == 999999) {{ __('FAQ Per Listing(Unlimited)') }} @elseif($package->number_of_faq == 1) {{ __('FAQ Per Listing') }} ({{ $package->number_of_faq }}) @else {{ __('FAQs Per Listing') }} ({{ $package->number_of_faq }}) @endif @else {{ __('FAQ Per Listing') }} @endif
  • {{ __('Business Hours') }}
  • @if (is_array($permissions) && in_array('Products', $permissions)) @if ($package->number_of_products == 999999) {{ __('Products Per Listing (Unlimited)') }} @elseif($package->number_of_products == 1) {{ __('Product Per Listing') }} ({{ $package->number_of_products }}) @else {{ __('Products Per Listing') }} ({{ $package->number_of_products }}) @endif @else {{ __('Products Per Listing') }} @endif
  • @if (is_array($permissions) && in_array('Products', $permissions))
  • @if ($package->number_of_images_per_products == 999999) {{ __('Product Image Per Product (Unlimited)') }} @elseif($package->number_of_images_per_products == 1) {{ __('Product Image Per Product') }} ({{ $package->number_of_images_per_products }}) @else {{ __('Product Images Per Product') }} ({{ $package->number_of_images_per_products }}) @endif
  • @else
  • {{ __('Product Image Per Product') }}
  • @endif @if (is_array($permissions) && in_array('Products', $permissions))
  • {{ __('Product Enquiry Form') }}
  • @else
  • {{ __('Product Enquiry Form') }}
  • @endif
  • {{ __('Messenger') }}
  • {{ __('WhatsApp') }}
  • {{ __('Telegram') }}
  • {{ __('Tawk.To') }}
  • @if (!is_null($package->custom_features)) @php $features = explode("\n", $package->custom_features); @endphp @if (count($features) > 0) @foreach ($features as $key => $value)
  • {{ __($value) }}
  • @endforeach @endif @endif
@auth('vendor') {{ __('Purchase') }} @endauth @guest('vendor') {{ __('Purchase') }} @endguest
@endforeach
@endforeach @endif
Shape Shape Shape Shape
@endif @if ($secInfo->testimonial_section_status == 1)

{{ !empty($testimonialSecInfo->title) ? $testimonialSecInfo->title : '' }}

{{ !empty($testimonialSecInfo->subtitle) ? $testimonialSecInfo->subtitle : '' }}

@foreach ($testimonials as $testimonial)

{{ $testimonial->comment }}

Person Image
{{ $testimonial->name }}
{{ $testimonial->occupation }}
@endforeach
Image
Shape Shape Shape Shape
@endif @if ($secInfo->blog_section_status == 1)

{{ !empty($blogSecInfo->title) ? $blogSecInfo->title : 'Read Our Latest Blog' }}

@if (count($blog_count) > count($blogs)) {{ $blogSecInfo ? $blogSecInfo->button_text : 'More' }} @endif
@if (count($blogs) < 1)

{{ __('NO POST FOUND') . '!' }}

@else @foreach ($blogs as $blog)
@endforeach @endif
Shape Shape Shape
@endif @endsection @section('script') @endsection