@extends('layouts.app') @section('title', 'Search') @section('content') @php $icons = ['staff' => 'group', 'services' => 'home_health', 'courses' => 'school', 'sessions' => 'event', 'policies' => 'description']; $groups = collect(\App\Http\Controllers\SearchController::GROUPS) ->map(fn ($label, $key) => ['label' => $label, 'icon' => $icons[$key] ?? 'search'])->all(); @endphp
{{ $total }} result{{ $total === 1 ? '' : 's' }} for “{{ $q }}”
@endifType to search
Find staff, services, courses, training sessions and policies. Type part of a name — word order doesn't matter.
No matches for “{{ $q }}”
Try a different word or a shorter term.
{{ $item['title'] }}
@if(!empty($item['sub'])){{ $item['sub'] }}
@endif