From 5f86ff20a802006b1cab729546627a83d6ca768a Mon Sep 17 00:00:00 2001
From: Skyler Cohen
Date: Wed, 30 Oct 2024 21:49:13 -0400
Subject: [PATCH] fix(donation-links): Change the donation links to not use
short name URLs so that channel source codes can work with Classy
---
static/js/StaticPages.jsx | 18 +++++++++---------
templates/static/he/ways-to-give.html | 8 ++++----
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/static/js/StaticPages.jsx b/static/js/StaticPages.jsx
index 252d8e1085..d1465edaec 100644
--- a/static/js/StaticPages.jsx
+++ b/static/js/StaticPages.jsx
@@ -1437,8 +1437,8 @@ const DonatePage = () => (
heText=""
enButtonText="Donate Now"
heButtonText=""
- enButtonUrl="https://donate.sefaria.org/english?c_src=waystogive"
- heButtonUrl="https://donate.sefaria.org/he?c_src=waystogive"
+ enButtonUrl="https://donate.sefaria.org/give/451346/#!/donation/checkout?c_src=ways-to-give"
+ heButtonUrl="https://donate.sefaria.org/give/468442/#!/donation/checkout?c_src=ways-to-give"
borderColor="#004E5F"
/>,
(
heText=""
enButtonText="Join the Sustainers"
heButtonText=""
- enButtonUrl="https://donate.sefaria.org/sustainers?c_src=waystogive"
- heButtonUrl="https://donate.sefaria.org/sustainershe?c_src=waystogive"
+ enButtonUrl="https://donate.sefaria.org/give/457760/#!/donation/checkout?c_src=waystogive"
+ heButtonUrl="https://donate.sefaria.org/give/478929/#!/donation/checkout?c_src=waystogive"
borderColor="#97B386"
/>,
(
heText=""
enButtonText="Sponsor a Day of Learning"
heButtonText=""
- enButtonUrl="https://donate.sefaria.org/sponsor?c_src=waystogive"
- heButtonUrl="https://donate.sefaria.org/sponsorhe?c_src=waystogive"
+ enButtonUrl="https://donate.sefaria.org/campaign/sponsor-a-day-of-learning/c460961?c_src=waystogive"
+ heButtonUrl="https://donate.sefaria.org/campaign/sponsor-a-day-of-learning-hebrew/c479003?c_src=waystogive"
borderColor="#4B71B7"
/>,
(
,
@@ -1566,7 +1566,7 @@ const DonatePage = () => (
@@ -1605,7 +1605,7 @@ const DonatePage = () => (
diff --git a/templates/static/he/ways-to-give.html b/templates/static/he/ways-to-give.html
index 1101c7639c..6eb6051dc2 100644
--- a/templates/static/he/ways-to-give.html
+++ b/templates/static/he/ways-to-give.html
@@ -42,7 +42,7 @@
@@ -56,7 +56,7 @@