From 262ed7d79c90f46ca8f569735a55a6ed05aedfc2 Mon Sep 17 00:00:00 2001
From: tomlum
Date: Mon, 24 Oct 2022 22:37:15 -0400
Subject: [PATCH] updates donation url
---
src/components/footer/www/footer.jsx | 2 +-
src/routes.json | 4 ++--
src/views/about/about.jsx | 4 ++--
src/views/annual-report/2019/annual-report.jsx | 2 +-
src/views/annual-report/2020/annual-report.jsx | 2 +-
src/views/annual-report/2021/annual-report.jsx | 2 +-
src/views/developers/developers.jsx | 2 +-
src/views/faq/faq.jsx | 2 +-
src/views/splash/donate/donate-banner.jsx | 2 +-
9 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/components/footer/www/footer.jsx b/src/components/footer/www/footer.jsx
index 675a3c4a1..1a07d1aaf 100644
--- a/src/components/footer/www/footer.jsx
+++ b/src/components/footer/www/footer.jsx
@@ -96,7 +96,7 @@ const Footer = props => (
-
+
diff --git a/src/routes.json b/src/routes.json
index e50e1be28..560430aaf 100644
--- a/src/routes.json
+++ b/src/routes.json
@@ -446,13 +446,13 @@
"name": "donate-redirect",
"pattern": "^/info/donate/?",
"routeAlias": "/info/(cards|credits|faq|donate)/?$",
- "redirect": "https://secure.donationpay.org/scratchfoundation/"
+ "redirect": "https://www.scratchfoundation.org/donate"
},
{
"name": "donate-redirect2",
"pattern": "^/donate/?$",
"routeAlias": "/donate/?$",
- "redirect": "https://secure.donationpay.org/scratchfoundation/"
+ "redirect": "https://www.scratchfoundation.org/donate"
},
{
"name": "download-redirect",
diff --git a/src/views/about/about.jsx b/src/views/about/about.jsx
index 7600b5ff0..79c1339f9 100644
--- a/src/views/about/about.jsx
+++ b/src/views/about/about.jsx
@@ -219,7 +219,7 @@ const About = () => (
),
donateLink: (
@@ -229,7 +229,7 @@ const About = () => (
}}
/>
diff --git a/src/views/annual-report/2019/annual-report.jsx b/src/views/annual-report/2019/annual-report.jsx
index 3f995f1cd..c85d5affb 100644
--- a/src/views/annual-report/2019/annual-report.jsx
+++ b/src/views/annual-report/2019/annual-report.jsx
@@ -2220,7 +2220,7 @@ class AnnualReport extends React.Component {
diff --git a/src/views/annual-report/2020/annual-report.jsx b/src/views/annual-report/2020/annual-report.jsx
index d88f1a60b..c884401af 100644
--- a/src/views/annual-report/2020/annual-report.jsx
+++ b/src/views/annual-report/2020/annual-report.jsx
@@ -2529,7 +2529,7 @@ class AnnualReport extends React.Component {
diff --git a/src/views/annual-report/2021/annual-report.jsx b/src/views/annual-report/2021/annual-report.jsx
index 4a129dfde..4d5b02ab1 100644
--- a/src/views/annual-report/2021/annual-report.jsx
+++ b/src/views/annual-report/2021/annual-report.jsx
@@ -2318,7 +2318,7 @@ class AnnualReport extends React.Component {
diff --git a/src/views/developers/developers.jsx b/src/views/developers/developers.jsx
index 862deefeb..80e165920 100644
--- a/src/views/developers/developers.jsx
+++ b/src/views/developers/developers.jsx
@@ -250,7 +250,7 @@ const Developers = () => (
id="developers.donateIntro"
values={{
donateLink: (
-
+
)
diff --git a/src/views/faq/faq.jsx b/src/views/faq/faq.jsx
index 598d2ee23..9d6eaac0e 100644
--- a/src/views/faq/faq.jsx
+++ b/src/views/faq/faq.jsx
@@ -87,7 +87,7 @@ const Faq = injectIntl(props => (
+
)}}
diff --git a/src/views/splash/donate/donate-banner.jsx b/src/views/splash/donate/donate-banner.jsx
index 13bdc74f5..2ad45e4f6 100644
--- a/src/views/splash/donate/donate-banner.jsx
+++ b/src/views/splash/donate/donate-banner.jsx
@@ -8,7 +8,7 @@ const Button = require('../../../components/forms/button.jsx');
require('./donate-banner.scss');
-const donateURL = 'https://secure.donationpay.org/scratchfoundation';
+const donateURL = 'https://www.scratchfoundation.org/donate';
const navigateToDonatePage = () => {
window.location = donateURL;