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

@@ -726,8 +726,10 @@
},
"referral": {
"title": "Referral Program",
"yourLink": "Your Referral Link",
"copyLink": "Copy Link",
"yourLink": "Your Referral Links",
"botLink": "Bot link",
"cabinetLink": "Cabinet link",
"copyLink": "Copy",
"copied": "Copied!",
"shareButton": "Share",
"shareMessage": "Join me on {{botName}} and earn up to {{percent}}% cashback!",