feat: dual referral links UI (bot + cabinet) with independent copy states

- add bot referral link section with Telegram icon (conditionally rendered)
- add cabinet referral link section with chain-link icon
- independent copy button state per link type
- add bot_referral_link to ReferralInfo type
- add i18n keys: botLink, cabinetLink in ru/en/fa/zh
This commit is contained in:
Fringg
2026-03-15 01:14:25 +03:00
parent 62188b8d2e
commit e023373f56
6 changed files with 100 additions and 37 deletions

View File

@@ -578,7 +578,9 @@
"referral": {
"title": "推荐计划",
"yourLink": "您的推荐链接",
"copyLink": "复制链接",
"botLink": "机器人链接",
"cabinetLink": "面板链接",
"copyLink": "复制",
"copied": "已复制!",
"shareButton": "分享",
"shareMessage": "通过我的链接加入 {{botName}},获取高达 {{percent}}% 返现!",