@extends(getTemplate().'.layouts.app') @push('styles_top') @endpush @section('content') {{-- @if(!empty($heroSectionData)) @if(!empty($heroSectionData['has_lottie']) and $heroSectionData['has_lottie'] == "1") @push('scripts_bottom') @endpush @endif
@if($heroSection == "1")
@endif
@if($heroSection == "2")

{{ $heroSectionData['title'] }}

{!! nl2br($heroSectionData['description']) !!}

@if(!empty($heroSectionData['has_lottie']) and $heroSectionData['has_lottie'] == "1") @else {{ $heroSectionData['title'] }} @endif
@else

{{ $heroSectionData['title'] }}

{!! nl2br($heroSectionData['description']) !!}

@endif
@endif --}} {{-- {{ SLider }} --}} @if(!empty($advertisingBanners) and count($advertisingBanners))
@foreach($advertisingBanners as $banner) @php $link = ''; if($banner->source == 'instructor' && !is_null($banner->instructor_id)){ $link = "users/$banner->instructor_id/profile"; }elseif($banner->source == 'category' && !is_null($banner->category_id)){ $category = App\Models\Category::find($banner->category_id); $link = $category->getUrl(); }elseif($banner->source == 'path' && !is_null($banner->course_id)){ $course = App\Models\Webinar::find($banner->course_id); $link = $course->getUrl(); }else{ $link = $banner->link; } @endphp @endforeach
@endif
{{ $skillfulTeachersCount }}

{{ trans('home.skillful_teachers') }}

{{ trans('home.skillful_teachers_hint') }}

{{ $studentsCount }}

{{ trans('home.happy_students') }}

{{ trans('home.happy_students_hint') }}

{{ $liveClassCount }}

{{ trans('home.live_classes') }}

{{ trans('home.live_classes_hint') }}

{{ $offlineCourseCount }}

{{ trans('home.offline_courses') }}

{{ trans('home.offline_courses_hint') }}

@if(!empty($instructors) and !$instructors->isEmpty())

{{ trans('home.instructors') }}

{{ trans('home.instructors_hint') }}

{{ trans('home.all_instructors') }}
@endif @if(!empty($latestWebinars) and !$latestWebinars->isEmpty())

{{ trans('home.latest_classes') }}

{{ trans('home.latest_webinars_hint') }}

{{ trans('home.view_all') }}
@foreach($latestWebinars as $latestWebinar)
@include('web.default.includes.webinar.grid-card',['webinar' => $latestWebinar])
@endforeach
@endif {{-- Ads Bannaer --}} {{-- @if(!empty($advertisingBanners1) and count($advertisingBanners1))
@foreach($advertisingBanners1 as $banner1) @endforeach
@endif --}} @if(!empty($advertisingBanners1) and count($advertisingBanners1))
@foreach($advertisingBanners1 as $banner1) @endforeach
@endif {{-- ./ Ads Bannaer --}} @if(!empty($featureWebinars) and !$featureWebinars->isEmpty()) {{--

{{ trans('home.featured_classes') }}

{{ trans('home.featured_classes_hint') }}

@foreach($featureWebinars as $feature)
@if($feature->webinar->bestTicket() < $feature->webinar->price) {{ trans('public.offer',['off' => $feature->webinar->bestTicket(true)['percent']]) }} @endif

{{ $feature->webinar->title }}

{{ $feature->description }}

@include('web.default.includes.webinar.rate',['rate' => $feature->webinar->getRate()])
@endforeach
--}}

{{ trans('home.featured_classes') }}

{{ trans('home.featured_classes_hint') }}

@foreach($featureWebinars as $featureWebinar)
@include('web.default.includes.webinar.grid-card',['webinar' => $featureWebinar->webinar])
@endforeach
@endif {{-- Ads Bannaer --}} {{-- @if(!empty($advertisingBanners2) and count($advertisingBanners2))
@foreach($advertisingBanners2 as $banner2) @endforeach
@endif --}} @if(!empty($advertisingBanners2) and count($advertisingBanners2))
@foreach($advertisingBanners2 as $banner2) @endforeach
@endif {{-- ./ Ads Bannaer --}} @if(!empty($bestRateWebinars) and !$bestRateWebinars->isEmpty())

{{ trans('home.best_rates') }}

{{ trans('home.best_rates_hint') }}

