fix: point to the subdomain instead

This commit is contained in:
Mrugesh Mohapatra
2019-10-04 19:47:12 +05:30
committed by mrugesh
parent 1cfd52209a
commit e5e5353ff1
7 changed files with 14 additions and 166 deletions

View File

@@ -23,7 +23,9 @@ exports[`<Footer /> matches snapshot 1`] = `
Donations to freeCodeCamp go toward our education initiatives, and help pay for servers, services, and staff. You can 
<a
className="inline"
href="/donate"
href="https://donate.freecodecamp.org"
rel="noopener noreferrer"
target="_blank"
>
make a tax-deductible donation here
</a>
@@ -46,7 +48,9 @@ exports[`<Footer /> matches snapshot 1`] = `
About
</a>
<a
href="/donate"
href="https://donate.freecodecamp.org"
rel="noopener noreferrer"
target="_blank"
>
Donate
</a>

View File

@@ -4,7 +4,7 @@
"title": "Our Nonprofit",
"links": [
{ "to": "/news/about/", "text": "About" },
{ "to": "/donate", "text": "Donate", "internal": true },
{ "to": "https://donate.freecodecamp.org", "text": "Donate" },
{ "to": "/news/shop/", "text": "Shop" },
{
"to": "https://www.linkedin.com/school/free-code-camp/people/",

View File

@@ -38,7 +38,11 @@ function Footer() {
<p>
Donations to freeCodeCamp go toward our education initiatives, and
help pay for servers, services, and staff. You can&nbsp;
<Link className='inline' to='/donate'>
<Link
className='inline'
external={true}
to='https://donate.freecodecamp.org'
>
make a tax-deductible donation here
</Link>
.