feat: add paypal donation to modals and certificates

This commit is contained in:
Mrugesh Mohapatra
2020-03-19 18:48:58 +05:30
committed by mrugesh
parent c30f0dbf0d
commit 585527d145
9 changed files with 35 additions and 60 deletions

View File

@@ -90,12 +90,7 @@ function DonateModal({
});
}
const donationText = (
<b>
Become a $5 / month supporter and help us create even more learning
resources for you and your family.
</b>
);
const donationText = <b>Become an annual supporter of our nonprofit.</b>;
const blockDonationText = (
<div className='block-modal-text'>
<div className='donation-icon-container'>
@@ -105,6 +100,7 @@ function DonateModal({
{!closeLabel && (
<Col sm={10} smOffset={1} xs={12}>
<b>Nicely done. You just completed {blockNameify(block)}. </b>
<br />
{donationText}
</Col>
)}