@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 (!empty($heroInfo->video_url)) @endif @if (!empty($heroInfo->first_title)) {{ $heroInfo->first_title }} @endif @if (!empty($heroInfo->second_title)) {{ $heroInfo->second_title }} @endif @if ($secInfo->features_section_status == 1 && count($features) > 0) {{ __('Find Your Dream Course') }} {{ __('Find 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) {{ $course->categoryName }} {{ strlen($course->title) > 45 ? mb_substr($course->title, 0, 45, 'UTF-8') . '...' : $course->title }} {{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->first_button) && !empty($callToActionInfo->first_button_url)) {{ $callToActionInfo->first_button }} @endif @if (!empty($callToActionInfo->second_button) && !empty($callToActionInfo->second_button_url)) {{ $callToActionInfo->second_button }} @endif @if (!empty($callToActionInfo->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->name }} {{ $instructor->occupation }} {{__('View More')}} {{ __('Information of') . ' ' . $instructor->name }} × {!! replaceBaseUrl($instructor->description, 'summernote') !!} @php $socials = $instructor->socials; @endphp @if (count($socials) > 0) {{ __('Follow Me') . ':' }} @foreach ($socials as $social) @endforeach @endif @endforeach @endif @if (!empty(showAd(3))) {!! showAd(3) !!} @endif @endif @if ($secInfo->video_section_status == 1) {{ !empty($videoData->title) ? $videoData->title : '' }} @if (!empty($videoData)) @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 @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 }} {{ $testimonial->name }} {{ $testimonial->occupation }} @endforeach @endif @endif @endsection
{{ $feature->text }}
{{strlen($course->instructorName) > 10 ? mb_substr($course->instructorName, 0, 10, 'utf-8') . '...' : $course->instructorName}}
{{ $testimonial->comment }}