Use Fluxon elements for universal search
This commit is contained in:
@@ -24,16 +24,11 @@
|
||||
name="hero-magnifying-glass"
|
||||
class="absolute left-3 top-1/2 transform -translate-y-1/2 h-5 w-5 text-gray-400"
|
||||
/>
|
||||
<input
|
||||
type="text"
|
||||
<.input
|
||||
name="query"
|
||||
placeholder="Search records and artists..."
|
||||
value={@search_query}
|
||||
phx-debounce="300"
|
||||
class="w-full pl-10 pr-4 py-3 border border-gray-300 dark:border-gray-600 rounded-lg
|
||||
bg-white dark:bg-gray-900 text-gray-900 dark:text-gray-100
|
||||
focus:ring-2 focus:ring-blue-500 focus:border-blue-500 dark:focus:ring-blue-400
|
||||
placeholder-gray-500 dark:placeholder-gray-400"
|
||||
phx-hook="SearchInput"
|
||||
id="universal-search-input"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user