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

@@ -419,6 +419,7 @@ export interface PaymentMethod {
export interface ReferralInfo {
referral_code: string;
referral_link: string;
bot_referral_link?: string;
total_referrals: number;
active_referrals: number;
total_earnings_kopeks: number;