|
|
|
@ -23,7 +23,13 @@ import DownloadIcon from "../icons/download.svg";
|
|
|
|
|
|
|
|
|
|
import { Message, SubmitKey, useChatStore, ChatSession } from "../store";
|
|
|
|
|
import { showModal, showToast } from "./ui-lib";
|
|
|
|
|
import { copyToClipboard, downloadAs, isIOS, selectOrCopy } from "../utils";
|
|
|
|
|
import {
|
|
|
|
|
copyToClipboard,
|
|
|
|
|
downloadAs,
|
|
|
|
|
isIOS,
|
|
|
|
|
isMobileScreen,
|
|
|
|
|
selectOrCopy,
|
|
|
|
|
} from "../utils";
|
|
|
|
|
import Locale from "../locales";
|
|
|
|
|
|
|
|
|
|
import dynamic from "next/dynamic";
|
|
|
|
@ -614,7 +620,9 @@ export function Home() {
|
|
|
|
|
return (
|
|
|
|
|
<div
|
|
|
|
|
className={`${
|
|
|
|
|
config.tightBorder ? styles["tight-container"] : styles.container
|
|
|
|
|
config.tightBorder && !isMobileScreen()
|
|
|
|
|
? styles["tight-container"]
|
|
|
|
|
: styles.container
|
|
|
|
|
}`}
|
|
|
|
|
>
|
|
|
|
|
<div
|
|
|
|
|