@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 ($secInfo->features_section_status == 1 && count($features) > 0)

{{ __('Find Your Dream Course') }}

@foreach ($features as $feature)

{{ $feature->title }}

{{ $feature->text }}

@endforeach
@endif @if ($secInfo->featured_courses_section_status == 1)

{{ !empty($secTitleInfo->featured_courses_section_title) ? $secTitleInfo->featured_courses_section_title : '' }}

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

{{ __('No Featured Course Found') . '!' }}

@else
@foreach ($courses as $course)

{{ strlen($course->title) > 45 ? mb_substr($course->title, 0, 45, 'UTF-8') . '...' : $course->title }}

instructor

{{strlen($course->instructorName) > 10 ? mb_substr($course->instructorName, 0, 10, 'utf-8') . '...' : $course->instructorName}}

@if ($course->pricing_type == 'premium') {{ $currencyInfo->base_currency_symbol_position == 'left' ? $currencyInfo->base_currency_symbol : '' }}{{ $course->current_price }}{{ $currencyInfo->base_currency_symbol_position == 'right' ? $currencyInfo->base_currency_symbol : '' }} @if (!is_null($course->previous_price)) {{ $currencyInfo->base_currency_symbol_position == 'left' ? $currencyInfo->base_currency_symbol : '' }}{{ $course->previous_price }}{{ $currencyInfo->base_currency_symbol_position == 'right' ? $currencyInfo->base_currency_symbol : '' }} @endif @else {{ __('Free') }} @endif
  • {{ $course->enrolmentCount }} {{__('Students')}}
  • @php $period = $course->duration; $array = explode(':', $period); $hour = $array[0]; $courseDuration = \Carbon\Carbon::parse($period); @endphp
  • {{ $hour == '00' ? '00' : $courseDuration->format('h') }}h {{ $courseDuration->format('i') }}m
@endforeach
@endif @if (!empty(showAd(3)))
{!! showAd(3) !!}
@endif
@endif @if ($secInfo->call_to_action_section_status == 1)
{{ !empty($callToActionInfo->first_title) ? $callToActionInfo->first_title : '' }}

{{ !empty($callToActionInfo->second_title) ? $callToActionInfo->second_title : '' }}

@if (!empty($callToActionInfo->image))
image
@endif
@endif @if ($secInfo->featured_instructors_section_status == 1)

{{ !empty($secTitleInfo->featured_instructors_section_title) ? $secTitleInfo->featured_instructors_section_title : '' }}

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

{{ __('No Featured Instructor Found') . '!' }}

@else
@foreach ($instructors as $instructor)
instructor

{{ $instructor->name }}

{{ $instructor->occupation }} {{__('View More')}}
@endforeach
@endif @if (!empty(showAd(3)))
{!! showAd(3) !!}
@endif
@endif @if ($secInfo->video_section_status == 1)

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

@if (!empty($videoData)) image
@endif
@endif @if ($secInfo->fun_facts_section_status == 1)
background_image)) data-bg="{{ asset('assets/img/fact-section/' . $factData->background_image) }}" @endif>

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

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

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

@else
@foreach ($countInfos as $countInfo)

{{ $countInfo->amount }}+

{{ $countInfo->title }}
@endforeach
@endif
dot
@endif @if ($secInfo->testimonials_section_status == 1)

{{ !empty($secTitleInfo->testimonials_section_title) ? $secTitleInfo->testimonials_section_title : '' }}

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

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

@else
@foreach ($testimonials as $testimonial)

{{ $testimonial->comment }}

client
{{ $testimonial->name }}
{{ $testimonial->occupation }}
@endforeach
@endif
@endif @endsection