test
This commit is contained in:
parent
b920ac6807
commit
7c75f8ddbd
|
@ -6,18 +6,13 @@ import { Path, SAAS_CHAT_URL } from "../constant";
|
||||||
import { useAccessStore } from "../store";
|
import { useAccessStore } from "../store";
|
||||||
import Locale from "../locales";
|
import Locale from "../locales";
|
||||||
import Delete from "../icons/close.svg";
|
import Delete from "../icons/close.svg";
|
||||||
import Arrow from "../icons/arrow.svg";
|
|
||||||
import Logo from "../icons/logo.svg";
|
|
||||||
import { useMobileScreen } from "@/app/utils";
|
import { useMobileScreen } from "@/app/utils";
|
||||||
import BotIcon from "../icons/bot.svg";
|
import BotIcon from "../icons/bot.svg";
|
||||||
import { getClientConfig } from "../config/client";
|
import { getClientConfig } from "../config/client";
|
||||||
import { PasswordInput } from "./ui-lib";
|
import { PasswordInput } from "./ui-lib";
|
||||||
import LeftIcon from "@/app/icons/left.svg";
|
import LeftIcon from "@/app/icons/left.svg";
|
||||||
import { safeLocalStorage } from "@/app/utils";
|
import { safeLocalStorage } from "@/app/utils";
|
||||||
import {
|
import { trackAuthorizationPageButtonToCPaymentClick } from "../utils/auth-settings-events";
|
||||||
trackSettingsPageGuideToCPaymentClick,
|
|
||||||
trackAuthorizationPageButtonToCPaymentClick,
|
|
||||||
} from "../utils/auth-settings-events";
|
|
||||||
import clsx from "clsx";
|
import clsx from "clsx";
|
||||||
|
|
||||||
const storage = safeLocalStorage();
|
const storage = safeLocalStorage();
|
||||||
|
@ -165,22 +160,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} />
|
||||||
)}
|
)}
|
||||||
|
|
|
@ -91,7 +91,6 @@ export const DEFAULT_CONFIG = {
|
||||||
voice: DEFAULT_TTS_VOICE,
|
voice: DEFAULT_TTS_VOICE,
|
||||||
speed: 1.0,
|
speed: 1.0,
|
||||||
},
|
},
|
||||||
|
|
||||||
realtimeConfig: {
|
realtimeConfig: {
|
||||||
enable: false,
|
enable: false,
|
||||||
provider: "OpenAI" as ServiceProvider,
|
provider: "OpenAI" as ServiceProvider,
|
||||||
|
|
Loading…
Reference in New Issue