Skip to content

Commit 0be63c5

Browse files
chore: add cursor
1 parent cef56a4 commit 0be63c5

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

apps/sim/app/(landing)/studio/search-input.tsx

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,6 @@ import { useCallback, useRef } from 'react'
44
import { Search } from 'lucide-react'
55
import { useRouter, useSearchParams } from 'next/navigation'
66

7-
/**
8-
* Blog search input for the Studio sidebar.
9-
*
10-
* Reads the current `?q=` param as the default value.
11-
* On Enter, navigates to `/studio?q=<query>` which triggers
12-
* server-side filtering of posts by title, description, and tags.
13-
*/
147
export function SearchInput() {
158
const router = useRouter()
169
const searchParams = useSearchParams()
@@ -37,8 +30,8 @@ export function SearchInput() {
3730
type='text'
3831
defaultValue={currentQuery}
3932
placeholder='SEARCH POSTS...'
40-
className='w-full border border-[#2A2A2A] bg-[#232323] px-4 py-2 pr-9 font-season text-[11px] text-[#ECECEC] placeholder:text-[#666] transition-colors focus:border-[#00F701] focus:outline-none'
41-
style={{ borderRadius: '5px' }}
33+
className='w-full border border-[#2A2A2A] bg-[#232323] px-4 py-2 pr-9 font-season text-[11px] text-[#ECECEC] placeholder:text-[#666] transition-colors focus:border-[#00F701] focus:outline-none caret-[#00F701]'
34+
style={{ borderRadius: '5px', caretColor: '#00F701' }}
4235
aria-label='Search blog posts'
4336
/>
4437
<button

0 commit comments

Comments
 (0)