diff --git a/client/src/components/Supporters.js b/client/src/components/Supporters.js deleted file mode 100644 index 9efc455b70..0000000000 --- a/client/src/components/Supporters.js +++ /dev/null @@ -1,85 +0,0 @@ -import React, { Fragment } from 'react'; -import PropTypes from 'prop-types'; -import { Button, ProgressBar } from '@freecodecamp/react-bootstrap'; - -import { FullWidthRow, Spacer } from '../components/helpers'; - -import './supporters.css'; - -const propTypes = { - activeDonations: PropTypes.number.isRequired, - isDonating: PropTypes.bool.isRequired -}; - -const supporterGoal = 10000; -const supportersLocale = supporterGoal.toLocaleString(); - -function Supporters({ isDonating, activeDonations }) { - const donationsLocale = activeDonations.toLocaleString(); - const isGoalReached = activeDonations >= supporterGoal; - return ( - - -

Support an open future.

-
- {isGoalReached ? ( - - -

- - 🎉 - {' '} - {donationsLocale} supporters help keep freeCodeCamp.org free to use -

-
- ) : ( - -
- - -
- - {donationsLocale} supporters out of {supportersLocale} supporter - goal - -
-
-
- )} - - - -

- freeCodeCamp.org is a tiny non-profit that's helping millions of - people learn to code for free.
-
- {isDonating ? ( - - Thanks for being a supporter! -
-
- Do you know anyone who's interested in technology? Encourage - them to join the community. -
- ) : ( - `Join ${donationsLocale} supporters. Your $5 / month ` + - 'donation will help keep tech education free and open.' - )} -

-
-
- {isDonating ? null : ( - - - - )} -
- ); -} - -Supporters.displayName = 'Supporters'; -Supporters.propTypes = propTypes; - -export default Supporters; diff --git a/client/src/components/supporters.css b/client/src/components/supporters.css deleted file mode 100644 index dd02871473..0000000000 --- a/client/src/components/supporters.css +++ /dev/null @@ -1,10 +0,0 @@ -#supporter-progress-wrapper .progress { - height: 38px; - margin-bottom: 0px; - background-color: var(--quaternary-background); -} - -#supporter-progress-wrapper .progress-bar { - padding-top: 8px; - background-color: var(--secondary-color); -} diff --git a/client/src/pages/software-resources-for-nonprofits.js b/client/src/pages/software-resources-for-nonprofits.js deleted file mode 100644 index b4fec90b55..0000000000 --- a/client/src/pages/software-resources-for-nonprofits.js +++ /dev/null @@ -1,161 +0,0 @@ -import React, { Fragment } from 'react'; -import { Grid } from '@freecodecamp/react-bootstrap'; -import Helmet from 'react-helmet'; - -import FullWidthRow from '../components/helpers/FullWidthRow'; -import { Spacer, Link } from '../components/helpers'; - -function SoftwareResourcesForNonProfits() { - return ( - - - Software Resources for Nonprofits | freeCodeCamp.org - - - - -

Software Resources for Nonprofits

-
-

- Please note that freeCodeCamp is not partnered with, nor do we - receive a referral fee from, any of the following providers. We - simply want to help guide you toward a solution for your - organization. -

-

Skills-based Volunteer Organizations:

-
    -
  • - Give Camp -
  • -
  • - - Volunteer Match.com - -
  • -
  • - Catchafire -
  • -
  • - - Anyone Can Have A Website - -
  • -
-

Building a website:

-
    -
  • - - How to build and deploy a website without writing any code for - free - -
  • -
  • - Wix -
  • -
  • - Square Space -
  • -
  • - WordPress -
  • -
  • - Imcreator.com -
  • -
-

Donor and Volunteer Management Systems:

-
    -
  • - Cause Signal -
  • -
  • - The Data Bank -
  • -
  • - Donor Snap -
  • -
  • - Donor Perfect -
  • -
  • - - E Tapestry - -
  • -
  • - Z2 Systems -
  • -
  • - - Reg Packs - -
  • -
  • - Sumac -
  • -
  • - Volgistics -
  • -
-

Inventory Management Systems:

-
    -
  • - Ordoro -
  • -
  • - - Unleashed Software - -
  • -
  • - - EZ Office Inventory - -
  • -
-

E-Learning platforms:

-
    -
  • - Dokeos -
  • -
  • - E Front Learning -
  • -
  • - Moodle -
  • -
  • - Sakai Project -
  • -
-

Community Management:

-
    -
  • - CiviCRM -
  • -
  • - Total Community Manager -
  • -
-

Electronic Forms:

-
    -
  • - Google Forms -
  • -
  • - Typeform -
  • -
-
-
-
- ); -} - -SoftwareResourcesForNonProfits.displayName = 'SoftwareResourcesForNonProfits'; - -export default SoftwareResourcesForNonProfits; diff --git a/tools/scripts/build/__snapshots__/create-redirects.test.js.snap b/tools/scripts/build/__snapshots__/create-redirects.test.js.snap index 0da1b56330..ddc8e71168 100644 --- a/tools/scripts/build/__snapshots__/create-redirects.test.js.snap +++ b/tools/scripts/build/__snapshots__/create-redirects.test.js.snap @@ -18,6 +18,7 @@ exports[`createRedirects matches the snapshot 1`] = ` /privacy https://news.example.com/privacy-policy 200 /privacy-policy https://news.example.com/privacy-policy 200 /shop https://news.example.com/shop 200 +/software-resources-for-nonprofits https://news.example.com/software-resources-for-nonprofits 200 /sponsors https://news.example.com/sponsors 200 /support https://news.example.com/support 200 /terms https://news.example.com/terms-of-service 200 diff --git a/tools/scripts/build/create-redirects.js b/tools/scripts/build/create-redirects.js index 8d03e1ae74..d7f0980fb0 100644 --- a/tools/scripts/build/create-redirects.js +++ b/tools/scripts/build/create-redirects.js @@ -39,6 +39,7 @@ const template = ` /privacy #{{NEWS}}/privacy-policy 200 /privacy-policy #{{NEWS}}/privacy-policy 200 /shop #{{NEWS}}/shop 200 +/software-resources-for-nonprofits #{{NEWS}}/software-resources-for-nonprofits 200 /sponsors #{{NEWS}}/sponsors 200 /support #{{NEWS}}/support 200 /terms #{{NEWS}}/terms-of-service 200