File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
apps/sim/app/(landing)/studio Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,6 @@ import { useCallback, useRef } from 'react'
44import { Search } from 'lucide-react'
55import { 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- */
147export 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
You can’t perform that action at this time.
0 commit comments