fix: clean up old views (#36778)
* fix: clean up * fix: redirect /software-resources-for-nonprofits * fix: update snap and redirect
This commit is contained in:
committed by
mrugesh
parent
665f0c6a2e
commit
0f3e248b5b
@ -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 (
|
|
||||||
<Fragment>
|
|
||||||
<FullWidthRow>
|
|
||||||
<h2>Support an open future.</h2>
|
|
||||||
</FullWidthRow>
|
|
||||||
{isGoalReached ? (
|
|
||||||
<FullWidthRow>
|
|
||||||
<Spacer />
|
|
||||||
<p>
|
|
||||||
<span aria-label='Tada!' role='img'>
|
|
||||||
🎉
|
|
||||||
</span>{' '}
|
|
||||||
{donationsLocale} supporters help keep freeCodeCamp.org free to use
|
|
||||||
</p>
|
|
||||||
</FullWidthRow>
|
|
||||||
) : (
|
|
||||||
<FullWidthRow>
|
|
||||||
<div id='supporter-progress-wrapper'>
|
|
||||||
<ProgressBar max={supporterGoal} now={activeDonations} />
|
|
||||||
<Spacer />
|
|
||||||
<div id='progress-label-wrapper'>
|
|
||||||
<span className='progress-label'>
|
|
||||||
{donationsLocale} supporters out of {supportersLocale} supporter
|
|
||||||
goal
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</FullWidthRow>
|
|
||||||
)}
|
|
||||||
<Spacer />
|
|
||||||
<FullWidthRow>
|
|
||||||
<b>
|
|
||||||
<p>
|
|
||||||
freeCodeCamp.org is a tiny non-profit that's helping millions of
|
|
||||||
people learn to code for free. <br />
|
|
||||||
<br />
|
|
||||||
{isDonating ? (
|
|
||||||
<Fragment>
|
|
||||||
Thanks for being a supporter!
|
|
||||||
<br />
|
|
||||||
<br />
|
|
||||||
Do you know anyone who's interested in technology? Encourage
|
|
||||||
them to join the community.
|
|
||||||
</Fragment>
|
|
||||||
) : (
|
|
||||||
`Join ${donationsLocale} supporters. Your $5 / month ` +
|
|
||||||
'donation will help keep tech education free and open.'
|
|
||||||
)}
|
|
||||||
</p>
|
|
||||||
</b>
|
|
||||||
</FullWidthRow>
|
|
||||||
{isDonating ? null : (
|
|
||||||
<FullWidthRow>
|
|
||||||
<Button bsSize='lg' bsStyle='primary' href='/donate' target='_blank'>
|
|
||||||
Click here to become a Supporter
|
|
||||||
</Button>
|
|
||||||
</FullWidthRow>
|
|
||||||
)}
|
|
||||||
</Fragment>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
Supporters.displayName = 'Supporters';
|
|
||||||
Supporters.propTypes = propTypes;
|
|
||||||
|
|
||||||
export default Supporters;
|
|
@ -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);
|
|
||||||
}
|
|
@ -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 (
|
|
||||||
<Fragment>
|
|
||||||
<Helmet>
|
|
||||||
<title>Software Resources for Nonprofits | freeCodeCamp.org</title>
|
|
||||||
</Helmet>
|
|
||||||
<Spacer size={2} />
|
|
||||||
<Grid>
|
|
||||||
<FullWidthRow>
|
|
||||||
<h2 className='text-center'>Software Resources for Nonprofits</h2>
|
|
||||||
<hr />
|
|
||||||
<p>
|
|
||||||
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.
|
|
||||||
</p>
|
|
||||||
<h3>Skills-based Volunteer Organizations:</h3>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<Link to='http://givecamp.org/'>Give Camp</Link>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<Link to='http://www.volunteermatch.com'>
|
|
||||||
Volunteer Match.com
|
|
||||||
</Link>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<Link to='http://www.catchafire.org'>Catchafire</Link>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<Link to='http://anyonecanhaveawebsite.com'>
|
|
||||||
Anyone Can Have A Website
|
|
||||||
</Link>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<h3>Building a website:</h3>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<Link to='https://www.youtube.com/watch?v=4AXDKWuY9QM'>
|
|
||||||
How to build and deploy a website without writing any code for
|
|
||||||
free
|
|
||||||
</Link>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<Link to='http://www.wix.com/'>Wix</Link>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<Link to='https://www.squarespace.com/'>Square Space</Link>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<Link to='https://wordpress.com/'>WordPress</Link>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<Link to='https://xprs.imcreator.com'>Imcreator.com</Link>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<h3>Donor and Volunteer Management Systems:</h3>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<Link to='http://causesignal.com'>Cause Signal</Link>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<Link to='https://www.thedatabank.com/'>The Data Bank</Link>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<Link to='http://www.donorsnap.com/'>Donor Snap</Link>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<Link to='http://www.donorperfect.com/'>Donor Perfect</Link>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<Link
|
|
||||||
to={
|
|
||||||
'https://www.blackbaud.com/fundraising-crm/etapestry-donor' +
|
|
||||||
'-management'
|
|
||||||
}
|
|
||||||
>
|
|
||||||
E Tapestry
|
|
||||||
</Link>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<Link to='http://www.z2systems.com'>Z2 Systems</Link>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<Link to='http://www.regpacks.com/volunteer-management'>
|
|
||||||
Reg Packs
|
|
||||||
</Link>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<Link to='http://sumac.com'>Sumac</Link>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<Link to='http://www.volgistics.com'>Volgistics</Link>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<h3>Inventory Management Systems:</h3>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<Link to='https://www.ordoro.com'>Ordoro</Link>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<Link to='http://www.unleashedsoftware.com'>
|
|
||||||
Unleashed Software
|
|
||||||
</Link>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<Link to='https://www.ezofficeinventory.com/industries/non-profits'>
|
|
||||||
EZ Office Inventory
|
|
||||||
</Link>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<h3>E-Learning platforms:</h3>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<Link to='http://www.dokeos.com'>Dokeos</Link>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<Link to='http://www.efrontlearning.net/'>E Front Learning</Link>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<Link to='https://moodle.org/'>Moodle</Link>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<Link to='https://sakaiproject.org/'>Sakai Project</Link>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<h3>Community Management:</h3>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<Link to='https://civicrm.org/'>CiviCRM</Link>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<Link to='http://tcmgr.com/'>Total Community Manager</Link>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<h3>Electronic Forms:</h3>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<Link to='http://www.google.com/forms'>Google Forms</Link>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<Link to='http://www.typeform.com'>Typeform</Link>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</FullWidthRow>
|
|
||||||
</Grid>
|
|
||||||
</Fragment>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
SoftwareResourcesForNonProfits.displayName = 'SoftwareResourcesForNonProfits';
|
|
||||||
|
|
||||||
export default SoftwareResourcesForNonProfits;
|
|
@ -18,6 +18,7 @@ exports[`createRedirects matches the snapshot 1`] = `
|
|||||||
/privacy https://news.example.com/privacy-policy 200
|
/privacy https://news.example.com/privacy-policy 200
|
||||||
/privacy-policy https://news.example.com/privacy-policy 200
|
/privacy-policy https://news.example.com/privacy-policy 200
|
||||||
/shop https://news.example.com/shop 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
|
/sponsors https://news.example.com/sponsors 200
|
||||||
/support https://news.example.com/support 200
|
/support https://news.example.com/support 200
|
||||||
/terms https://news.example.com/terms-of-service 200
|
/terms https://news.example.com/terms-of-service 200
|
||||||
|
@ -39,6 +39,7 @@ const template = `
|
|||||||
/privacy #{{NEWS}}/privacy-policy 200
|
/privacy #{{NEWS}}/privacy-policy 200
|
||||||
/privacy-policy #{{NEWS}}/privacy-policy 200
|
/privacy-policy #{{NEWS}}/privacy-policy 200
|
||||||
/shop #{{NEWS}}/shop 200
|
/shop #{{NEWS}}/shop 200
|
||||||
|
/software-resources-for-nonprofits #{{NEWS}}/software-resources-for-nonprofits 200
|
||||||
/sponsors #{{NEWS}}/sponsors 200
|
/sponsors #{{NEWS}}/sponsors 200
|
||||||
/support #{{NEWS}}/support 200
|
/support #{{NEWS}}/support 200
|
||||||
/terms #{{NEWS}}/terms-of-service 200
|
/terms #{{NEWS}}/terms-of-service 200
|
||||||
|
Reference in New Issue
Block a user