@@ -10,7 +10,8 @@ import LiveClock from './LiveClock'; // Import LiveClock
1010import GenerativeArt from './GenerativeArt' ; // Import GenerativeArt
1111import TextTransformer from './TextTransformer' ; // Import TextTransformer
1212import Stopwatch from './Stopwatch' ; // Import Stopwatch
13- import { filterItems } from '../utils/search' ; // Import the search utility
13+ import { filterItems } from '../utils/search' ;
14+ import { TerminalWindowIcon } from "@phosphor-icons/react" ; // Import the search utility
1415
1516const CommandPalette = ( { isOpen, setIsOpen, openGenericModal, toggleDigitalRain } ) => {
1617 const [ searchTerm , setSearchTerm ] = useState ( '' ) ;
@@ -262,16 +263,17 @@ const CommandPalette = ({ isOpen, setIsOpen, openGenericModal, toggleDigitalRain
262263 className = "bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-gray-100 rounded-lg shadow-2xl w-full max-w-xl mx-4"
263264 onClick = { e => e . stopPropagation ( ) }
264265 >
265- < div className = "p-3" >
266- < input
267- ref = { inputRef }
268- type = "text"
269- placeholder = { isLoading ? "Loading data..." : "Search or type a command..." }
270- className = "w-full bg-transparent text-lg placeholder-gray-500 focus:outline-none"
271- value = { searchTerm }
272- onChange = { e => setSearchTerm ( e . target . value ) }
273- disabled = { isLoading }
274- />
266+ < div className = "p-3 flex items-center justify-center" >
267+ < TerminalWindowIcon size = { 36 } weight = "duotone" className = "mr-2 text-gray-200 " />
268+ < input
269+ ref = { inputRef }
270+ type = "text"
271+ placeholder = { isLoading ? "Loading data..." : "Search or type a command..." }
272+ className = "w-full bg-transparent text-lg placeholder-gray-500 focus:outline-none"
273+ value = { searchTerm }
274+ onChange = { e => setSearchTerm ( e . target . value ) }
275+ disabled = { isLoading }
276+ />
275277 </ div >
276278 < div ref = { resultsRef } className = "border-t border-gray-200 dark:border-gray-700 p-2 max-h-[50vh] overflow-y-auto" >
277279 { filteredItems . length > 0 ? (
0 commit comments