mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-09 02:05:59 +08:00
Revert "Chat gpt"
This commit is contained in:
@@ -6,7 +6,6 @@ import { IconButton } from "./button";
|
||||
import SettingsIcon from "../icons/settings.svg";
|
||||
import GithubIcon from "../icons/github.svg";
|
||||
import ChatGptIcon from "../icons/chatgpt.svg";
|
||||
import DiitIcon from "../icons/diit.svg";
|
||||
import AddIcon from "../icons/add.svg";
|
||||
import CloseIcon from "../icons/close.svg";
|
||||
import DeleteIcon from "../icons/delete.svg";
|
||||
@@ -156,38 +155,38 @@ export function SideBar(props: { className?: string }) {
|
||||
>
|
||||
<div className={styles["sidebar-header"]} data-tauri-drag-region>
|
||||
<div className={styles["sidebar-title"]} data-tauri-drag-region>
|
||||
DiitChat
|
||||
NextChat
|
||||
</div>
|
||||
<div className={styles["sidebar-sub-title"]}>
|
||||
Build your own AI assistant.
|
||||
</div>
|
||||
{/*<div className={styles["sidebar-sub-title"]}>*/}
|
||||
{/* Build your own AI assistant.*/}
|
||||
{/*</div>*/}
|
||||
<div className={styles["sidebar-logo"] + " no-dark"}>
|
||||
<DiitIcon />
|
||||
<ChatGptIcon />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/*<div className={styles["sidebar-header-bar"]}>*/}
|
||||
{/* <IconButton*/}
|
||||
{/* icon={<MaskIcon />}*/}
|
||||
{/* text={shouldNarrow ? undefined : Locale.Mask.Name}*/}
|
||||
{/* className={styles["sidebar-bar-button"]}*/}
|
||||
{/* onClick={() => {*/}
|
||||
{/* if (config.dontShowMaskSplashScreen !== true) {*/}
|
||||
{/* navigate(Path.NewChat, { state: { fromHome: true } });*/}
|
||||
{/* } else {*/}
|
||||
{/* navigate(Path.Masks, { state: { fromHome: true } });*/}
|
||||
{/* }*/}
|
||||
{/* }}*/}
|
||||
{/* shadow*/}
|
||||
{/* />*/}
|
||||
{/* <IconButton*/}
|
||||
{/* icon={<PluginIcon />}*/}
|
||||
{/* text={shouldNarrow ? undefined : Locale.Plugin.Name}*/}
|
||||
{/* className={styles["sidebar-bar-button"]}*/}
|
||||
{/* onClick={() => showToast(Locale.WIP)}*/}
|
||||
{/* shadow*/}
|
||||
{/* />*/}
|
||||
{/*</div>*/}
|
||||
<div className={styles["sidebar-header-bar"]}>
|
||||
<IconButton
|
||||
icon={<MaskIcon />}
|
||||
text={shouldNarrow ? undefined : Locale.Mask.Name}
|
||||
className={styles["sidebar-bar-button"]}
|
||||
onClick={() => {
|
||||
if (config.dontShowMaskSplashScreen !== true) {
|
||||
navigate(Path.NewChat, { state: { fromHome: true } });
|
||||
} else {
|
||||
navigate(Path.Masks, { state: { fromHome: true } });
|
||||
}
|
||||
}}
|
||||
shadow
|
||||
/>
|
||||
<IconButton
|
||||
icon={<PluginIcon />}
|
||||
text={shouldNarrow ? undefined : Locale.Plugin.Name}
|
||||
className={styles["sidebar-bar-button"]}
|
||||
onClick={() => showToast(Locale.WIP)}
|
||||
shadow
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div
|
||||
className={styles["sidebar-body"]}
|
||||
@@ -217,11 +216,11 @@ export function SideBar(props: { className?: string }) {
|
||||
<IconButton icon={<SettingsIcon />} shadow />
|
||||
</Link>
|
||||
</div>
|
||||
{/*<div className={styles["sidebar-action"]}>*/}
|
||||
{/* <a href={REPO_URL} target="_blank" rel="noopener noreferrer">*/}
|
||||
{/* <IconButton icon={<GithubIcon />} shadow />*/}
|
||||
{/* </a>*/}
|
||||
{/*</div>*/}
|
||||
<div className={styles["sidebar-action"]}>
|
||||
<a href={REPO_URL} target="_blank" rel="noopener noreferrer">
|
||||
<IconButton icon={<GithubIcon />} shadow />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<IconButton
|
||||
|
Reference in New Issue
Block a user