@extends('frontend-rtl.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-rtl.layouts.partials.slider') @if($sections->search_section->status == 1)
@lang('labels.frontend.home.learn_new_skills')

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

{{$total_students}}

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

{{$total_courses}}

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

{{$total_teachers}}

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

@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}}

{{$item->content}}.

@endforeach
@endif @endif @if($sections->testimonial->status == 1)

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

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

{{$item->content}}

{{$item->name}} {{$item->occupation}}
@endforeach
@else

@lang('labels.general.no_data_available')

@endif
@endif
@endif @if($sections->latest_news->status == 1) @include('frontend.layouts.partials.latest_news') @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)
@lang('labels.frontend.home.our_professionals')

{{env('APP_NAME')}} @lang('labels.frontend.home.teachers').

@if(count($teachers)> 0) @foreach($teachers as $item)
{{$item->full_name}}
{{--
--}} {{--Featured--}} {{--
--}}
{{--
--}} {{--{{$item->name}} --}} {{--
--}}
@endforeach @endif
@endif @if($sections->faq->status == 1) @include('frontend.layouts.partials.faq') @endif @if($sections->course_by_category->status == 1) @include('frontend.layouts.partials.course_by_category') @endif @if($sections->contact_us->status == 1) @include('frontend.layouts.partials.contact_area') @endif @endsection @push('after-scripts') @endpush