@extends('website.includes.layout') @section('meta_title', $cms->meta_title ?? '') @section('meta_keyword', $cms->meta_keyword ?? '') @section('meta_description', $cms->meta_description ?? '') @section('image', $cms->image ?? '') @section('content')

{!! $home_settings->colleges_heading ?? '' !!}

@if(!empty($course_category))

{!! $home_settings->course_heading ?? '' !!}

{{-- TAB HEADINGS --}}
@foreach($course_category as $key => $cat)
@if(!empty($course_by_category[$cat->id]) && count($course_by_category[$cat->id]) > 0) @foreach($course_by_category[$cat->id] as $item)

{{ $item->course_name }}

{{ $item->short_description ?? '' }}

@endforeach @else

No courses available in this category.

@endif
@endforeach
@endif @if(!empty($trust))

{!! $home_settings->trust_heading ?? '' !!}

@foreach ($trust as $value )
{{ $value->rating ?? '' }}
@endforeach
@endif

{!! $about_cms->heading ?? '' !!}

{!! $about_cms->short_description ?? '' !!}

{{ $about_cms->heading ?? '' }}
@if(!empty($counters)) @include('website.sections.counter', ['counters' => $counters]) @endif @if(!empty($why_us))

{!! $home_settings->why_choose_us_heading ?? '' !!}

{!! $home_settings->why_choose_us_detail ?? '' !!}

@foreach ($why_us as $value )
{{ $value->heading ?? '' }}

{{ $value->heading ?? '' }}

{{ $value->short_description ?? '' }}

@endforeach
@endif @if(!empty($awards))

{!! $home_settings->award_heading ?? '' !!}

@foreach ($awards as $value)
{{ $value->name ?? ''}}

{{ $value->name ?? ''}}

{{ $value->short_description ?? ''}}

@endforeach
@endif @if(!empty($who_us))

{!! $home_settings->who_choose_us_heading ?? '' !!}

{!! $home_settings->who_choose_us_detail ?? '' !!}

@foreach ($who_us as $index => $item)
{{ $item->heading ?? '' }}

{{ $item->heading ?? '' }}

{{ $item->short_description ?? '' }}

@endforeach
@endif @if(!empty($results))

{!! $home_settings->result_heading ?? '' !!}

{!! $home_settings->result_detail ?? '' !!}

@endif @if(!empty($gallery))

{!! $home_settings->gallery_heading ?? '' !!}

@endif @if(!empty($testimonials))

{!! $home_settings->testimonials_heading ?? '' !!}

@foreach($testimonials as $testi) {{-- VIDEO TYPE --}} @if($testi->type == 'Video')
{{ $testi->name ?? '' }}

{{ $testi->name ?? ''}}

{{ $testi->short_description ?? ''}}

{{-- IMAGE TYPE --}} @elseif($testi->type == 'Image')
{{ $testi->name ?? '' }}

{{ $testi->name ?? '' }}

{{ $testi->short_description ?? ''}}

@endif @endforeach
@endif @if(!empty($banner)) @include('website.sections.banner', ['banner' => $banner]) @endif
@if(!empty($news))

{!! $home_settings->news_heading ?? '' !!}

@foreach ($news as $value)
{{ $value->display_name ?? ''}} Read
@endforeach
@endif @if(!empty($announcements))

{!! $home_settings->announcement_heading ?? '' !!}

@foreach ($announcements as $value)
{{ $value->title ?? '' }} @php if (!empty($value->type) && $value->type === 'PDF') { $url = !empty($value->pdf) ? asset($value->pdf) : 'javascript:void(0)'; $btn = 'View PDF'; } else { $url = !empty($value->link) ? $value->link : 'javascript:void(0)'; $btn = 'Go to Link'; } @endphp {{ $btn }}
@endforeach
@endif

{{ $home_settings->branches_heading ?? '' }}

@foreach($address as $item)
@endforeach
@endsection