@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') @php $position = $currencyInfo->base_currency_symbol_position; $symbol = $currencyInfo->base_currency_symbol; @endphp

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

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

@if (!empty($staticInfo->button_name) && !empty($staticInfo->button_url)) {{ $staticInfo->button_name }} @endif

{{ __('Find Your Equipment') }}

@if ($secInfo->about_section_status == 1)
{{ !empty($aboutSecInfo->subtitle) ? $aboutSecInfo->subtitle : '' }}

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

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

@if (!empty($aboutSecInfo->button_name) && !empty($aboutSecInfo->button_url)) {{ $aboutSecInfo->button_name }} @endif
@if (!empty($aboutSectionImage))
about image
@endif
{!! showAd(3) !!}
@endif @if ($secInfo->work_process_section_status == 1)
{{ !empty($workProcessSecInfo->subtitle) ? $workProcessSecInfo->subtitle : '' }}

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

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

@if (count($processes) == 0)

{{ __('No Work Process Found') . '!' }}

@else
@foreach ($processes as $process)
{{ str_pad($loop->index + 1,2, '0', STR_PAD_LEFT) }}
{{ $process->title }}
@endforeach
@endif
{!! showAd(3) !!}
@endif @if ($secInfo->feature_section_status == 1)
{{ !empty($featureSecInfo->subtitle) ? $featureSecInfo->subtitle : '' }}

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

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

@if (count($features) == 0)

{{ __('No Feature Found') . '!' }}

@else
@foreach ($features as $feature)

{{ $feature->title }}

{{ $feature->text }}

@endforeach
@endif
@endif @if ($secInfo->counter_section_status == 1)
counter_section_image)) data-bg="{{ asset('assets/img/' . $counterSectionInfo->counter_section_image) }}" @endif>
@if (count($counters) == 0)

{{ __('No Information Found') . '!' }}

@else
@foreach ($counters as $counter)

{{ $counter->amount }}+

{{ $counter->title }}
@endforeach
@endif
@endif @if ($secInfo->equipment_section_status == 1)
{{ !empty($equipmentSecInfo->subtitle) ? $equipmentSecInfo->subtitle : '' }}

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

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

@if (count($allEquipment) == 0)

{{ __('No Equipment Found') . '!' }}

@else
@foreach ($allEquipment as $equipment)
{{ strlen($equipment->title) > 15 ? mb_substr($equipment->title, 0, 15, 'UTF-8') . '...' : $equipment->title }}
@if (!empty($equipment->lowest_price)) {{ __('Starts From') }} @endif
@if (!empty($equipment->lowest_price))

{{ $position == 'left' ? $symbol : '' }}{{ $equipment->lowest_price }}{{ $position == 'right' ? $symbol : '' }}

@endif
@if (!empty($equipment->per_day_price)) {{ $position == 'left' ? $symbol : '' }}{{ $equipment->per_day_price }}{{ $position == 'right' ? $symbol : '' }}{{ '/' . __('Day') }} @endif @if (!empty($equipment->per_week_price)) {{ $position == 'left' ? $symbol : '' }}{{ $equipment->per_week_price }}{{ $position == 'right' ? $symbol : '' }}{{ '/' . __('Week') }} @endif @if (!empty($equipment->per_month_price)) {{ $position == 'left' ? $symbol : '' }}{{ $equipment->per_month_price }}{{ $position == 'right' ? $symbol : '' }}{{ '/' . __('Month') }} @endif
    @php $features = explode(PHP_EOL, $equipment->features); @endphp @foreach ($features as $feature) @if ($loop->iteration <= 3)
  • {{ $feature }}
  • @else
  • {{ $feature }}
  • @endif @endforeach
@if (count($features) > 3) {{ __('More Features') . '...' }} @endif {{ $equipment->categoryName }}
@if ($equipment->vendor_id != null) {{ __('By') }} {{ $vendor = optional($equipment->vendor)->username }} @else {{ __('By') }} {{ __('Admin') }} @endif
{{ number_format($equipment->avgRating, 2) }} ({{ $equipment->ratingCount . ' ' . __('rating') }})
{{ __('View') }}
@endforeach
@endif
{!! showAd(3) !!}
@endif @if ($secInfo->testimonial_section_status == 1)
{{ !empty($testimonialSecInfo->subtitle) ? $testimonialSecInfo->subtitle : '' }}

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

@if (count($testimonials) == 0)

{{ __('No Testimonial Found') . '!' }}

@else
@foreach ($testimonials as $testimonial)

{{ $testimonial->comment }}

@if (is_null($testimonial->image)) image @else client image @endif

{{ $testimonial->name }}

{{ $testimonial->occupation }}
@endforeach
@endif
@endif @if ($secInfo->product_section_status == 1)
{{ !empty($productSecInfo->subtitle) ? $productSecInfo->subtitle : '' }}

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

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

@if (count($products) == 0)

{{ __('No Product Found') . '!' }}

@else
@foreach ($products as $product)

{{ $product->title }}

{{ $position == 'left' ? $symbol : '' }}{{ $product->current_price }}{{ $position == 'right' ? $symbol : '' }} @if (!empty($product->previous_price)) {{ $position == 'left' ? $symbol : '' }}{{ $product->previous_price }}{{ $position == 'right' ? $symbol : '' }} @endif {{ __('Add To Cart') }}
@endforeach
@endif
{!! showAd(3) !!}
@endif @if ($secInfo->blog_section_status == 1)
{{ !empty($blogSecInfo->subtitle) ? $blogSecInfo->subtitle : '' }}

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

@if (count($blogs) == 0)

{{ __('No Blog Found') . '!' }}

@else
@foreach ($blogs as $blog) @endforeach
@endif
@endif @if ($secInfo->partner_section_status == 1) @endif @if ($secInfo->subscribe_section_status == 1)
@endif {{-- equipment search form start --}}
{{-- equipment search form end --}} {{-- post search form start --}}
{{-- post search form end --}} @endsection @section('script') @endsection