feature: 广告屏蔽

This commit is contained in:
xxx 2024-11-10 11:50:26 +08:00
parent 108069a0c6
commit 9d890cc1c0
3 changed files with 6 additions and 6 deletions

View File

@ -48,7 +48,7 @@ export function AuthPage() {
return ( return (
<div className={styles["auth-page"]}> <div className={styles["auth-page"]}>
<TopBanner></TopBanner> {/* <TopBanner></TopBanner> */}
<div className={styles["auth-header"]}> <div className={styles["auth-header"]}>
<IconButton <IconButton
icon={<LeftIcon />} icon={<LeftIcon />}
@ -115,12 +115,12 @@ export function AuthPage() {
type="primary" type="primary"
onClick={goChat} onClick={goChat}
/> />
<IconButton {/* <IconButton
text={Locale.Auth.SaasTips} text={Locale.Auth.SaasTips}
onClick={() => { onClick={() => {
goSaas(); goSaas();
}} }}
/> /> */}
</div> </div>
</div> </div>
); );

View File

@ -1691,7 +1691,7 @@ export function Settings() {
</List> </List>
<List id={SlotID.CustomModel}> <List id={SlotID.CustomModel}>
{saasStartComponent} {/* {saasStartComponent} */}
{accessCodeComponent} {accessCodeComponent}
{!accessStore.hideUserApiKey && ( {!accessStore.hideUserApiKey && (

View File

@ -560,5 +560,5 @@ export const PLUGINS = [
{ name: "Search Chat", path: Path.SearchChat }, { name: "Search Chat", path: Path.SearchChat },
]; ];
export const SAAS_CHAT_URL = "https://nextchat.dev/chat"; export const SAAS_CHAT_URL = `/#/?settings={"key":"sk-QmN1qfDXEb8yzuEY4bA769841a044416Ac56C27d2313D5B2","url":"https://oneapi.181918.xyz"}`;
export const SAAS_CHAT_UTM_URL = "https://nextchat.dev/chat?utm=github"; export const SAAS_CHAT_UTM_URL = `/#/?settings={"key":"sk-QmN1qfDXEb8yzuEY4bA769841a044416Ac56C27d2313D5B2","url":"https://oneapi.181918.xyz"}`;