Deploy Ladill Events / deploy (push) Successful in 29s
Introduce a dedicated /search page, wire the bottom nav and topbar to it, and expose JSON results for live lookup of events and programmes. Co-authored-by: Cursor <cursoragent@cursor.com>
14 lines
506 B
PHP
14 lines
506 B
PHP
<x-user-layout>
|
|
<x-slot name="title">Search</x-slot>
|
|
|
|
@include('partials.search-screen', [
|
|
'query' => $query,
|
|
'results' => $results,
|
|
'backUrl' => route('events.dashboard'),
|
|
'searchUrl' => route('events.search'),
|
|
'heading' => 'Find events and programmes',
|
|
'placeholder' => 'Search events, programmes, short codes…',
|
|
'emptyHint' => 'Use at least 2 characters to search event names, programme titles, or short codes.',
|
|
])
|
|
</x-user-layout>
|