mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 02:23:47 +00:00
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:
@@ -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">
|
||||
|
||||
@@ -56,6 +56,7 @@ export const SETTINGS_TREE: SettingsTreeConfig = {
|
||||
{ id: 'payments_rollypay', categories: ['ROLLYPAY'] },
|
||||
{ id: 'payments_aurapay', categories: ['AURAPAY'] },
|
||||
{ id: 'payments_etoplatezhi', categories: ['ETOPLATEZHI'] },
|
||||
{ id: 'payments_antilopay', categories: ['ANTILOPAY'] },
|
||||
{ id: 'payments_apple_iap', categories: ['APPLE_IAP'] },
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user