Skip to content

Commit d556647

Browse files
authored
feat(landing): sync DeepSeek Pro and Flash landing campaign (#6863)
* sync DeepSeek Pro and Flash landing campaign * remove pricing customer story * fix(landing): keep campaign preview off conversion attribution Preview query params and the cloud-team-demo Upgrade path were treating campaign visibility as conversion eligibility, so public visitors could stamp od_campaign_id outside the fixed window. Split campaignVisible from campaignEligible on Pricing and the team demo, and use only the real clock window for checkout attribution. Generated-By: looper 0.11.8 (runner=fixer, agent=grok-build) * remove campaign preview backdoors * remove unused cloud team demo page * add Traditional Chinese campaign copy
1 parent 77b3136 commit d556647

10 files changed

Lines changed: 518 additions & 453 deletions

apps/landing-page/app/_lib/deepseek-v4-flash-campaign.ts renamed to apps/landing-page/app/_lib/deepseek-v4-pro-campaign.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export const DEEPSEEK_V4_FLASH_CAMPAIGN = {
1+
export const DEEPSEEK_V4_PRO_CAMPAIGN = {
22
startAt: '2026-08-06T00:00:00+08:00',
33
endAtExclusive: '2026-08-27T20:00:00+08:00',
44
} as const;
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import type { LandingLocaleCode } from '../i18n';
2+
3+
export interface HomeCampaignContent {
4+
title: string;
5+
detail: string;
6+
}
7+
8+
export const HOME_CAMPAIGN_CONTENT_BY_LOCALE = {
9+
en: { title: 'Put top-tier intelligence to work—without limits.', detail: 'DeepSeek V4 Pro and V4 Flash · FREE for two weeks' },
10+
zh: { title: '这次,顶级智能放开用。', detail: 'DeepSeek V4 Pro 与 V4 Flash · 两周免费用' },
11+
'zh-tw': { title: '這次,頂級智能放開用。', detail: 'DeepSeek V4 Pro 與 V4 Flash · 兩週免費用' },
12+
ja: { title: '最高峰の知性を、思いきり使おう。', detail: 'DeepSeek V4 Pro と V4 Flash · 2週間無料' },
13+
ko: { title: '최고 수준의 지능을 마음껏 사용하세요.', detail: 'DeepSeek V4 Pro 및 V4 Flash · 2주 무료' },
14+
de: { title: 'Spitzenintelligenz – ohne Zurückhaltung.', detail: 'DeepSeek V4 Pro und V4 Flash · zwei Wochen kostenlos' },
15+
fr: { title: 'Libérez une intelligence de premier plan.', detail: 'DeepSeek V4 Pro et V4 Flash · gratuits pendant deux semaines' },
16+
ru: { title: 'Используйте интеллект высшего уровня без ограничений.', detail: 'DeepSeek V4 Pro и V4 Flash · две недели бесплатно' },
17+
es: { title: 'Inteligencia de primer nivel, sin límites.', detail: 'DeepSeek V4 Pro y V4 Flash · gratis durante dos semanas' },
18+
'pt-br': { title: 'Inteligência de ponta, sem limites.', detail: 'DeepSeek V4 Pro e V4 Flash · grátis por duas semanas' },
19+
it: { title: 'Intelligenza di alto livello, senza limiti.', detail: 'DeepSeek V4 Pro e V4 Flash · gratis per due settimane' },
20+
tr: { title: 'Üst düzey zekâyı sınırsızca kullanın.', detail: 'DeepSeek V4 Pro ve V4 Flash · iki hafta ücretsiz' },
21+
} satisfies Partial<Record<LandingLocaleCode, HomeCampaignContent>>;
22+
23+
export function getHomeCampaignContent(locale: LandingLocaleCode): HomeCampaignContent {
24+
return HOME_CAMPAIGN_CONTENT_BY_LOCALE[locale as keyof typeof HOME_CAMPAIGN_CONTENT_BY_LOCALE]
25+
?? HOME_CAMPAIGN_CONTENT_BY_LOCALE.en;
26+
}
Lines changed: 169 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
1+
import type { LandingLocaleCode } from '../i18n';
2+
3+
export interface PricingCampaignContent {
4+
badge: string;
5+
headline: string;
6+
body: string;
7+
windowLabel: string;
8+
dayUnit: string;
9+
modelBenefits: readonly [string, string];
10+
paidBenefitNote: string;
11+
teamBenefitNote: string;
12+
disclaimer: string;
13+
linkLabel: string;
14+
closeLabel: string;
15+
}
16+
17+
export const PRICING_CAMPAIGN_CONTENT_BY_LOCALE = {
18+
en: {
19+
badge: 'Unlimited',
20+
headline: 'Put top-tier intelligence to work—without limits.',
21+
body: 'DeepSeek V4 Pro and V4 Flash · FREE for two weeks',
22+
windowLabel: 'Campaign countdown',
23+
dayUnit: 'd',
24+
modelBenefits: ['Unlimited DeepSeek V4 Pro', 'Unlimited DeepSeek V4 Flash'],
25+
paidBenefitNote: 'Aug 13—Aug 27 · FREE for two weeks',
26+
teamBenefitNote: 'Aug 13—Aug 27 · FREE for two weeks',
27+
disclaimer: 'Unlimited model quota and free generations included in a plan are available only in Open Design; they cannot be used through MCP/CLI/API or in other scenarios. Some models may require queuing during peak hours. The organizer reserves the right of final interpretation.',
28+
linkLabel: 'View campaign benefits', closeLabel: 'Dismiss campaign banner',
29+
},
30+
zh: {
31+
badge: '无限使用',
32+
headline: '这次,顶级智能放开用。',
33+
body: 'DeepSeek V4 Pro 与 V4 Flash · 两周免费用',
34+
windowLabel: '活动倒计时',
35+
dayUnit: '天',
36+
modelBenefits: ['DeepSeek V4 Pro 无限使用', 'DeepSeek V4 Flash 无限使用'],
37+
paidBenefitNote: '8月13日—8月27日 · 两周免费用',
38+
teamBenefitNote: '8月13日—8月27日 · 两周免费用',
39+
disclaimer: '套餐内的无限制模型额度与免费生成次数,仅可通过Open Design使用;无法在MCP/CLI/API及其他场景使用。部分模型高峰期需要排队。解释权归官方所有。',
40+
linkLabel: '查看活动权益', closeLabel: '关闭活动横幅',
41+
},
42+
'zh-tw': {
43+
badge: '無限使用',
44+
headline: '這次,頂級智能放開用。',
45+
body: 'DeepSeek V4 Pro 與 V4 Flash · 兩週免費用',
46+
windowLabel: '活動倒數',
47+
dayUnit: '天',
48+
modelBenefits: ['DeepSeek V4 Pro 無限使用', 'DeepSeek V4 Flash 無限使用'],
49+
paidBenefitNote: '8月13日—8月27日 · 兩週免費用',
50+
teamBenefitNote: '8月13日—8月27日 · 兩週免費用',
51+
disclaimer: '方案內的無限制模型額度與免費生成次數,僅可透過 Open Design 使用;無法在 MCP/CLI/API 及其他場景使用。部分模型在高峰時段可能需要排隊。最終解釋權歸官方所有。',
52+
linkLabel: '查看活動權益', closeLabel: '關閉活動橫幅',
53+
},
54+
ja: {
55+
badge: '無制限',
56+
headline: 'DeepSeek V4 Proを、思いきり使おう。',
57+
body: 'DeepSeek V4 Pro と V4 Flash · 2週間無料',
58+
windowLabel: 'キャンペーン終了まで',
59+
dayUnit: '日',
60+
modelBenefits: ['DeepSeek V4 Proを無制限で利用', 'DeepSeek V4 Flashを無制限で利用'],
61+
paidBenefitNote: '8月13日〜8月27日 · 2週間無料',
62+
teamBenefitNote: '8月13日〜8月27日 · 2週間無料',
63+
disclaimer: 'プランに含まれる無制限のモデル枠と無料生成回数は、Open Design内でのみ利用できます。MCP/CLI/APIなど、その他の環境では利用できません。一部のモデルはピーク時に待ち時間が発生する場合があります。最終的な解釈権は運営者に帰属します。',
64+
linkLabel: '特典を見る', closeLabel: 'キャンペーンバナーを閉じる',
65+
},
66+
ko: {
67+
badge: '무제한 사용',
68+
headline: 'DeepSeek V4 Pro, 마음껏 사용하세요.',
69+
body: 'DeepSeek V4 Pro 및 V4 Flash · 2주 무료',
70+
windowLabel: '이벤트 남은 시간',
71+
dayUnit: '일',
72+
modelBenefits: ['DeepSeek V4 Pro 무제한 사용', 'DeepSeek V4 Flash 무제한 사용'],
73+
paidBenefitNote: '8월 13일—8월 27일 · 2주 무료',
74+
teamBenefitNote: '8월 13일—8월 27일 · 2주 무료',
75+
disclaimer: '플랜에 포함된 무제한 모델 한도와 무료 생성 횟수는 Open Design에서만 사용할 수 있으며 MCP/CLI/API 또는 기타 환경에서는 사용할 수 없습니다. 일부 모델은 피크 시간대에 대기해야 할 수 있습니다. 최종 해석 권한은 운영사에 있습니다.',
76+
linkLabel: '이벤트 혜택 보기', closeLabel: '이벤트 배너 닫기',
77+
},
78+
de: {
79+
badge: 'Unbegrenzt',
80+
headline: 'DeepSeek V4 Pro: Mehr Intelligenz, ohne Zurückhaltung.',
81+
body: 'DeepSeek V4 Pro und V4 Flash · zwei Wochen kostenlos',
82+
windowLabel: 'Aktions-Countdown',
83+
dayUnit: 'T',
84+
modelBenefits: ['DeepSeek V4 Pro unbegrenzt nutzen', 'DeepSeek V4 Flash unbegrenzt nutzen'],
85+
paidBenefitNote: '13.—27. August · zwei Wochen kostenlos',
86+
teamBenefitNote: '13.—27. August · zwei Wochen kostenlos',
87+
disclaimer: 'Das im Tarif enthaltene unbegrenzte Modellkontingent und die kostenlosen Generierungen können nur in Open Design genutzt werden, nicht über MCP/CLI/API oder in anderen Umgebungen. Bei einigen Modellen kann es zu Spitzenzeiten zu Wartezeiten kommen. Der Veranstalter behält sich die endgültige Auslegung vor.',
88+
linkLabel: 'Aktionsvorteile ansehen', closeLabel: 'Aktionsbanner schließen',
89+
},
90+
fr: {
91+
badge: 'Illimité',
92+
headline: 'DeepSeek V4 Pro : une IA plus intelligente, sans limites.',
93+
body: 'DeepSeek V4 Pro et V4 Flash · gratuits pendant deux semaines',
94+
windowLabel: 'Compte à rebours',
95+
dayUnit: 'j',
96+
modelBenefits: ['DeepSeek V4 Pro en illimité', 'DeepSeek V4 Flash en illimité'],
97+
paidBenefitNote: 'Du 13 au 27 août · gratuits pendant deux semaines',
98+
teamBenefitNote: 'Du 13 au 27 août · gratuits pendant deux semaines',
99+
disclaimer: 'Le quota de modèles illimité et les générations gratuites inclus dans le forfait sont utilisables uniquement dans Open Design, et non via MCP/CLI/API ni dans d’autres contextes. Certains modèles peuvent nécessiter une mise en file d’attente aux heures de pointe. L’organisateur se réserve le droit d’interprétation finale.',
100+
linkLabel: 'Voir les avantages', closeLabel: 'Fermer la bannière',
101+
},
102+
ru: {
103+
badge: 'Без ограничений',
104+
headline: 'DeepSeek V4 Pro — больше интеллекта без ограничений.',
105+
body: 'DeepSeek V4 Pro и V4 Flash · две недели бесплатно',
106+
windowLabel: 'До конца акции',
107+
dayUnit: 'д',
108+
modelBenefits: ['DeepSeek V4 Pro без ограничений', 'DeepSeek V4 Flash без ограничений'],
109+
paidBenefitNote: '13—27 августа · две недели бесплатно',
110+
teamBenefitNote: '13—27 августа · две недели бесплатно',
111+
disclaimer: 'Безлимитная квота моделей и бесплатные генерации, включённые в тариф, доступны только в Open Design и недоступны через MCP/CLI/API или в других сценариях. Для некоторых моделей в часы пик может потребоваться ожидание в очереди. Организатор оставляет за собой право окончательного толкования.',
112+
linkLabel: 'Посмотреть преимущества', closeLabel: 'Закрыть баннер',
113+
},
114+
es: {
115+
badge: 'Uso ilimitado',
116+
headline: 'DeepSeek V4 Pro: inteligencia superior sin límites.',
117+
body: 'DeepSeek V4 Pro y V4 Flash · gratis durante dos semanas',
118+
windowLabel: 'Cuenta atrás de la promoción',
119+
dayUnit: 'd',
120+
modelBenefits: ['Uso ilimitado de DeepSeek V4 Pro', 'Uso ilimitado de DeepSeek V4 Flash'],
121+
paidBenefitNote: 'Del 13 al 27 de agosto · gratis durante dos semanas',
122+
teamBenefitNote: 'Del 13 al 27 de agosto · gratis durante dos semanas',
123+
disclaimer: 'La cuota ilimitada de modelos y las generaciones gratuitas incluidas en el plan solo pueden utilizarse en Open Design, no mediante MCP/CLI/API ni en otros entornos. Algunos modelos pueden requerir espera en horas punta. El organizador se reserva el derecho de interpretación final.',
124+
linkLabel: 'Ver beneficios', closeLabel: 'Cerrar el banner',
125+
},
126+
'pt-br': {
127+
badge: 'Uso ilimitado',
128+
headline: 'DeepSeek V4 Pro: inteligência superior sem limites.',
129+
body: 'DeepSeek V4 Pro e V4 Flash · grátis por duas semanas',
130+
windowLabel: 'Contagem regressiva',
131+
dayUnit: 'd',
132+
modelBenefits: ['Uso ilimitado do DeepSeek V4 Pro', 'Uso ilimitado do DeepSeek V4 Flash'],
133+
paidBenefitNote: '13 a 27 de agosto · grátis por duas semanas',
134+
teamBenefitNote: '13 a 27 de agosto · grátis por duas semanas',
135+
disclaimer: 'A cota ilimitada de modelos e as gerações gratuitas incluídas no plano só podem ser usadas no Open Design, e não via MCP/CLI/API nem em outros cenários. Alguns modelos podem exigir espera em horários de pico. O organizador se reserva o direito de interpretação final.',
136+
linkLabel: 'Ver benefícios', closeLabel: 'Fechar banner',
137+
},
138+
it: {
139+
badge: 'Uso illimitato',
140+
headline: 'DeepSeek V4 Pro: intelligenza superiore senza limiti.',
141+
body: 'DeepSeek V4 Pro e V4 Flash · gratis per due settimane',
142+
windowLabel: 'Conto alla rovescia',
143+
dayUnit: 'g',
144+
modelBenefits: ['DeepSeek V4 Pro senza limiti', 'DeepSeek V4 Flash senza limiti'],
145+
paidBenefitNote: '13—27 agosto · gratis per due settimane',
146+
teamBenefitNote: '13—27 agosto · gratis per due settimane',
147+
disclaimer: 'La quota modelli illimitata e le generazioni gratuite incluse nel piano sono utilizzabili solo in Open Design, non tramite MCP/CLI/API né in altri contesti. Alcuni modelli potrebbero richiedere attesa nelle ore di punta. L’organizzatore si riserva il diritto di interpretazione finale.',
148+
linkLabel: 'Scopri i vantaggi', closeLabel: 'Chiudi il banner',
149+
},
150+
tr: {
151+
badge: 'Sınırsız kullanım',
152+
headline: 'DeepSeek V4 Pro: daha akıllı modeli sınırsızca kullanın.',
153+
body: 'DeepSeek V4 Pro ve V4 Flash · iki hafta ücretsiz',
154+
windowLabel: 'Kampanya geri sayımı',
155+
dayUnit: 'g',
156+
modelBenefits: ['DeepSeek V4 Pro sınırsız kullanım', 'DeepSeek V4 Flash sınırsız kullanım'],
157+
paidBenefitNote: '13—27 Ağustos · iki hafta ücretsiz',
158+
teamBenefitNote: '13—27 Ağustos · iki hafta ücretsiz',
159+
disclaimer: 'Paket kapsamındaki sınırsız model kotası ve ücretsiz üretim hakları yalnızca Open Design içinde kullanılabilir; MCP/CLI/API veya diğer senaryolarda kullanılamaz. Bazı modeller yoğun saatlerde sıraya alınabilir. Nihai yorum hakkı organizatöre aittir.',
160+
linkLabel: 'Kampanya avantajlarını gör', closeLabel: 'Kampanya bandını kapat',
161+
},
162+
} satisfies Partial<Record<LandingLocaleCode, PricingCampaignContent>>;
163+
164+
export function getPricingCampaignContent(
165+
locale: LandingLocaleCode,
166+
): PricingCampaignContent {
167+
return PRICING_CAMPAIGN_CONTENT_BY_LOCALE[locale as keyof typeof PRICING_CAMPAIGN_CONTENT_BY_LOCALE]
168+
?? PRICING_CAMPAIGN_CONTENT_BY_LOCALE.en;
169+
}

0 commit comments

Comments
 (0)