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

@@ -577,8 +577,10 @@
},
"referral": {
"title": "برنامه معرفی",
"yourLink": "لینک معرفی شما",
"copyLink": "کپی لینک",
"yourLink": "لینک‌های معرفی شما",
"botLink": "لینک ربات",
"cabinetLink": "لینک کابینت",
"copyLink": "کپی",
"copied": "کپی شد!",
"shareButton": "اشتراک‌گذاری",
"shareMessage": "از طریق لینک من به {{botName}} بپیوند و تا {{percent}}٪ پاداش بگیر!",