start building sponsor views
This commit is contained in:
@ -29,6 +29,8 @@ module.exports = function(app) {
|
||||
router.get('/pmi-acp-agile-project-managers-form', agileProjectManagersForm);
|
||||
router.get('/nonprofits', nonprofits);
|
||||
router.get('/nonprofits-form', nonprofitsForm);
|
||||
router.get('/our-sponsors', sponsors);
|
||||
router.get('/become-a-sponsor', becomeASponsor);
|
||||
router.get('/jobs-form', jobsForm);
|
||||
router.get('/submit-cat-photo', catPhotoSubmit);
|
||||
router.get('/unsubscribe/:email', unsubscribe);
|
||||
@ -237,6 +239,18 @@ module.exports = function(app) {
|
||||
);
|
||||
}
|
||||
|
||||
function sponsors(req, res) {
|
||||
res.render('sponsors/sponsors', {
|
||||
title: 'The Sponsors who make Free Code Camp Possible'
|
||||
});
|
||||
}
|
||||
|
||||
function becomeASponsor(req, res) {
|
||||
res.render('sponsors/become-a-sponsor', {
|
||||
title: 'The Sponsors who make Free Code Camp Possible'
|
||||
});
|
||||
}
|
||||
|
||||
function nonprofits(req, res) {
|
||||
res.render('resources/nonprofits', {
|
||||
title: 'A guide to our Nonprofit Projects'
|
||||
|
Reference in New Issue
Block a user