diff --git a/public/gateway-card-images/mollie.png b/public/gateway-card-images/mollie.png deleted file mode 100644 index 8d9434d0ca..0000000000 Binary files a/public/gateway-card-images/mollie.png and /dev/null differ diff --git a/src/components/icons/MollieIcon.tsx b/src/components/icons/MollieIcon.tsx new file mode 100644 index 0000000000..d390e5b116 --- /dev/null +++ b/src/components/icons/MollieIcon.tsx @@ -0,0 +1,42 @@ +/** + * Invoice Ninja (https://invoiceninja.com). + * + * @link https://github.com/invoiceninja/invoiceninja source repository + * + * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com) + * + * @license https://www.elastic.co/licensing/elastic-license + */ + +interface Props { + size?: string; + color?: string; +} + +export function MollieIcon(props: Props) { + const { size = '2rem', color = 'currentColor' } = props; + + return ( + + + + ); +} diff --git a/src/pages/clients/show/components/GatewayTypeIcon.tsx b/src/pages/clients/show/components/GatewayTypeIcon.tsx index 3657f6b51c..1515dff948 100644 --- a/src/pages/clients/show/components/GatewayTypeIcon.tsx +++ b/src/pages/clients/show/components/GatewayTypeIcon.tsx @@ -17,7 +17,7 @@ import paypalLogo from '/gateway-card-images/paypal.png'; import braintreeLogo from '/gateway-card-images/braintree.svg.png'; import checkoutcomLogo from '/gateway-card-images/checkout.jpg'; import goCardlessLogo from '/gateway-card-images/gocardless.png'; -import mollieLogo from '/gateway-card-images/mollie.png'; +import { MollieIcon } from '$app/components/icons/MollieIcon'; import payfastLogo from '/gateway-card-images/payfast.png'; import paytraceLogo from '/gateway-card-images/paytrace.svg'; import razorpayLogo from '/gateway-card-images/razorpay.png'; @@ -175,11 +175,9 @@ export function GatewayTypeIcon(props: Props) { case 'mollie': return ( - Mollie +
+ +
); case 'payfast':