start onboarding page
This commit is contained in:
@@ -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: {
|
||||
|
Reference in New Issue
Block a user