From 814eeb315431dab88f21f3e9c32b02cd78ba0c40 Mon Sep 17 00:00:00 2001 From: zhangchenguang01 Date: Sun, 10 Mar 2024 14:42:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E8=87=AA=E5=B7=B1=E7=9A=84?= =?UTF-8?q?=E4=B8=BB=E9=A1=B5=E5=92=8C=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/client/api.ts | 3 ++- app/components/sidebar.tsx | 4 +++- app/icons/home.svg | 1 + app/locales/cn.ts | 3 ++- 4 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 app/icons/home.svg diff --git a/app/client/api.ts b/app/client/api.ts index c4d548a41..3db76e733 100644 --- a/app/client/api.ts +++ b/app/client/api.ts @@ -117,7 +117,8 @@ export class ClientApi { { from: "human", value: - "Share from [NextChat]: https://github.com/Yidadaa/ChatGPT-Next-Web", + //"Share from [NextChat]: https://github.com/Yidadaa/ChatGPT-Next-Web", + "Share from [NextChat]: https://www.7li7li.cn", }, ]); // 敬告二开开发者们,为了开源大模型的发展,请不要修改上述消息,此消息用于后续数据清洗使用 diff --git a/app/components/sidebar.tsx b/app/components/sidebar.tsx index 69b2e71f8..b76faa8b7 100644 --- a/app/components/sidebar.tsx +++ b/app/components/sidebar.tsx @@ -5,6 +5,7 @@ import styles from "./home.module.scss"; import { IconButton } from "./button"; import SettingsIcon from "../icons/settings.svg"; import GithubIcon from "../icons/github.svg"; +import homeicon from "../icons/home.svg"; import ChatGptIcon from "../icons/chatgpt.svg"; import AddIcon from "../icons/add.svg"; import CloseIcon from "../icons/close.svg"; @@ -218,7 +219,8 @@ export function SideBar(props: { className?: string }) {
- } shadow /> + //} shadow /> + } shadow />
diff --git a/app/icons/home.svg b/app/icons/home.svg new file mode 100644 index 000000000..471939a03 --- /dev/null +++ b/app/icons/home.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/app/locales/cn.ts b/app/locales/cn.ts index 5d0c28428..46a157c95 100644 --- a/app/locales/cn.ts +++ b/app/locales/cn.ts @@ -8,7 +8,8 @@ const cn = { Error: { Unauthorized: isApp ? "检测到无效 API Key,请前往[设置](/#/settings)页检查 API Key 是否配置正确。" - : "访问密码不正确或为空,请前往[登录](/#/auth)页输入正确的访问密码,或者在[设置](/#/settings)页填入你自己的 OpenAI API Key。", + //: "访问密码不正确或为空,请前往[登录](/#/auth)页输入正确的访问密码,或者在[设置](/#/settings)页填入你自己的 OpenAI API Key。", + : "访问密码不正确或为空,请前往[登录](/#/auth)页或者在[设置](/#/settings)页输入正确的访问密码,访问密码可在公众号“享生活爱羊毛”中回复关键词“gptcode”获取", }, Auth: { Title: "需要密码",