diff --git a/src/ILLATheme/CommonFooter/constants.tsx b/src/ILLATheme/CommonFooter/constants.tsx index f530c77096..967bf6912a 100644 --- a/src/ILLATheme/CommonFooter/constants.tsx +++ b/src/ILLATheme/CommonFooter/constants.tsx @@ -5,6 +5,7 @@ import ProductHuntIcon from "@site/static/img/public/productHunt.svg" import TwitterIcon from "@site/static/img/public/twitter.svg" import { translate } from "@docusaurus/Translate" import { IFootContentItem } from "./interface" +import { DISCORD_URL } from "@site/src/constants/url" const Community: IFootContentItem[] = [ { @@ -21,7 +22,7 @@ const Community: IFootContentItem[] = [ }, { icon: , - href: "https://discord.com/invite/illacloud", + href: DISCORD_URL, tagCategory: "homepage_footer_discord_click", label: "Discord", }, diff --git a/src/components/home/Index/Mobile/index.tsx b/src/components/home/Index/Mobile/index.tsx index b6dee1e250..3495404566 100644 --- a/src/components/home/Index/Mobile/index.tsx +++ b/src/components/home/Index/Mobile/index.tsx @@ -7,7 +7,7 @@ import { useUtmParams } from "@site/src/hooks/useUtmParams" import style from "./index.module.css" import Translate, { translate } from "@docusaurus/Translate" import { IBannerPCProps } from "../interface" -import { CLOUD_URL } from "@site/src/constants/url" +import { CLOUD_URL, DISCORD_URL } from "@site/src/constants/url" import LinkButton from "../../../common/LinkButton" import SolutionsMobile from "../components/SolutionsMobile" import Interpolate from "@docusaurus/Interpolate" @@ -98,7 +98,7 @@ const BannerMobile: FC = (props) => { { sendTagEvent({ diff --git a/src/constants/url.ts b/src/constants/url.ts index 7490519d70..e592038ba7 100644 --- a/src/constants/url.ts +++ b/src/constants/url.ts @@ -4,7 +4,7 @@ export const OAUTH_URL = "https://cloud.illacloud.com/oauth" export const DEMO_BASE_URL = "https://illa.ai/app" export const POLICY = "https://docs.illacloud.com/privacy-policy" export const SERVICE = "https://docs.illacloud.com/terms-of-service" -export const DISCORD_URL = "https://discord.com/invite/illacloud" +export const DISCORD_URL = "https://discord.gg/HCzD2gSz5c" export const FLOW_URL = "https://flow.illacloud.com" export const SELF_HOST_DOC_URL = "https://docs.illacloud.com/self-hosted-deployment"