perplexica/ui/components/EmptyChat.tsx

27 lines
678 B
TypeScript
Raw Normal View History

2024-04-09 10:51:05 +00:00
import EmptyChatMessageInput from './EmptyChatMessageInput';
const EmptyChat = ({
sendMessage,
2024-04-13 06:41:47 +00:00
focusMode,
setFocusMode,
2024-04-09 10:51:05 +00:00
}: {
sendMessage: (message: string) => void;
2024-04-13 06:41:47 +00:00
focusMode: string;
setFocusMode: (mode: string) => void;
2024-04-09 10:51:05 +00:00
}) => {
return (
<div className="flex flex-col items-center justify-center min-h-screen max-w-screen-sm mx-auto p-2 space-y-8">
2024-05-24 12:29:49 +00:00
<h2 className="text-black/70 dark:text-white/70 text-3xl font-medium -mt-8">
2024-04-09 10:51:05 +00:00
Research begins here.
</h2>
2024-04-13 06:41:47 +00:00
<EmptyChatMessageInput
sendMessage={sendMessage}
focusMode={focusMode}
setFocusMode={setFocusMode}
/>
2024-04-09 10:51:05 +00:00
</div>
);
};
export default EmptyChat;