Skip to content

Commit

Permalink
chore: update discord link
Browse files Browse the repository at this point in the history
  • Loading branch information
Wangtaofeng committed Dec 2, 2024
1 parent 4b8deab commit 457a71d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/ILLATheme/CommonFooter/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = [
{
Expand All @@ -21,7 +22,7 @@ const Community: IFootContentItem[] = [
},
{
icon: <DiscordIcon />,
href: "https://discord.com/invite/illacloud",
href: DISCORD_URL,
tagCategory: "homepage_footer_discord_click",
label: "Discord",
},
Expand Down
4 changes: 2 additions & 2 deletions src/components/home/Index/Mobile/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -98,7 +98,7 @@ const BannerMobile: FC<IBannerPCProps> = (props) => {
</div>
</Link>
<Link
href="https://discord.com/invite/illacloud"
href={DISCORD_URL}
className="flex flex-col items-center gap-[8px]"
onClick={() => {
sendTagEvent({
Expand Down
2 changes: 1 addition & 1 deletion src/constants/url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 457a71d

Please sign in to comment.