feat: support settings on mobile device

This commit is contained in:
Chuck 2024-06-03 17:13:44 +08:00
parent 476303f52b
commit 99fc130061
3 changed files with 28 additions and 14 deletions

View file

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