From 0de2c4923b6cbfcd0b40b05468ec7b6c7d613a16 Mon Sep 17 00:00:00 2001 From: Spicer Matthews Date: Fri, 14 Jul 2023 14:05:53 -0700 Subject: [PATCH] Updated some of the copy. --- .../directDonateComponents/Momentum.js | 113 ++++++++++++++---- 1 file changed, 88 insertions(+), 25 deletions(-) diff --git a/src/components/directDonateComponents/Momentum.js b/src/components/directDonateComponents/Momentum.js index 023a6ff7..f37cc304 100644 --- a/src/components/directDonateComponents/Momentum.js +++ b/src/components/directDonateComponents/Momentum.js @@ -49,6 +49,13 @@ const Momentum = ({ user }) => { return false } + if ( + user.cause.nameForShop !== 'Shelter Cats' && + user.cause.nameForShop !== 'Reproductive Health' + ) { + return null + } + // useEffect(() => { // const dissNotif = // localStorageMgr.getItem(getNotifDismissKey('momentum')) || false @@ -84,31 +91,87 @@ const Momentum = ({ user }) => { > - - Donate Directly to {user.cause.nameForShop || 'Charity'} - - - By donating directly, 100% of your funds goes to supporting{' '} - {user.cause.nameForShop || 'Charity'}. - - + + {user.cause.nameForShop === 'Shelter Cats' && ( + <> + + Automatically Help
Even More Shelter Cats +
+ + We’re putting together a team of shelter cat heroes that are + willing to chip in $1 each time a shelter cat is put up for + adoption on Petfinder. The money raised will go directly to{' '} + + Greater Good + {' '} + and will work to ensure 1000s of shelter cats have better + lives! + + + + )} + + {user.cause.nameForShop === 'Reproductive Health' && ( + <> + + Help Fight For
Reproductive Health Rights +
+ + We’re putting together a team to fight for reproductive + rights by chipping in a few dollars directly to the{' '} + + Center for Reproductive Rights + {' '} + each time new anti-abortion legislation is proposed. Let’s + make it clear where the public stands on access to + reproductive healthcare and help disincentivize proposing + these harmful bills. + + + + )}