@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->counters->status == 1)
{{$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-rtl.layouts.partials.popular_courses',['class'=>'popular-three']) @endif @if($sections->reasons->status == 1) @include('frontend-rtl.layouts.partials.why_choose_us',['class'=>'pb-5']) @endif @if($sections->featured_courses->status == 1)
@include('frontend-rtl.layouts.partials.browse_courses')
@endif @if($sections->teachers->status == 1)
@lang('labels.frontend.home.learn_new_skills')

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

@if(count($teachers)> 0)
@foreach($teachers as $key=>$item) @if($key%2 == 0 && (count($teachers) > 5))
@endif
{{$item->full_name}}
{{--
--}} {{--Mobile Apps --}} {{--
--}}
@if($key%2 == 1)
@endif @endforeach
@endif
@endif @if($sections->latest_news->status == 1) @include('frontend.layouts.partials.latest_news') @endif @if($sections->search_section->status == 1) @endif @if($sections->faq->status == 1) @include('frontend-rtl.layouts.partials.faq-with-bg') @endif @if($sections->testimonial->status == 1) @include('frontend-rtl.layouts.partials.testimonial') @endif @if($sections->sponsors->status == 1) @if(count($sponsors) > 0 ) @include('frontend-rtl.layouts.partials.sponsors') @endif @endif @if($sections->contact_form->status == 1)

@lang('labels.frontend.contact.send_us_a_message')

@csrf
@if($errors->has('name')) {{$errors->first('name')}} @endif
@if($errors->has('email')) {{$errors->first('email')}} @endif
@if($errors->has('phone')) {{$errors->first('phone')}} @endif
@if($errors->has('message')) {{$errors->first('message')}} @endif
@endif @if($sections->contact_us->status == 1) @include('frontend.layouts.partials.contact_area') @endif @endsection