@extends('layouts.client.layout') @section('title') {{ $title_meta->home_title }} @endsection @section('meta') @endsection @section('client-content')
@php $sliderContent=App\Setting::first(); @endphp

{{ $sliderContent->slider_heading }}

{{ $sliderContent->slider_description }}

@php $feature_section=$homesections->where('section_type',1)->first(); @endphp @if ($feature_section->show_homepage==1)
@foreach ($features->take($feature_section->content_quantity) as $feature)

{{ $feature->title }}

{{ $feature->description }}

@endforeach
@endif @php $work_section=$homesections->where('section_type',2)->first(); @endphp @if ($work_section->show_homepage==1)

{{ ucfirst($work_section->first_header) }} {{ ucfirst($work_section->second_header) }}

{{ $work_section->description }}

{{ $work->title }}

{{ $work->description }}

@foreach ($workFaqs as $faqIndex => $faq)
{!! clean($faq->answer) !!}
@endforeach
@endif @php $service_section=$homesections->where('section_type',3)->first(); @endphp @if ($service_section->show_homepage==1)

{{ ucfirst($service_section->first_header) }} {{ ucfirst($service_section->second_header) }}

{{ $service_section->description }}

@foreach ($services->take($service_section->content_quantity) as $service) @endforeach
@foreach ($overviews as $overview)

{{ $overview->qty }}

{{ $overview->name }}

@endforeach
@endif @php $department_section=$homesections->where('section_type',4)->first(); @endphp @if ($department_section->show_homepage==1)

{{ ucfirst($department_section->first_header) }} {{ ucfirst($department_section->second_header) }}

{{ $department_section->description }}

@foreach ($departments->take($department_section->content_quantity) as $department) @endforeach
@endif @php $patient_section=$homesections->where('section_type',5)->first(); @endphp @if ($patient_section->show_homepage==1)

{{ ucfirst($patient_section->first_header) }} {{ ucfirst($patient_section->second_header) }}

{{ $patient_section->description }}

@endif @php $lawyer_section=$homesections->where('section_type',6)->first(); @endphp @if ($lawyer_section->show_homepage==1)

{{ ucfirst($lawyer_section->first_header) }} {{ ucfirst($lawyer_section->second_header) }}

{{ $lawyer_section->description }}

@endif @php $blog_section=$homesections->where('section_type',7)->first(); @endphp @if ($blog_count !=0) @if ($blog_section->show_homepage==1)

{{ ucfirst($blog_section->first_header) }} {{ ucfirst($blog_section->second_header) }}

{{ $blog_section->description }}

{{ $website_lang->where('lang_key','admin')->first()->custom_lang }} {{ $feature_blog->created_at->format('m-d-Y') }}

{{ $feature_blog->title }}

{{ $feature_blog->sort_description }}

@if ($isRtl=='RTL') {{ $website_lang->where('lang_key','see_details')->first()->custom_lang }} ← @else {{ $website_lang->where('lang_key','see_details')->first()->custom_lang }} → @endif
@endif @endif @endsection