Fix search component consistency - add all Bible versions to dropdown and match search box styling across pages
This commit is contained in:
@@ -143,9 +143,7 @@ const SearchComponent: React.FC<SearchComponentProps> = ({
|
|||||||
value={query}
|
value={query}
|
||||||
onChange={(e) => setQuery(e.target.value)}
|
onChange={(e) => setQuery(e.target.value)}
|
||||||
placeholder="Search for verses, words, or phrases..."
|
placeholder="Search for verses, words, or phrases..."
|
||||||
className="w-full pl-10 pr-4 py-2 border border-gray-300 dark:border-gray-600 rounded-lg
|
className="w-full pl-10 pr-4 py-3 text-gray-900 dark:text-gray-100 bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-lg shadow-sm focus:ring-2 focus:ring-blue-500 focus:border-transparent"
|
||||||
bg-white dark:bg-gray-700 text-gray-900 dark:text-gray-100
|
|
||||||
focus:ring-2 focus:ring-blue-500 focus:border-transparent"
|
|
||||||
autoFocus
|
autoFocus
|
||||||
/>
|
/>
|
||||||
{loading && (
|
{loading && (
|
||||||
@@ -170,6 +168,8 @@ const SearchComponent: React.FC<SearchComponentProps> = ({
|
|||||||
>
|
>
|
||||||
<option value="esv">ESV - English Standard Version</option>
|
<option value="esv">ESV - English Standard Version</option>
|
||||||
<option value="nkjv">NKJV - New King James Version</option>
|
<option value="nkjv">NKJV - New King James Version</option>
|
||||||
|
<option value="nlt">NLT - New Living Translation</option>
|
||||||
|
<option value="csb">CSB - Christian Standard Bible</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select
|
<select
|
||||||
|
|||||||
Reference in New Issue
Block a user