Skip to content

Commit

Permalink
Fixes algolia search button
Browse files Browse the repository at this point in the history
  • Loading branch information
jyotishpro committed Nov 16, 2024
1 parent 117e2a2 commit 28fed46
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions components/navigation/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default function NavBar({ className = '', hideLogo = false }: NavBarProps
width="24"
height="24"
fill="none"
stroke="currentColor"
stroke="#9CA3AF"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
Expand Down Expand Up @@ -239,19 +239,15 @@ export default function NavBar({ className = '', hideLogo = false }: NavBarProps
<div className='justify-content flex flex-row items-center'>

<SearchButton
className="mr-2 p-3 flex items-center space-x-2 rounded-md opacity-40 text-left text-gray-400 transition duration-150 ease-in-out hover:bg-gray-100 hover:text-gray-500 focus:bg-gray-100 focus:text-gray-500 focus:outline-none"
className="mr-2 p-3 flex items-center space-x-2 rounded-md text-left text-gray-400 transition duration-150 ease-in-out hover:bg-gray-100 hover:text-gray-500 focus:bg-gray-100 focus:text-gray-500 focus:outline-none"
aria-label="Open Search"
style={{
backgroundImage: `url("data:image/svg+xml;charset=utf-8,${loupeSvg}")`,
backgroundSize: '1.5rem',
backgroundRepeat: 'no-repeat',
backgroundPosition: 'center left',
}}
>


<IconLoupe/>

>
</SearchButton>

{/* // Language Picker Component */}
Expand Down

0 comments on commit 28fed46

Please sign in to comment.