mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 23:56:39 +08:00
merge
This commit is contained in:
parent
7e1cdbec80
commit
2588bcd465
@ -178,7 +178,7 @@ function Screen() {
|
|||||||
<div
|
<div
|
||||||
className={`${styles.container} ${
|
className={`${styles.container} ${
|
||||||
shouldTightBorder ? styles["tight-container"] : styles.container
|
shouldTightBorder ? styles["tight-container"] : styles.container
|
||||||
} ${getLang() === "ar" ? styles["rtl-screen"] : ""}`}
|
}`}
|
||||||
>
|
>
|
||||||
{renderContent()}
|
{renderContent()}
|
||||||
</div>
|
</div>
|
||||||
|
@ -157,23 +157,23 @@ export function SideBarContainer(props: {
|
|||||||
transition: isMobileScreen && isIOSMobile ? "none" : undefined,
|
transition: isMobileScreen && isIOSMobile ? "none" : undefined,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div className={styles["sidebar-header"]}>
|
{/*<div className={styles["sidebar-header"]}>*/}
|
||||||
<div className={styles["sidebar-title"]}>这里开始……</div>
|
{/* <div className={styles["sidebar-title"]}>这里开始……</div>*/}
|
||||||
<div className={styles["sidebar-sub-title"]}>
|
{/* <div className={styles["sidebar-sub-title"]}>*/}
|
||||||
选择一个你自己的助理
|
{/* 选择一个你自己的助理*/}
|
||||||
<br />
|
{/* <br />*/}
|
||||||
<br />
|
{/* <br />*/}
|
||||||
1. 有时可能会<b>抽风</b>,点击下方<b>新的聊天</b>试一下吧
|
{/* 1. 有时可能会<b>抽风</b>,点击下方<b>新的聊天</b>试一下吧*/}
|
||||||
<br />
|
{/* <br />*/}
|
||||||
2. 绘图:“/mj 提示词”
|
{/* 2. 绘图:“/mj 提示词”*/}
|
||||||
的格式生成图片(可以搜一下midjourney的提示词工具或使用方法)
|
{/* 的格式生成图片(可以搜一下midjourney的提示词工具或使用方法)*/}
|
||||||
<br />
|
{/* <br />*/}
|
||||||
3. 如果觉得还不错,可以给作者赏杯咖啡
|
{/* 3. 如果觉得还不错,可以给作者赏杯咖啡*/}
|
||||||
</div>
|
{/* </div>*/}
|
||||||
<div className={styles["sidebar-logo"] + " no-dark"}>
|
{/* <div className={styles["sidebar-logo"] + " no-dark"}>*/}
|
||||||
<ChatGptIcon />
|
{/* <ChatGptIcon />*/}
|
||||||
</div>
|
{/* </div>*/}
|
||||||
</div>
|
{/*</div>*/}
|
||||||
|
|
||||||
{children}
|
{children}
|
||||||
<div
|
<div
|
||||||
@ -241,6 +241,11 @@ export function SideBar(props: { className?: string }) {
|
|||||||
const config = useAppConfig();
|
const config = useAppConfig();
|
||||||
const chatStore = useChatStore();
|
const chatStore = useChatStore();
|
||||||
|
|
||||||
|
const currentModel = chatStore.currentSession().mask.modelConfig.model;
|
||||||
|
const currentProviderName =
|
||||||
|
chatStore.currentSession().mask.modelConfig?.providerName ||
|
||||||
|
ServiceProvider.OpenAI;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<SideBarContainer
|
<SideBarContainer
|
||||||
onDragStart={onDragStart}
|
onDragStart={onDragStart}
|
||||||
@ -248,8 +253,20 @@ export function SideBar(props: { className?: string }) {
|
|||||||
{...props}
|
{...props}
|
||||||
>
|
>
|
||||||
<SideBarHeader
|
<SideBarHeader
|
||||||
title="NextChat"
|
title="这里开始……"
|
||||||
subTitle="Build your own AI assistant."
|
subTitle={
|
||||||
|
<span>
|
||||||
|
选择一个你自己的助理
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
1. 有时可能会<b>抽风</b>,点击下方<b>新的聊天</b>试一下吧
|
||||||
|
<br />
|
||||||
|
2. 绘图:“/mj 提示词”
|
||||||
|
的格式生成图片(可以搜一下midjourney的提示词工具或使用方法)
|
||||||
|
<br />
|
||||||
|
3. 如果觉得还不错,可以给作者赏杯咖啡
|
||||||
|
</span>
|
||||||
|
}
|
||||||
logo={<ChatGptIcon />}
|
logo={<ChatGptIcon />}
|
||||||
>
|
>
|
||||||
<div className={styles["sidebar-header-bar"]}>
|
<div className={styles["sidebar-header-bar"]}>
|
||||||
|
Loading…
Reference in New Issue
Block a user