remove referral section from go landing page and translations

This commit is contained in:
vimtor
2026-05-13 12:47:21 +02:00
parent 940d7c3515
commit 5bee4f2590
4 changed files with 0 additions and 29 deletions

View File

@@ -258,9 +258,6 @@ export const dict = {
"go.cta.text": "Subscribe to Go", "go.cta.text": "Subscribe to Go",
"go.cta.price": "$10/month", "go.cta.price": "$10/month",
"go.cta.promo": "$5 first 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.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.free": "Free",
"go.graph.freePill": "Big Pickle and free models", "go.graph.freePill": "Big Pickle and free models",

View File

@@ -251,9 +251,6 @@ export const dict = {
"go.cta.text": "订阅 Go", "go.cta.text": "订阅 Go",
"go.cta.price": "$10/月", "go.cta.price": "$10/月",
"go.cta.promo": "首月 $5", "go.cta.promo": "首月 $5",
"go.referral.title": "邀请好友",
"go.referral.link": "邀请",
"go.referral.note": "好友订阅后可获得 $10 Go 用量抵扣。您最多可获得 $60 Go 用量抵扣。",
"go.pricing.body": "可配合任何代理使用。首月 $5之后 $10/月。如有需要可充值。随时取消。", "go.pricing.body": "可配合任何代理使用。首月 $5之后 $10/月。如有需要可充值。随时取消。",
"go.graph.free": "免费", "go.graph.free": "免费",
"go.graph.freePill": "Big Pickle 和免费模型", "go.graph.freePill": "Big Pickle 和免费模型",

View File

@@ -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"] { [data-component="problem"] {
border-top: 1px solid var(--color-border-weak); border-top: 1px solid var(--color-border-weak);
padding: var(--vertical-padding) var(--padding); padding: var(--vertical-padding) var(--padding);

View File

@@ -232,7 +232,6 @@ export default function Home() {
if (workspaceID()) return `/workspace/${workspaceID()}/go${invite}` if (workspaceID()) return `/workspace/${workspaceID()}/go${invite}`
return "/auth" return "/auth"
}) })
const referralUrl = createMemo(() => (workspaceID() ? `/workspace/${workspaceID()}/go/invite` : "/auth"))
const i18n = useI18n() const i18n = useI18n()
const language = useLanguage() const language = useLanguage()
return ( return (
@@ -387,15 +386,6 @@ export default function Home() {
<LimitsGraph href={language.route("/docs/go/#usage-limits")} /> <LimitsGraph href={language.route("/docs/go/#usage-limits")} />
</section> </section>
<section data-component="referral">
<div data-slot="section-title">
<h3>{i18n.t("go.referral.title")}</h3>
<p>
{i18n.t("go.referral.note")} <a href={referralUrl()}>{i18n.t("go.referral.link")}</a>
</p>
</div>
</section>
<section data-component="problem"> <section data-component="problem">
<div data-slot="section-title"> <div data-slot="section-title">
<h3>{i18n.t("go.problem.title")}</h3> <h3>{i18n.t("go.problem.title")}</h3>