{{ trans('home.view_all') }}
@foreach($bestRateWebinars as $bestRateWebinar)
@include('web.default.includes.webinar.grid-card',['webinar' => $bestRateWebinar])
@endforeach
@endif {{-- @if(!empty($trendCategories) and !$trendCategories->isEmpty())

{{ trans('home.trending_categories') }}

{{ trans('home.trending_categories_hint') }}

@foreach($trendCategories as $trend) @endforeach
@endif --}} @if(!empty($bestSaleWebinars) and !$bestSaleWebinars->isEmpty())

{{ trans('home.best_sellers') }}

{{ trans('home.best_sellers_hint') }}

{{ trans('home.view_all') }}
@foreach($bestSaleWebinars as $bestSaleWebinar)
@include('web.default.includes.webinar.grid-card',['webinar' => $bestSaleWebinar])
@endforeach
@endif @if(!empty($hasDiscountWebinars) and !$hasDiscountWebinars->isEmpty())

{{ trans('home.discount_classes') }}

{{ trans('home.discount_classes_hint') }}

{{ trans('home.view_all') }}
@foreach($hasDiscountWebinars as $hasDiscountWebinar)
@include('web.default.includes.webinar.grid-card',['webinar' => $hasDiscountWebinar])
@endforeach
@endif @if(!empty($freeWebinars) and !$freeWebinars->isEmpty())

{{ trans('home.free_classes') }}

{{ trans('home.free_classes_hint') }}

{{ trans('home.view_all') }}
@foreach($freeWebinars as $freeWebinar)
@include('web.default.includes.webinar.grid-card',['webinar' => $freeWebinar])
@endforeach
@endif @if(!empty($testimonials) and !$testimonials->isEmpty())

{{ trans('home.testimonials') }}

{{ trans('home.testimonials_hint') }}

@foreach($testimonials as $testimonial)
{{ $testimonial->user_name }}

{{ $testimonial->user_name }}

{{ $testimonial->user_bio }} @include('web.default.includes.webinar.rate',['rate' => $testimonial->rate, 'dontShowRate' => true])

{!! nl2br($testimonial->comment) !!}

@endforeach
@endif @if(!empty($subscribes) and !$subscribes->isEmpty())

{{ trans('home.subscribe_now') }}

{{ trans('home.subscribe_now_hint') }}

@foreach($subscribes as $subscribe)
@endforeach
@endif @if(!empty($findInstructorSection))

{{ $findInstructorSection['title'] ?? '' }}

{{ $findInstructorSection['description'] ?? '' }}

@if(!empty($findInstructorSection['button1'])) {{ $findInstructorSection['button1']['title'] }} @endif @if(!empty($findInstructorSection['button2'])) {{ $findInstructorSection['button2']['title'] }} @endif
{{ $findInstructorSection['title'] }} circle dots
user name
{{ trans('update.looking_for_an_instructor') }} {{ trans('update.find_the_best_instructor_now') }}
@endif @if(!empty($rewardProgramSection))
{{ $rewardProgramSection['title'] }}
medal
{{ trans('update.you_got_50_points') }} {{ trans('update.for_completing_the_course') }}

{{ $rewardProgramSection['title'] ?? '' }}

{{ $rewardProgramSection['description'] ?? '' }}

@if(!empty($rewardProgramSection['button1'])) {{ $rewardProgramSection['button1']['title'] }} @endif @if(!empty($rewardProgramSection['button2'])) {{ $rewardProgramSection['button2']['title'] }} @endif
@endif @if(!empty($becomeInstructorSection))

{{ $becomeInstructorSection['title'] ?? '' }}

{{ $becomeInstructorSection['description'] ?? '' }}

@if(!empty($becomeInstructorSection['button1'])) {{ $becomeInstructorSection['button1']['title'] }} @endif @if(!empty($becomeInstructorSection['button2'])) {{ $becomeInstructorSection['button2']['title'] }} @endif
{{ $becomeInstructorSection['title'] }} circle dots
user name
{{ trans('update.looking_for_an_instructor') }} {{ trans('update.find_the_best_instructor_now') }}
@endif @if(!empty($boxVideoOrImage))

{{ $boxVideoOrImage['title'] ?? '' }}

{{ $boxVideoOrImage['description'] ?? '' }}

@endif @if(!empty($organizations) and !$organizations->isEmpty())

{{ trans('home.organizations') }}

{{ trans('home.organizations_hint') }}

{{ trans('home.all_organizations') }}
@endif @if(!empty($blog) and !$blog->isEmpty())

{{ trans('home.blog') }}

{{ trans('home.blog_hint') }}

{{ trans('home.all_blog') }}
@foreach($blog as $post)
@include('web.default.blog.grid-list',['post' =>$post])
@endforeach
@endif @endsection @push('scripts_bottom') @endpush