feat(EmptyChat): EmptyChat page add theme switcher

This commit is contained in:
WanQuanXie 2024-05-28 11:25:31 +08:00
parent 743b67d0e9
commit 4eadc0c797
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,5 @@
import EmptyChatMessageInput from './EmptyChatMessageInput';
import { ThemeSwitcher } from './theme/Switcher';
const EmptyChat = ({
sendMessage,
@ -10,7 +11,8 @@ const EmptyChat = ({
setFocusMode: (mode: string) => void;
}) => {
return (
<div className="flex flex-col items-center justify-center min-h-screen max-w-screen-sm mx-auto p-2 space-y-8">
<div className="relative flex flex-col items-center justify-center min-h-screen max-w-screen-sm mx-auto p-2 space-y-8">
<ThemeSwitcher size={17} className="absolute top-2 right-0" />
<h2 className="text-black/70 dark:text-white/70 text-3xl font-medium -mt-8">
Research begins here.
</h2>