@extends('frontend.layouts.app') @section('meta') @php $metaData = getMeta('home'); @endphp @if (isAddonInstalled('LMSZAIPRODUCT')) @endif @endsection @push('theme-style') @endpush @section('content') @php $bannerImage = @$home->banner_image; if(env('IS_LOCAL', 0)){ $bannerImage = get_option('banner_image_'.get_option('theme', THEME_DEFAULT)); } @endphp
@foreach(@$home->banner_mini_words_title ?? [] as $banner_mini_word)

{{ __($banner_mini_word) }}

@endforeach

{{ __(@$home->banner_first_line_title) }} {{ __(@$home->banner_second_line_title) }} {{ __(@$home->banner_third_line_title) }}

{{ __(@$home->banner_subtitle) }}

{{ __(get_option('home_special_feature_title')) }}

{{ __(get_option('home_special_feature_area_subtitle')) }}

{{ __(get_option('home_special_feature_first_title')) }}

{{ __(get_option('home_special_feature_first_subtitle')) }}

{{ __(get_option('home_special_feature_second_title')) }}

{{ __(get_option('home_special_feature_second_subtitle')) }}

{{ __(get_option('home_special_feature_third_title')) }}

{{ __(get_option('home_special_feature_third_subtitle')) }}

@if($home->category_courses_area == 1)

{{ __(get_option('category_course_title')) }}

{{ __(get_option('category_course_subtitle')) }}

@foreach($featureCategories as $key => $category)
@foreach($category->courses->take(4) as $course) @php $userRelation = getUserRoleRelation($course->user); @endphp
{{ Str::limit($course->title, 40)}} {{ $course->$userRelation->name }}

{{ $course->average_rating }}

★★★★★
★★★★★

({{ @$course->reviews->count() }} )

@if($course->learner_accessibility == 'paid') @if(now()->gt($startDate) && now()->lt($endDate))

{{__('Price')}}: @if($currencyPlacement ?? get_currency_placement() == 'after') {{ $discount_price }} {{ $currencySymbol ?? get_currency_symbol() }} @else {{ $currencySymbol ?? get_currency_symbol() }} {{ $discount_price }} @endif

{{__('Price')}}: @if($currencyPlacement ?? get_currency_placement() == 'after') {{ $course->price }} {{ $currencySymbol ?? get_currency_symbol() }} @else {{ $currencySymbol ?? get_currency_symbol() }} {{ $course->price }} @endif

@elseif ($course->price <= $course->old_price)

{{__('Price')}}: @if($currencyPlacement ?? get_currency_placement() == 'after') {{ $course->price }} {{ $currencySymbol ?? get_currency_symbol() }} @else {{ $currencySymbol ?? get_currency_symbol() }} {{ $course->price }} @endif

{{__('Price')}}: @if($currencyPlacement ?? get_currency_placement() == 'after') {{ $course->old_price }} {{ $currencySymbol ?? get_currency_symbol() }} @else {{ $currencySymbol ?? get_currency_symbol() }} {{ $course->old_price }} @endif

@else

{{__('Price')}}: @if($currencyPlacement ?? get_currency_placement() == 'after') {{ $course->price }} {{ $currencySymbol ?? get_currency_symbol() }} @else {{ $currencySymbol ?? get_currency_symbol() }} {{ $course->price }} @endif

@endif @elseif($course->learner_accessibility == 'free')

{{ __('Free') }}

@endif @if($course->learner_accessibility != 'free' && get_option('cashback_system_mode', 0))
{{__('Cashback')}} :
@if($currencyPlacement ?? get_currency_placement() == 'after') {{calculateCashback($course->price) }} {{ $currencySymbol ?? get_currency_symbol() }} @else {{ $currencySymbol ?? get_currency_symbol() }} {{calculateCashback($course->price) }} @endif
@endif
@endforeach
@endforeach
@endif @if(!get_option('private_mode') || !auth()->guest()) @if($home->courses_area == 1)

{{ __(get_option('course_title')) }}

{{ __(get_option('course_subtitle')) }}

@if(count($featuredCourses)) @foreach ($featuredCourses as $course) @php $userRelation = getUserRoleRelation($course->user); @endphp
@include('frontend-theme-5.partials.course')
@endforeach @else {{ __("No Course Found") }} @endif
@endif @endif @if(isAddonInstalled('LMSZAIPRODUCT')) @if($home->product_area == 1)

{{ __(get_option('product_section_title')) }} @if(env('LOGIN_HELP') == 'active') (Addon) @endif

{{ __(get_option('product_section_subtitle')) }}

@endif @endif @if($home->upcoming_courses_area == 1)

{{ __(get_option('upcoming_course_title')) }}

{{ __(get_option('upcoming_course_title')) }}

@if(count($upcomingCourses)) @foreach ($upcomingCourses->take(4) as $course) @php $userRelation = getUserRoleRelation($course->user); @endphp
@include('frontend-theme-4.partials.course')
@endforeach @else {{ __("No Course Found") }} @endif
@endif @if($home->bundle_area == 1) @if(count($bundles) > 0)

{{ __(get_option('bundle_course_title')) }}

{{ __(get_option('bundle_course_subtitle')) }}

@foreach($bundles->take(8) as $bundle) @php $relation = getUserRoleRelation($bundle->user) @endphp
{{ Str::limit($bundle->name, 40) }}

{{__('Courses')}}: {{ @$bundle->bundleCourses->count() }}

{{ __('Price') }}: @if($currencyPlacement == 'after') {{$bundle->price}} {{ $currencySymbol }} @else {{ $currencySymbol }} {{$bundle->price}} @endif

@if($course->learner_accessibility != 'free' && get_option('cashback_system_mode', 0))
{{__('Cashback')}} :
@if($currencyPlacement ?? get_currency_placement() == 'after') {{calculateCashback($bundle->price) }} {{ $currencySymbol ?? get_currency_symbol() }} @else {{ $currencySymbol ?? get_currency_symbol() }} {{calculateCashback($bundle->price) }} @endif
@endif
@endforeach
@endif @endif @if (!get_option('private_mode') || !auth()->guest()) @if ($home->consultation_area == 1) @if (count($consultationInstructors) > 0)

Top Rated Courses From Our Top Instructors

CONSULT WITH YOUR FAVORITE CONSULTANT

@foreach ($consultationInstructors as $user)
{{ __('instructor') }}
{{ $user->name }}

{{ @$user->professional_title }} @if (get_instructor_ranking_level($user->badges)) ||{{ get_instructor_ranking_level($user->badges) }} @endif