diff --git a/components/soutyen/payment-method.js b/components/soutyen/payment-method.js index d784682..5ab8a36 100644 --- a/components/soutyen/payment-method.js +++ b/components/soutyen/payment-method.js @@ -4,10 +4,11 @@ import Tab from '@mui/material/Tab' import Box from '@mui/material/Box' import Button from '@mui/material/Button' -import {Paypal} from '@icons-pack/react-simple-icons' +import {Paypal, Liberapay} from '@icons-pack/react-simple-icons' import {Elements} from '@stripe/react-stripe-js' import {loadStripe} from '@stripe/stripe-js' +import {Grid} from '@mui/material' import {appearance} from '../../lib/utils/stripe-style' import CheckoutForm from './checkout-form' @@ -18,6 +19,7 @@ const stripePromise = loadStripe( ) const PAYPAL_ID = process.env.NEXT_PUBLIC_PAYPAL_DONATE_ID +const LIBERAPAY_DONATE = process.env.NEXT_PUBLIC_LIBERAPAY_DONATE function TabPanel(props) { const {children, value, index, ...other} = props @@ -66,9 +68,9 @@ export default function PaymentMethod({isLoading, paymentMethod, setPaymentMetho - - - + + + @@ -104,9 +106,18 @@ export default function PaymentMethod({isLoading, paymentMethod, setPaymentMetho )} - + + + + + + + +