@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')

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

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

Shape Shape Shape Shape Shape
@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 Shape Shape Shape
@endif @if ($secInfo->featured_listing_section_status == 1)

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

@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 }}{{ $listing_content->category_id }}
{{ 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($total_listing_contents) > count($listing_contents)) @endif
@endif @if ($secInfo->work_process_section_status == 1)

{{ @$workProcessSecInfo->title }}

@if ($workProcessSecInfo) {{ @$workProcessSecInfo->button_text }} @endif
@foreach ($processes as $process)
0{{ $process->serial_number }}

{{ $process->title }}

@endforeach
Shape Shape Shape Shape Shape
@endif @if ($secInfo->counter_section_status == 1)
Bg-img

{{ $counterSectionInfo ? $counterSectionInfo->title : '' }}

@foreach ($counters as $counter)

{{ $counter->amount }}+

{{ $counter->title }}

@endforeach
@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->call_to_action_section_status == 1)
Bg-img

{{ $callToActionSecInfo ? $callToActionSecInfo->title : '' }}

{{ $callToActionSecInfo ? $callToActionSecInfo->subtitle : '' }}

@if ($callToActionSecInfo && $callToActionSecInfo->button_url && $callToActionSecInfo->button_name) {{ $callToActionSecInfo->button_name }} @endif
Image
@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)

{{ $blog->title }}

{{ strlen(strip_tags(convertUtf8($blog->content))) > 100 ? substr(strip_tags(convertUtf8($blog->content)), 0, 100) . '...' : strip_tags(convertUtf8($blog->content)) }}

{{ __('Read More') }}
@endforeach @endif
@endif @endsection @section('script') @endsection