import Image from "next/image"; import { FC } from "react"; import InputArea from "./ResearchBlocks/elements/InputArea"; type THeroProps = { promptValue: string; setPromptValue: React.Dispatch>; handleDisplayResult: (query : string) => void; }; const Hero: FC = ({ promptValue, setPromptValue, handleDisplayResult, }) => { const handleClickSuggestion = (value: string) => { setPromptValue(value); }; return (

Say Goodbye to
Hours of Research

Say Hello to GPT Researcher, your AI mate for rapid insights and comprehensive research

{/* Input section */}
{/* Suggestions section */}
{suggestions.map((item) => (
handleClickSuggestion(item?.name)} key={item.id} > {item.name} {item.name}
))}
); }; type suggestionType = { id: number; name: string; icon: string; }; const suggestions: suggestionType[] = [ { id: 1, name: "Stock analysis on ", icon: "/img/stock2.svg", }, { id: 2, name: "Help me plan an adventure to ", icon: "/img/hiker.svg", }, { id: 3, name: "What are the latest news on ", icon: "/img/news.svg", }, ]; export default Hero;