@extends('frontend.layouts.app'.config('theme_layout')) @section('title', trans('labels.frontend.home.title').' | '.app_name()) @section('meta_description', '') @section('meta_keywords','') @push('after-styles') @endpush @section('content') @if(session()->has('alert'))
{{session('alert')}}
@endif @include('frontend.layouts.partials.slider') @if($sections->search_section->status == 1)
@lang('labels.frontend.home.learn_new_skills')

@lang('labels.frontend.home.search_courses')

(Heart, labor, Seizure, Choking, Burns etc..)
@if($sections->course_by_category->status == 1) @include('frontend.layouts.partials.course_by_category') @endif
@endif @if($sections->popular_courses->status == 1) @include('frontend.layouts.partials.popular_courses') @endif @if(($sections->reasons->status != 0) || ($sections->testimonial->status != 0))
@if($sections->reasons->status == 1)
{{env('APP_NAME')}} @lang('labels.frontend.layouts.partials.advantages')

@lang('labels.frontend.layouts.partials.why_choose') {{app_name()}}

@if($reasons->count() > 0)
@foreach($reasons as $item)

{{$item->title}}

@endforeach
@endif @endif
@endif @if($sections->course_by_category->status == 1) @include('frontend.layouts.partials.home_video') @endif @if($sections->testimonial->status != 0)
@if($sections->testimonial->status == 1)

@lang('labels.frontend.layouts.partials.students_testimonial')

@if($testimonials->count() > 0)
@foreach($testimonials as $item)
{{$item->name}} {{$item->occupation}}
@endforeach
@else

@lang('labels.general.no_data_available')

@endif
@endif
@endif @if($sections->sponsors->status == 1) @if(count($sponsors) > 0 ) @endif @endif @if($sections->featured_courses->status == 1) {{--@include('frontend.layouts.partials.browse_courses')--}} @endif @if($sections->teachers->status == 1) @endif @if($sections->faq->status == 1) @include('frontend.layouts.partials.faq') @endif @if($sections->contact_us->status == 1) @include('frontend.layouts.partials.contact_area') @endif @endsection @push('after-scripts') @endpush