mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
feat: add AuraPay payment provider to cabinet frontend
- Payment method label and icon (violet gradient, AP) - Admin settings tree entry for AURAPAY category - Locale strings and descriptions for ru, en, zh, fa
This commit is contained in:
@@ -275,6 +275,26 @@ export default function PaymentMethodIcon({
|
||||
);
|
||||
}
|
||||
|
||||
case 'aurapay': {
|
||||
const aurapayGradId = `${uid}-aurapay`;
|
||||
return (
|
||||
<svg className={className} viewBox="0 0 40 40">
|
||||
<defs>
|
||||
<linearGradient id={aurapayGradId} x1="0" y1="0" x2="1" y2="1">
|
||||
<stop offset="0%" stopColor="#8b5cf6" />
|
||||
<stop offset="100%" stopColor="#6d28d9" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<circle cx="20" cy="20" r="20" fill={`url(#${aurapayGradId})`} />
|
||||
<g fill="#fff" fontFamily="Arial,sans-serif" fontWeight="700">
|
||||
<text x="20" y="26" textAnchor="middle" fontSize="14">
|
||||
AP
|
||||
</text>
|
||||
</g>
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
|
||||
default:
|
||||
return (
|
||||
<svg className={className} viewBox="0 0 40 40">
|
||||
|
||||
@@ -54,6 +54,7 @@ export const SETTINGS_TREE: SettingsTreeConfig = {
|
||||
{ id: 'payments_severpay', categories: ['SEVERPAY'] },
|
||||
{ id: 'payments_paypear', categories: ['PAYPEAR'] },
|
||||
{ id: 'payments_rollypay', categories: ['ROLLYPAY'] },
|
||||
{ id: 'payments_aurapay', categories: ['AURAPAY'] },
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user