All checks were successful
Build and Deploy Front / deploy (push) Successful in 10m38s
Co-authored-by: Cursor <cursoragent@cursor.com>
349 lines
10 KiB
TypeScript
349 lines
10 KiB
TypeScript
import { brandCopy, DEFAULT_BRAND_COPY } from '@/utils/brandCopy';
|
||
|
||
export const WELCOME_COPY = {
|
||
en: {
|
||
title: 'BCD · One-stop cross-border logistics advisor',
|
||
titleShort: 'BCD · Logistics advisor',
|
||
placeholder: 'e.g. 5 kg general cargo to the US, how many days?',
|
||
sendLabel: 'Ask',
|
||
historyTitle: 'Chat history',
|
||
closeHistory: 'Close history',
|
||
newChat: 'New chat',
|
||
newChatHint: 'New chat started — ask here',
|
||
emptyHistory: 'No conversations yet',
|
||
heroCta: 'Start shipping',
|
||
composeLead: 'Where are you shipping? Pick a destination, or ask below.',
|
||
destAria: 'Pick a destination',
|
||
intentAria: 'Shipping and benefits shortcuts',
|
||
featuredRoutesTitle: 'Featured lanes',
|
||
featuredRoutesAll: 'All lanes',
|
||
featuredRoutesAria: 'Featured shipping lanes',
|
||
featuredRoutesAsk: 'Ask about this lane',
|
||
featuredRoutesPrev: 'Previous lanes',
|
||
featuredRoutesNext: 'Next lanes',
|
||
partnerTag: 'Partners',
|
||
partnerAria: 'Connected platforms and carriers',
|
||
trustIcp: '粤ICP备2025463970号-2',
|
||
routesBack: 'Back to lanes',
|
||
fallback: 'Quotes are in the customer system after you register. You can also talk to an advisor.',
|
||
},
|
||
zh: {
|
||
title: 'BCD · 一站式跨境物流顾问',
|
||
titleShort: 'BCD · 跨境物流顾问',
|
||
placeholder: '例如:发美国普货,5kg,要几天',
|
||
sendLabel: '提问',
|
||
historyTitle: '历史记录',
|
||
closeHistory: '关闭历史',
|
||
newChat: '新会话',
|
||
newChatHint: '已开启新会话,在这里提问',
|
||
emptyHistory: '暂无会话',
|
||
heroCta: '开始寄件',
|
||
composeLead: '发到哪?点目的地看线路,或直接提问。',
|
||
destAria: '选择目的地',
|
||
intentAria: '履约与权益入口',
|
||
featuredRoutesTitle: '精选线路',
|
||
featuredRoutesAll: '全部线路',
|
||
featuredRoutesAria: '精选发货线路',
|
||
featuredRoutesAsk: '按这条问顾问',
|
||
featuredRoutesPrev: '上一页线路',
|
||
featuredRoutesNext: '下一页线路',
|
||
partnerTag: '合作伙伴',
|
||
partnerAria: '对接平台与服务商',
|
||
trustIcp: '粤ICP备2025463970号-2',
|
||
routesBack: '返回线路',
|
||
fallback: '官网不提供口头价。完成注册登记后,即可在客户系统里按线路看明码价。也可以先联系顾问。',
|
||
},
|
||
};
|
||
|
||
export const SITE_CONTACT = {
|
||
phone: '13048804956',
|
||
email: '13048804956@163.com',
|
||
get icp() {
|
||
return brandCopy.icp || DEFAULT_BRAND_COPY.icp;
|
||
},
|
||
addressZh: '深圳市宝安区福永街道怀德社区翠岗工业六区7栋怀德西部商务大厦A区4楼401',
|
||
addressEn:
|
||
"Rm 401, Zone A, Huaide Western Business Bldg, Bldg 7, Cuigang Industrial Zone 6, Fuyong, Bao'an, Shenzhen",
|
||
};
|
||
|
||
export const SITE_INTENTS = [
|
||
{
|
||
id: 'quote',
|
||
icon: 'quote',
|
||
en: {
|
||
title: 'Need a rate?',
|
||
hint: 'Register to see list rates by lane — no haggling',
|
||
label: 'I want to see list rates',
|
||
},
|
||
zh: {
|
||
title: '想看报价',
|
||
hint: '登记后按线路看一口价,不用砍',
|
||
label: '我想看线路一口价',
|
||
},
|
||
},
|
||
{
|
||
id: 'track',
|
||
icon: 'track',
|
||
followup: false,
|
||
en: {
|
||
title: 'Where is my parcel?',
|
||
hint: 'Sign in to see live scans from pickup to delivery',
|
||
label: 'Where is my shipment from pickup to delivery?',
|
||
},
|
||
zh: {
|
||
title: '货到哪了',
|
||
hint: '登录后看揽收到派送的真实节点',
|
||
label: '这票货从揽收到派送卡在哪',
|
||
},
|
||
},
|
||
{
|
||
id: 'warehouse',
|
||
icon: 'track',
|
||
en: {
|
||
title: 'Warehouse fulfillment',
|
||
hint: 'Inbound, pick & pack — ship when orders land',
|
||
label: 'I need warehouse dropshipping',
|
||
},
|
||
zh: {
|
||
title: '仓储代发',
|
||
hint: '入仓拣货打包,订单来了就发出去',
|
||
label: '我要仓储一件代发',
|
||
},
|
||
},
|
||
{
|
||
id: 'hard',
|
||
icon: 'hard',
|
||
en: {
|
||
title: 'Others declined it?',
|
||
hint: 'Battery, cosmetics, oversize — ask us first',
|
||
label: 'Others declined this cargo. Can you take it?',
|
||
},
|
||
zh: {
|
||
title: '别人不接',
|
||
hint: '带电、化妆品、超长,先问我们出得去不',
|
||
label: '别人不接的货,你们能发吗?',
|
||
},
|
||
},
|
||
{
|
||
id: 'compliance',
|
||
icon: 'clearance',
|
||
en: {
|
||
title: 'Export paperwork',
|
||
hint: 'Declaration, VAT refund, or shipping without invoices',
|
||
label: 'I need export compliance — declaration, refund, or exemption',
|
||
},
|
||
zh: {
|
||
title: '出口文件',
|
||
hint: '报关、退税,或没有专票怎么出',
|
||
label: '想出口合规:正式报关 / 退税 / 无票免征',
|
||
},
|
||
},
|
||
{
|
||
id: 'human',
|
||
icon: 'human',
|
||
en: {
|
||
title: 'Talk to a person',
|
||
hint: 'One advisor from quote to delivery — no group chat',
|
||
label: 'Give me a dedicated advisor, no group chat',
|
||
},
|
||
zh: {
|
||
title: '找顾问',
|
||
hint: '不拉大群,一个人从报价跟到签收',
|
||
label: '给我一个专属顾问,别拉群',
|
||
},
|
||
},
|
||
{
|
||
id: 'agent',
|
||
icon: 'human',
|
||
followup: false,
|
||
en: {
|
||
title: 'Become an agent',
|
||
hint: 'Your own portal & clients — earn up to 10% freight commission',
|
||
label: 'How does the channel agent program work?',
|
||
},
|
||
zh: {
|
||
title: '代理招募',
|
||
hint: '独立管理系统管客户,运费分成最高 10%',
|
||
label: '渠道代理怎么合作?返佣怎么算?',
|
||
},
|
||
},
|
||
{
|
||
id: 'member',
|
||
icon: 'growth',
|
||
followup: false,
|
||
en: {
|
||
title: 'Member levels',
|
||
hint: 'Ship more, unlock up to 95% list rate on base freight',
|
||
label: 'How do member levels and freight discounts work?',
|
||
},
|
||
zh: {
|
||
title: '会员成长',
|
||
hint: '多发货升级,基础运费最高 95 折',
|
||
label: '会员等级怎么升?运费折扣怎么算?',
|
||
},
|
||
},
|
||
{
|
||
id: 'invite',
|
||
icon: 'coin',
|
||
followup: false,
|
||
en: {
|
||
title: 'Invite & earn',
|
||
hint: 'Friends ship — you get freight credit and coupons',
|
||
label: 'How does invite rewards and commission work?',
|
||
},
|
||
zh: {
|
||
title: '邀新分成',
|
||
hint: '好友发货,你拿运费余额奖励和券',
|
||
label: '邀请好友能拿什么奖励?分成怎么算?',
|
||
},
|
||
},
|
||
{
|
||
id: 'newcomer',
|
||
icon: 'coupon',
|
||
followup: false,
|
||
en: {
|
||
title: 'New-seller perks',
|
||
hint: 'Register for starter coupons — first and second ship',
|
||
label: 'What coupons do new sellers get after registering?',
|
||
},
|
||
zh: {
|
||
title: '新人福利',
|
||
hint: '注册就发券,首单、第二单都能用',
|
||
label: '新注册能领哪些券?怎么用?',
|
||
},
|
||
},
|
||
] as const;
|
||
|
||
/** Bottom follow-up chips — exclude marketing home doors to avoid clutter */
|
||
export const SITE_FOLLOWUP_INTENTS = SITE_INTENTS.filter(
|
||
(item) => !('followup' in item && item.followup === false),
|
||
);
|
||
|
||
export const HOME_DOORS = [
|
||
{
|
||
id: 'hard',
|
||
icon: 'hard',
|
||
intentId: 'hard' as const,
|
||
zh: { title: '敏感难发', hint: '先看出得去的线路,再谈税' },
|
||
en: { title: 'Sensitive cargo', hint: 'Find a lane that can leave, then tax.' },
|
||
},
|
||
{
|
||
id: 'warehouse',
|
||
icon: 'track',
|
||
intentId: 'warehouse' as const,
|
||
zh: { title: '仓储代发', hint: '入仓拣货打包,订单来即发' },
|
||
en: { title: 'Warehouse fulfillment', hint: 'Inbound, pick & pack — ship on order.' },
|
||
},
|
||
{
|
||
id: 'clearance',
|
||
icon: 'clearance',
|
||
intentId: 'compliance' as const,
|
||
zh: { title: '报关退税', hint: '正式报关、退税,或无票怎么出' },
|
||
en: { title: 'Customs & VAT', hint: 'Declaration, refund, or ship without invoices.' },
|
||
},
|
||
{
|
||
id: 'agent',
|
||
icon: 'human',
|
||
intentId: 'agent' as const,
|
||
featured: true,
|
||
zh: {
|
||
title: '代理招募',
|
||
hint: '独立门户管客户,运费分成最高 10%',
|
||
},
|
||
en: {
|
||
title: 'Become an agent',
|
||
hint: 'Your portal & clients — up to 10% commission',
|
||
},
|
||
},
|
||
{
|
||
id: 'member',
|
||
icon: 'growth',
|
||
intentId: 'member' as const,
|
||
featured: false,
|
||
zh: { title: '会员成长', hint: '近 12 月积分定级,基础运费最高 95 折' },
|
||
en: { title: 'Member tiers', hint: '12-month points — up to 95% on base freight' },
|
||
},
|
||
{
|
||
id: 'invite',
|
||
icon: 'coin',
|
||
intentId: 'invite' as const,
|
||
featured: false,
|
||
zh: { title: '邀新分成', hint: '好友派送成功,运费余额 + 10 元券' },
|
||
en: { title: 'Invite & earn', hint: 'Friends deliver → freight credit + ¥10 coupon' },
|
||
},
|
||
{
|
||
id: 'newcomer',
|
||
icon: 'coupon',
|
||
intentId: 'newcomer' as const,
|
||
featured: false,
|
||
zh: { title: '新人福利', hint: '注册送券:首单、备货、第二单' },
|
||
en: { title: 'New-seller deals', hint: 'Coupons for first ship, stock-up, second ship' },
|
||
},
|
||
] as const;
|
||
|
||
export const FULFILL_DOOR_IDS = ['hard', 'warehouse', 'clearance'] as const;
|
||
export const GROWTH_DOOR_IDS = ['newcomer', 'invite', 'member'] as const;
|
||
|
||
export const SITE_PARTNERS = [
|
||
{
|
||
id: 'taobao',
|
||
group: 'platform',
|
||
icon: '/site/img/partners/taobao.svg',
|
||
label: '淘宝',
|
||
},
|
||
{
|
||
id: '1688',
|
||
group: 'platform',
|
||
icon: '/site/img/partners/1688.png',
|
||
label: '1688',
|
||
},
|
||
{
|
||
id: 'jd',
|
||
group: 'platform',
|
||
icon: '/site/img/partners/jd.svg',
|
||
label: '京东',
|
||
},
|
||
{
|
||
id: 'lazada',
|
||
group: 'platform',
|
||
icon: '/site/img/partners/lazada.svg',
|
||
label: 'Lazada',
|
||
},
|
||
{
|
||
id: 'shopee',
|
||
group: 'platform',
|
||
icon: '/site/img/partners/shopee.svg',
|
||
label: 'Shopee',
|
||
},
|
||
{
|
||
id: 'tiktok',
|
||
group: 'platform',
|
||
icon: '/site/img/partners/tiktok.svg',
|
||
label: 'TikTok',
|
||
},
|
||
{
|
||
id: 'temu',
|
||
group: 'platform',
|
||
icon: '/site/img/partners/temu.svg',
|
||
label: 'Temu',
|
||
},
|
||
{
|
||
id: 'dhl',
|
||
group: 'carrier',
|
||
icon: '/site/img/partners/dhl.svg',
|
||
label: 'DHL',
|
||
},
|
||
{
|
||
id: 'fedex',
|
||
group: 'carrier',
|
||
icon: '/site/img/partners/fedex.svg',
|
||
label: 'FedEx',
|
||
},
|
||
{
|
||
id: 'ups',
|
||
group: 'carrier',
|
||
icon: '/site/img/partners/ups.svg',
|
||
label: 'UPS',
|
||
},
|
||
];
|