@foreach ($agencies as $agency)
@endforeach
{{ $agencies->links('custom_pagination') }}
@foreach ($agents as $single_agent)
@if ($single_agent->image)
 }})
@else
 }})
@endif
@if ($single_agent->linkedin)
@endif
@if ($single_agent->twitter)
@endif
@if ($single_agent->instagram)
@endif
@if ($single_agent->facebook)
@endif
@endforeach
{{ $agents->links('custom_pagination') }}