@if(! count($this->results->users) &&
! count($this->results->projects) &&
! count($this->results->companies)
&& ! count($this->results->leads))
@lang('No results found')
@lang('Try adjusting your search terms')
@endif
{{-- Projects Section --}}
@if(count($this->results->projects))
@foreach($this->results->projects as $index => $project)
@endforeach
@endif
{{-- Leads Section --}}
@if(count($this->results->leads))
@foreach($this->results->leads as $index => $lead)
@endforeach
@endif
{{-- Users Section --}}
@if(count($this->results->users))
@foreach($this->results->users as $index => $user)
@endforeach
@endif
{{-- Companies Section --}}
@if(count($this->results->companies))
@foreach($this->results->companies as $index => $company)
@endforeach
@endif