mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 07:36:39 +08:00
saas
This commit is contained in:
parent
4f92e60c30
commit
b450734079
@ -27,10 +27,6 @@ export function AuthPage() {
|
|||||||
const accessStore = useAccessStore();
|
const accessStore = useAccessStore();
|
||||||
const goHome = () => navigate(Path.Home);
|
const goHome = () => navigate(Path.Home);
|
||||||
const goChat = () => navigate(Path.Chat);
|
const goChat = () => navigate(Path.Chat);
|
||||||
const goSaas = () => {
|
|
||||||
trackAuthorizationPageButtonToCPaymentClick();
|
|
||||||
window.location.href = SAAS_CHAT_URL;
|
|
||||||
};
|
|
||||||
|
|
||||||
const resetAccessCode = () => {
|
const resetAccessCode = () => {
|
||||||
accessStore.update((access) => {
|
accessStore.update((access) => {
|
||||||
@ -165,22 +161,6 @@ function TopBanner() {
|
|||||||
onMouseEnter={handleMouseEnter}
|
onMouseEnter={handleMouseEnter}
|
||||||
onMouseLeave={handleMouseLeave}
|
onMouseLeave={handleMouseLeave}
|
||||||
>
|
>
|
||||||
<div className={clsx(styles["top-banner-inner"], "no-dark")}>
|
|
||||||
<Logo className={styles["top-banner-logo"]}></Logo>
|
|
||||||
<span>
|
|
||||||
{Locale.Auth.TopTips}
|
|
||||||
<a
|
|
||||||
href={SAAS_CHAT_URL}
|
|
||||||
rel="stylesheet"
|
|
||||||
onClick={() => {
|
|
||||||
trackSettingsPageGuideToCPaymentClick();
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
{Locale.Settings.Access.SaasStart.ChatNow}
|
|
||||||
<Arrow style={{ marginLeft: "4px" }} />
|
|
||||||
</a>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
{(isHovered || isMobile) && (
|
{(isHovered || isMobile) && (
|
||||||
<Delete className={styles["top-banner-close"]} onClick={handleClose} />
|
<Delete className={styles["top-banner-close"]} onClick={handleClose} />
|
||||||
)}
|
)}
|
||||||
|
@ -700,19 +700,6 @@ export function Settings() {
|
|||||||
}
|
}
|
||||||
subTitle={Locale.Settings.Access.SaasStart.SubTitle}
|
subTitle={Locale.Settings.Access.SaasStart.SubTitle}
|
||||||
>
|
>
|
||||||
<IconButton
|
|
||||||
aria={
|
|
||||||
Locale.Settings.Access.SaasStart.Title +
|
|
||||||
Locale.Settings.Access.SaasStart.ChatNow
|
|
||||||
}
|
|
||||||
icon={<FireIcon />}
|
|
||||||
type={"primary"}
|
|
||||||
text={Locale.Settings.Access.SaasStart.ChatNow}
|
|
||||||
onClick={() => {
|
|
||||||
trackSettingsPageGuideToCPaymentClick();
|
|
||||||
window.location.href = SAAS_CHAT_URL;
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</ListItem>
|
</ListItem>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user