@if($searchTerm) {{ __('Search results') }} @if (count($resultRefs) === 1) 1 {{ __('result for') }} {{ $searchTerm }}. @elseif (count($resultRefs) > 1) @if (count($resultRefs) >= timebank_config('main_search_bar.search.max_results')) {{ __('Please refine your search term.') }} {{ __('Only the top :shown results out of :total are shown for', ['shown' => count($resultRefs), 'total' => $total]) }} {{ $searchTerm }}. @else {{ count($resultRefs) }} {{ __('results for') }} {{ $searchTerm }}. @endif @else {{ __('Sorry, no results for') }} {{ $searchTerm }}. {{ __('Please search again.') }} @endif @else {{ __('Search') }} @endif @if ($searchTerm) @if (count($resultRefs) === 0)
@livewire('side-post', [ 'type' => 'SiteContents\Search\NoResults' ?? null, 'random' => false, 'fallbackTitle' => __('No results found'), 'fallbackDescription' => '' ])
@else @livewire('search.show', ['resultRefs' => $resultRefs, 'searchTerm' => $searchTerm, 'total' => $total]) @endif @else
@include('components.jetstream.application-logo')
{{ __('Find profiles, skills, events and more...')}}
@endif @if(request()->query('openSearchInfo') === 'true') @endif