updates donation url

This commit is contained in:
tomlum 2022-10-24 22:37:15 -04:00
parent 48eb162269
commit 262ed7d79c
9 changed files with 11 additions and 11 deletions

View file

@ -96,7 +96,7 @@ const Footer = props => (
</a>
</dd>
<dd>
<a href="https://secure.donationpay.org/scratchfoundation/">
<a href="https://www.scratchfoundation.org/donate">
<FormattedMessage id="general.donate" />
</a>
</dd>

View file

@ -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",

View file

@ -219,7 +219,7 @@ const About = () => (
),
donateLink: (
<a
href="//secure.donationpay.org/scratchfoundation/"
href="https://www.scratchfoundation.org/donate"
rel="noreferrer noopener"
target="_blank"
>
@ -229,7 +229,7 @@ const About = () => (
}}
/></p>
<a
href="//secure.donationpay.org/scratchfoundation/"
href="https://www.scratchfoundation.org/donate"
rel="noreferrer noopener"
target="_blank"
>

View file

@ -2220,7 +2220,7 @@ class AnnualReport extends React.Component {
<FormattedMessage id="annualReport.donateMessage" />
</p>
<a
href="https://secure.donationpay.org/scratchfoundation/"
href="https://www.scratchfoundation.org/donate"
rel="noreferrer noopener"
target="_blank"
>

View file

@ -2529,7 +2529,7 @@ class AnnualReport extends React.Component {
<FormattedMessage id="annualReport.2020.donateMessage" />
</p>
<a
href="https://secure.donationpay.org/scratchfoundation/"
href="https://www.scratchfoundation.org/donate"
rel="noreferrer noopener"
target="_blank"
>

View file

@ -2318,7 +2318,7 @@ class AnnualReport extends React.Component {
<FormattedMessage id="annualReport.2021.donateMessage2" />
</p>
<a
href="https://secure.donationpay.org/scratchfoundation/"
href="https://www.scratchfoundation.org/donate"
rel="noreferrer noopener"
target="_blank"
>

View file

@ -250,7 +250,7 @@ const Developers = () => (
id="developers.donateIntro"
values={{
donateLink: (
<a href="https://secure.donationpay.org/scratchfoundation/">
<a href="https://www.scratchfoundation.org/donate">
<FormattedMessage id="developers.donateIntroLinkText" />
</a>
)

View file

@ -87,7 +87,7 @@ const Faq = injectIntl(props => (
<dd><FormattedMessage
id="faq.scratchCostBody"
values={{donateLink: (
<a href="https://secure.donationpay.org/scratchfoundation/">
<a href="https://www.scratchfoundation.org/donate">
<FormattedMessage id="faq.donateLinkText" />
</a>
)}}

View file

@ -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;