additional cleanup of nonprofit directory
This commit is contained in:
committed by
Berkeley Martinez
parent
bf06d0c6a0
commit
7f0be44f98
@ -246,7 +246,6 @@ ul {
|
|||||||
@media (min-width: 767px) {
|
@media (min-width: 767px) {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.capitalize {
|
.capitalize {
|
||||||
|
@ -1,13 +1,11 @@
|
|||||||
var cheerio = require('cheerio'),
|
var cheerio = require('cheerio'),
|
||||||
request = require('request'),
|
request = require('request'),
|
||||||
MDNlinks = require('../../seed/bonfireMDNlinks'),
|
MDNlinks = require('../../seed/bonfireMDNlinks'),
|
||||||
resources = require('./resources.json'),
|
resources = require('./resources.json');
|
||||||
nonprofits = require('../../seed/nonprofits.json');
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cached values
|
* Cached values
|
||||||
*/
|
*/
|
||||||
var allNonprofitNames;
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
dasherize: function dasherize(name) {
|
dasherize: function dasherize(name) {
|
||||||
@ -44,17 +42,6 @@ module.exports = {
|
|||||||
];
|
];
|
||||||
},
|
},
|
||||||
|
|
||||||
allNonprofitNames: function() {
|
|
||||||
if (allNonprofitNames) {
|
|
||||||
return allNonprofitNames;
|
|
||||||
} else {
|
|
||||||
allNonprofitNames = nonprofits.map(function(elem) {
|
|
||||||
return {name: elem.name};
|
|
||||||
});
|
|
||||||
return allNonprofitNames;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
whichEnvironment: function() {
|
whichEnvironment: function() {
|
||||||
return process.env.NODE_ENV;
|
return process.env.NODE_ENV;
|
||||||
},
|
},
|
||||||
|
@ -84,17 +84,17 @@ block content
|
|||||||
.spacer
|
.spacer
|
||||||
hr
|
hr
|
||||||
.spacer
|
.spacer
|
||||||
.col-xs-offset-0.col-sm-offset-1.text-left
|
.col-xs-offset-0.col-sm-offset-1.text-left.large-p
|
||||||
h2 Here's why you should join our open source community right now:
|
h2 Here's why you should join our open source community right now:
|
||||||
.spacer
|
.spacer
|
||||||
ul.large-li
|
ul.large-li
|
||||||
li.ion-code.large-p   You'll get help in real time from our community chat rooms.
|
li.ion-code   You'll get help in real time from our community chat rooms.
|
||||||
li.ion-code.large-p   You'll meet up with other coders in your city.
|
li.ion-code   You'll meet up with other coders in your city.
|
||||||
li.ion-code.large-p   You'll learn to code at your own pace, in your browser or on your phone.
|
li.ion-code   You'll learn to code at your own pace, in your browser or on your phone.
|
||||||
li.ion-code.large-p   You'll work through our focused, interactive courses and tutorials.
|
li.ion-code   You'll work through our focused, interactive courses and tutorials.
|
||||||
li.ion-code.large-p   You'll learn state-of-the-art full stack JavaScript technologies.
|
li.ion-code   You'll learn state-of-the-art full stack JavaScript technologies.
|
||||||
li.ion-code.large-p   You'll build projects that help nonprofits carry out their missions more effectively.
|
li.ion-code   You'll build projects that help nonprofits carry out their missions more effectively.
|
||||||
li.ion-code.large-p   You'll assemble a portfolio of real apps used by real people.
|
li.ion-code   You'll assemble a portfolio of real apps used by real people.
|
||||||
.big-break
|
.big-break
|
||||||
.row
|
.row
|
||||||
.col-xs-12.col-sm-8.col-sm-offset-2
|
.col-xs-12.col-sm-8.col-sm-offset-2
|
||||||
|
@ -59,8 +59,9 @@ block content
|
|||||||
.spacer
|
.spacer
|
||||||
hr
|
hr
|
||||||
.spacer
|
.spacer
|
||||||
.large-p.text-left.col-xs-offset-0.col-sm-offset-1
|
.col-xs-offset-0.col-sm-offset-1.text-left.large-p
|
||||||
h2 Our developers build projects for nonprofits who:
|
h2 Our developers build projects for nonprofits who:
|
||||||
|
.spacer
|
||||||
ul.large-li
|
ul.large-li
|
||||||
li.ion-code   already have people who benefit from their services.
|
li.ion-code   already have people who benefit from their services.
|
||||||
li.ion-code   are registered with their government and have tax-exempt status.
|
li.ion-code   are registered with their government and have tax-exempt status.
|
||||||
|
Reference in New Issue
Block a user