start onboarding page

This commit is contained in:
Quincy Larson
2015-08-08 16:13:23 -07:00
parent f22672e6c1
commit 5fb1df0d55
7 changed files with 171 additions and 435 deletions

View File

@@ -30,6 +30,7 @@ module.exports = function(app) {
router.get('/jobs-form', jobsForm);
router.get('/unsubscribe/:email', unsubscribe);
router.get('/unsubscribed', unsubscribed);
router.get('/get-started', getStarted);
app.use(router);
@@ -259,6 +260,12 @@ module.exports = function(app) {
});
}
function getStarted(req, res) {
res.render('resources/get-started', {
title: 'How to get started with Free Code Camp'
});
}
function githubCalls(req, res, next) {
var githubHeaders = {
headers: {