revert: point to the subdomain instead (#37155)

This reverts commit 3fa6c6a032.
This commit is contained in:
mrugesh
2019-10-09 10:23:59 -07:00
committed by GitHub
parent e9bbcc55cd
commit 7c31a49296
7 changed files with 166 additions and 14 deletions

View File

@@ -23,9 +23,7 @@ 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="https://donate.freecodecamp.org"
rel="noopener noreferrer"
target="_blank"
href="/donate"
>
make a tax-deductible donation here
</a>
@@ -48,9 +46,7 @@ exports[`<Footer /> matches snapshot 1`] = `
About
</a>
<a
href="https://donate.freecodecamp.org"
rel="noopener noreferrer"
target="_blank"
href="/donate"
>
Donate
</a>

View File

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

View File

@@ -38,11 +38,7 @@ 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'
external={true}
to='https://donate.freecodecamp.org'
>
<Link className='inline' to='/donate'>
make a tax-deductible donation here
</Link>
.