feat: add Antilopay payment provider support

- Add antilopay to METHOD_LABELS for stats charts
- Add PaymentMethodIcon case with amber gradient SVG
- Add payments_antilopay to admin settings tree
- Add i18n keys in all 4 locales (en, ru, zh, fa)
This commit is contained in:
Fringg
2026-05-04 07:44:52 +03:00
parent 85a34b1947
commit 7d940091fa
7 changed files with 38 additions and 0 deletions

View File

@@ -315,6 +315,26 @@ export default function PaymentMethodIcon({
);
}
case 'antilopay': {
const antilopayGradId = `${uid}-antilopay`;
return (
<svg className={className} viewBox="0 0 40 40">
<defs>
<linearGradient id={antilopayGradId} x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stopColor="#f59e0b" />
<stop offset="100%" stopColor="#d97706" />
</linearGradient>
</defs>
<circle cx="20" cy="20" r="20" fill={`url(#${antilopayGradId})`} />
<g fill="#fff" fontFamily="Arial,sans-serif" fontWeight="700">
<text x="20" y="26" textAnchor="middle" fontSize="14">
AL
</text>
</g>
</svg>
);
}
case 'apple_iap':
return (
<svg className={className} viewBox="0 0 40 40">