mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-10-19 13:58:14 +00:00
37 lines
1.3 KiB
TypeScript
37 lines
1.3 KiB
TypeScript
import { Settings } from 'lucide-react';
|
|
import EmptyChatMessageInput from './EmptyChatMessageInput';
|
|
import { File } from './ChatWindow';
|
|
import Link from 'next/link';
|
|
import WeatherWidget from './WeatherWidget';
|
|
import NewsArticleWidget from './NewsArticleWidget';
|
|
|
|
const EmptyChat = () => {
|
|
return (
|
|
<div className="relative">
|
|
<div className="absolute w-full flex flex-row items-center justify-end mr-5 mt-5">
|
|
<Link href="/settings">
|
|
<Settings className="cursor-pointer lg:hidden" />
|
|
</Link>
|
|
</div>
|
|
<div className="flex flex-col items-center justify-center min-h-screen max-w-screen-sm mx-auto p-2 space-y-4">
|
|
<div className="flex flex-col items-center justify-center w-full space-y-8">
|
|
<h2 className="text-black/70 dark:text-white/70 text-3xl font-medium -mt-8">
|
|
Research begins here.
|
|
</h2>
|
|
<EmptyChatMessageInput />
|
|
</div>
|
|
<div className="flex flex-col w-full gap-4 mt-2 sm:flex-row sm:justify-center">
|
|
<div className="flex-1 w-full">
|
|
<WeatherWidget />
|
|
</div>
|
|
<div className="flex-1 w-full">
|
|
<NewsArticleWidget />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default EmptyChat;
|