Files
no-copy-frontend/src/app/ui/referral-page/setting-referral-program.tsx
T
2026-01-12 17:12:50 +07:00

61 lines
2.1 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
export default function SettingReferralProgram() {
return (
<div className="block-wrapper setting-referral-program">
<div className="section-title">
<span className="icon">⚙️</span>
Настройки реферальной программы
</div>
<form className="settings-form">
<div>
<h4>💳 Настройки выплат</h4>
<div className="form-group">
<label>Минимальная сумма для вывода (Б)</label>
<input type="number" name="min_withdraw_amount" value="100.00" min="50" step="10" />
</div>
<div className="form-group">
<label>Предпочитаемый способ выплаты</label>
<select name="preferred_payout_method">
<option value="BALANCE">💳 На баланс аккаунта</option>
<option value="BANK_TRANSFER">🏦 Банковский перевод</option>
<option value="PAYPAL">💰 PayPal</option>
<option value="CARD">💳 Банковская карта</option>
</select>
</div>
<div className="checkbox-group">
<input type="checkbox" name="auto_withdraw" value="1" />
<label>Автоматический вывод при достижении минимума</label>
</div>
</div>
<div>
<h4>🔔 Уведомления</h4>
<div className="checkbox-group">
<input type="checkbox" name="email_notifications" value="1"/>
<label>Email уведомления о новых рефералах</label>
</div>
<div className="checkbox-group">
<input type="checkbox" name="sms_notifications" value="1" />
<label>SMS уведомления о выплатах</label>
</div>
<div className="checkbox-group">
<input type="checkbox" name="marketing_emails" value="1" />
<label>Маркетинговые рассылки о программе</label>
</div>
<button type="submit" className="btn-primary">
💾 Сохранить настройки
</button>
</div>
</form>
</div>
)
}