@extends('layout.app')
@section('title')
Study Abroad
@endsection
@section('content')
@php $service_sections = $service->service_sections()->where('status','1')->orderby('order_by','asc')->get(); @endphp
@if($service_sections->count() > 0)
@php $first_section = $service_sections[0]; @endphp
{{$first_section->title}}
{!!$first_section->description!!}
@php $second_section = $service_sections[1]; @endphp
@if($second_section->count() > 0)
{{$second_section->title}}
{!!$second_section->description!!}
The popular universities in NSW
@php $universities = $second_section->service_section_point; @endphp
@foreach($universities->take(3) as $point)
- {{$point->point}}
@endforeach
@foreach($universities->skip(3)->take(3) as $point)
- {{$point->point}}
@endforeach
@foreach($universities->skip(3)->take(3) as $point)
- {{$point->point}}
@endforeach
{!!$second_section->sub_description!!}
@endif
@php $third_section = $service_sections[2]; @endphp
@if($third_section->count() > 0)
{{$third_section->title}}
{{$third_section->sub_title}}
{!!$third_section->description!!}
@endif
@php $fourth_section = $service_sections[3]; @endphp
@if($fourth_section->count() > 0)
{{$fourth_section->title}}
{!!$fourth_section->description!!}
@endif
@else
Content needs to be added
@endif
@endsection