@foreach ($page_contents as $page_content)
@if ($page_content->location_id == 12 ||
$page_content->location_id == 13 ||
$page_content->location_id == 14 ||
$page_content->location_id == 15 ||
$page_content->location_id == 16 ||
$page_content->location_id == 17 ||
$page_content->location_id == 18 ||
$page_content->location_id == 22 ||
$page_content->location_id == 60)
@if ($page_content->location_id == 60)
@else
@if ($page_content->location_id == 13 || $page_content->location_id == 15 || $page_content->location_id == 17)
{{-- closing row tag --}}
{{-- opening new row tag for every other service so that we keep 2 on a row --}}
@elseif ($page_content->location_id == 60)
{{-- close row tag on last service --}}
{{-- close if statement for rows --}}
@endif
{{-- closing if statement for specified services --}}
@endif
{{-- closing for each on service --}}
@endforeach
{{-- closing
@endsection