From 5bee4f2590200498162b00964e1fd89c2b78d49f Mon Sep 17 00:00:00 2001 From: vimtor Date: Wed, 13 May 2026 12:47:21 +0200 Subject: [PATCH] remove referral section from go landing page and translations --- packages/console/app/src/i18n/en.ts | 3 --- packages/console/app/src/i18n/zh.ts | 3 --- packages/console/app/src/routes/go/index.css | 13 ------------- packages/console/app/src/routes/go/index.tsx | 10 ---------- 4 files changed, 29 deletions(-) diff --git a/packages/console/app/src/i18n/en.ts b/packages/console/app/src/i18n/en.ts index 1751218a51..2ab89dff2b 100644 --- a/packages/console/app/src/i18n/en.ts +++ b/packages/console/app/src/i18n/en.ts @@ -258,9 +258,6 @@ export const dict = { "go.cta.text": "Subscribe to Go", "go.cta.price": "$10/month", "go.cta.promo": "$5 first month", - "go.referral.title": "Invite friends", - "go.referral.link": "Invite", - "go.referral.note": "Friends receive $10 Go credit after subscribing. You can earn up to $60 in Go credit.", "go.pricing.body": "Use with any agent. $5 first month, then $10/month. Top up credit if needed. Cancel any time.", "go.graph.free": "Free", "go.graph.freePill": "Big Pickle and free models", diff --git a/packages/console/app/src/i18n/zh.ts b/packages/console/app/src/i18n/zh.ts index 0eacc36fe7..377e037e7e 100644 --- a/packages/console/app/src/i18n/zh.ts +++ b/packages/console/app/src/i18n/zh.ts @@ -251,9 +251,6 @@ export const dict = { "go.cta.text": "订阅 Go", "go.cta.price": "$10/月", "go.cta.promo": "首月 $5", - "go.referral.title": "邀请好友", - "go.referral.link": "邀请", - "go.referral.note": "好友订阅后可获得 $10 Go 用量抵扣。您最多可获得 $60 Go 用量抵扣。", "go.pricing.body": "可配合任何代理使用。首月 $5,之后 $10/月。如有需要可充值。随时取消。", "go.graph.free": "免费", "go.graph.freePill": "Big Pickle 和免费模型", diff --git a/packages/console/app/src/routes/go/index.css b/packages/console/app/src/routes/go/index.css index 6a2b001dea..25ae00e5f8 100644 --- a/packages/console/app/src/routes/go/index.css +++ b/packages/console/app/src/routes/go/index.css @@ -807,19 +807,6 @@ body { } } - [data-component="referral"] { - border-top: 1px solid var(--color-border-weak); - padding: var(--vertical-padding) var(--padding); - background: var(--color-background); - - a { - color: var(--color-text-strong); - text-decoration: underline; - text-underline-offset: var(--space-1); - text-decoration-thickness: 1px; - } - } - [data-component="problem"] { border-top: 1px solid var(--color-border-weak); padding: var(--vertical-padding) var(--padding); diff --git a/packages/console/app/src/routes/go/index.tsx b/packages/console/app/src/routes/go/index.tsx index f9c78dcd85..c24b887f0d 100644 --- a/packages/console/app/src/routes/go/index.tsx +++ b/packages/console/app/src/routes/go/index.tsx @@ -232,7 +232,6 @@ export default function Home() { if (workspaceID()) return `/workspace/${workspaceID()}/go${invite}` return "/auth" }) - const referralUrl = createMemo(() => (workspaceID() ? `/workspace/${workspaceID()}/go/invite` : "/auth")) const i18n = useI18n() const language = useLanguage() return ( @@ -387,15 +386,6 @@ export default function Home() { -
-
-

{i18n.t("go.referral.title")}

-

- {i18n.t("go.referral.note")} {i18n.t("go.referral.link")} -

-
-
-

{i18n.t("go.problem.title")}