diff --git a/app/components/button.module.scss b/app/components/button.module.scss index e7d5d8940..955061a66 100644 --- a/app/components/button.module.scss +++ b/app/components/button.module.scss @@ -1,6 +1,6 @@ .icon-button { - background-color: var(--white); - border-radius: 10px; + background-color: #0c040430; + border-radius: 200px; display: flex; align-items: center; justify-content: center; diff --git a/app/components/chat.module.scss b/app/components/chat.module.scss index f57e6c100..7acb36eff 100644 --- a/app/components/chat.module.scss +++ b/app/components/chat.module.scss @@ -57,7 +57,7 @@ } .memory-prompt { - margin-top: 20px; + margin-top: 10px; .memory-prompt-title { font-size: 12px; diff --git a/app/components/chat.tsx b/app/components/chat.tsx index 4ab616444..f76b58807 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -588,7 +588,10 @@ export function Chat(props: { >
- +
{(message.preview || message.streaming) && (
diff --git a/app/components/home.module.scss b/app/components/home.module.scss index da954dc1d..3e25eb62a 100644 --- a/app/components/home.module.scss +++ b/app/components/home.module.scss @@ -3,12 +3,13 @@ @mixin container { background-color: var(--white); - border: var(--border-in-light); + border: rgb(63 206 146); border-radius: 20px; box-shadow: var(--shadow); color: var(--black); background-color: var(--white); - min-width: 600px; + //min-width: 600px; + min-width: 95%; min-height: 480px; max-width: 900px; @@ -44,7 +45,7 @@ width: var(--sidebar-width); box-sizing: border-box; padding: 20px; - background-color: var(--second); + background-color: rgb(230, 96, 152); display: flex; flex-direction: column; box-shadow: inset -2px 0px 2px 0px rgb(0, 0, 0, 0.05); @@ -121,7 +122,7 @@ .chat-item { padding: 10px 14px; - background-color: var(--white); + background-color: #0808084f; border-radius: 10px; margin-bottom: 10px; box-shadow: var(--card-shadow); @@ -134,11 +135,11 @@ } .chat-item:hover { - background-color: var(--hover-color); + background-color: #ba2de2; } .chat-item-selected { - border-color: var(--primary); + border-color: rgba(234, 236, 236, 0); } .chat-item-title { @@ -171,7 +172,7 @@ .chat-item-info { display: flex; justify-content: space-between; - color: rgb(166, 166, 166); + color: rgb(255, 255, 255); font-size: 12px; margin-top: 8px; } @@ -254,7 +255,7 @@ .chat-message-status { font-size: 12px; - color: #aaa; + color: #aaaaaa; line-height: 1.5; margin-top: 5px; } @@ -275,12 +276,12 @@ max-width: 100%; margin-top: 10px; border-radius: 10px; - background-color: rgba(0, 0, 0, 0.05); + background-color: rgb(230, 96, 152); padding: 10px; font-size: 14px; user-select: text; word-break: break-word; - border: var(--border-in-light); + border: rgb(63 206 146); position: relative; } @@ -314,7 +315,7 @@ } .chat-message-user > .chat-message-container > .chat-message-item { - background-color: var(--second); + background-color: rgba(63, 206, 146); } .chat-message-actions { @@ -327,7 +328,7 @@ } .chat-message-action-date { - color: #aaa; + color: #b218cb; } .chat-input-panel { diff --git a/app/components/home.tsx b/app/components/home.tsx index b6a2161d6..7cc108ade 100644 --- a/app/components/home.tsx +++ b/app/components/home.tsx @@ -119,12 +119,15 @@ function _Home() { className={styles.sidebar + ` ${showSideBar && styles["sidebar-show"]}`} >
-
ChatGPT Next
-
- Build your own AI assistant. -
+
小贴心❤
+
终牵绊,憔思花容颜.
- + 图片描述
diff --git a/app/components/window.scss b/app/components/window.scss index a92aed4eb..119acb6a2 100644 --- a/app/components/window.scss +++ b/app/components/window.scss @@ -1,11 +1,12 @@ .window-header { padding: 14px 20px; - border-bottom: rgba(0, 0, 0, 0.1) 1px solid; + border-bottom: rgba(202, 10, 10, 0.1) 1px solid; position: relative; display: flex; justify-content: space-between; align-items: center; + background-color:#0bc398; } .window-header-title { diff --git a/app/constant.ts b/app/constant.ts index 8a519d44e..fb1e9f630 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -1,5 +1,5 @@ -export const OWNER = "Yidadaa"; -export const REPO = "ChatGPT-Next-Web"; +export const OWNER = "zhangjiajun0523"; +export const REPO = "ChatGPT-Next-Web-1"; export const REPO_URL = `https://github.com/${OWNER}/${REPO}`; export const ISSUE_URL = `https://github.com/${OWNER}/${REPO}/issues`; export const UPDATE_URL = `${REPO_URL}#keep-updated`; diff --git a/app/layout.tsx b/app/layout.tsx index 49a6d644d..5cdbf28d6 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -17,13 +17,13 @@ try { } export const metadata = { - title: "ChatGPT Next Web", + title: "小贴心❥", description: "Your personal ChatGPT Chat Bot.", appleWebApp: { - title: "ChatGPT Next Web", + title: "小贴心❥", statusBarStyle: "default", }, - themeColor: "#fafafa", + themeColor: "#pink", }; function Meta() { diff --git a/app/locales/cn.ts b/app/locales/cn.ts index e21272a12..bafff008f 100644 --- a/app/locales/cn.ts +++ b/app/locales/cn.ts @@ -9,7 +9,7 @@ const cn = { ChatItemCount: (count: number) => `${count} 条对话`, }, Chat: { - SubTitle: (count: number) => `与 ChatGPT 的 ${count} 条对话`, + SubTitle: (count: number) => `与 小贴心♡ 的 ${count} 条对话`, Actions: { ChatList: "查看消息列表", CompressedHistory: "查看压缩后的历史 Prompt", @@ -138,12 +138,12 @@ const cn = { }, }, Store: { - DefaultTopic: "新的聊天", - BotHello: "有什么可以帮你的吗", + DefaultTopic: "新的聊天窗口", + BotHello: "你好呀,有什么想向我提问的吗?", Error: "出错了,稍后重试吧", Prompt: { History: (content: string) => - "这是 ai 和用户的历史聊天总结作为前情提要:" + content, + "这是 小贴心❥ 和用户的历史聊天总结作为前情提要:" + content, Topic: "使用四到五个字直接返回这句话的简要主题,不要解释、不要标点、不要语气词、不要多余文本,如果没有主题,请直接返回“闲聊”", Summarize: diff --git a/app/styles/globals.scss b/app/styles/globals.scss index 53902d935..311a8177a 100644 --- a/app/styles/globals.scss +++ b/app/styles/globals.scss @@ -90,8 +90,7 @@ body { justify-content: center; align-items: center; user-select: none; - font-family: "Noto Sans SC", "SF Pro SC", "SF Pro Text", "SF Pro Icons", - "PingFang SC", "Helvetica Neue", "Helvetica", "Arial", sans-serif; + font-family: "微软雅黑","Arial", sans-serif; @media only screen and (max-width: 600px) { background-color: var(--second); @@ -283,7 +282,7 @@ pre { cursor: pointer; div:not(.no-dark) > svg { - filter: invert(0.5); + filter: var(--black); } &:hover { diff --git a/app/styles/markdown.scss b/app/styles/markdown.scss index 107c1b80d..3d4eb3c14 100644 --- a/app/styles/markdown.scss +++ b/app/styles/markdown.scss @@ -493,6 +493,7 @@ .markdown-body > *:last-child { margin-bottom: 0 !important; + color: white; } .markdown-body a:not([href]) {