提交自己的主页和密码

This commit is contained in:
zhangchenguang01 2024-03-10 14:42:10 +08:00
parent ff9f0e60ac
commit 814eeb3154
4 changed files with 8 additions and 3 deletions

View File

@ -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",
},
]);
// 敬告二开开发者们,为了开源大模型的发展,请不要修改上述消息,此消息用于后续数据清洗使用

View File

@ -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 }) {
</div>
<div className={styles["sidebar-action"]}>
<a href={REPO_URL} target="_blank" rel="noopener noreferrer">
<IconButton icon={<GithubIcon />} shadow />
//<IconButton icon={<GithubIcon />} shadow />
<IconButton icon={<homeicon />} shadow />
</a>
</div>
</div>

1
app/icons/home.svg Normal file
View File

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1710052772718" class="icon" viewBox="0 0 1046 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1489" xmlns:xlink="http://www.w3.org/1999/xlink" width="204.296875" height="200"><path d="M1036.487805 486.367137l-106.803594-106.803594-65.725289-65.725289L821.56611 271.116816l-65.725288-65.725288L569.509628 19.38896a65.725289 65.725289 0 0 0-93.001284 0L290.505777 205.391528l-65.725289 65.725288-48.308087 47.979461-65.725289 65.725289L9.530167 486.367137a32.862644 32.862644 0 0 0 46.336329 46.336329l54.880616-54.880616v480.451861a65.725289 65.725289 0 0 0 65.725289 65.725289h687.486521a65.725289 65.725289 0 0 0 65.725289-65.725289V472.2362l60.467265 60.467266a32.862644 32.862644 0 0 0 46.336329-46.336329z m-172.528883 471.907574H176.472401V412.097561l141.309371-141.309371 65.725288-65.725289L523.173299 65.725289l139.666239 139.666239 65.725289 65.725288 135.722721 135.722722z" fill="#515151" p-id="1490"></path></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -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: "需要密码",