update navbar, remove footer, create links page

This commit is contained in:
Quincy Larson
2015-11-19 23:29:00 -06:00
committed by Berkeley Martinez
parent 854e937a20
commit 9d08c1702e
7 changed files with 92 additions and 35 deletions

View File

@ -35,6 +35,7 @@ module.exports = function(app) {
router.get('/labs', showLabs);
router.get('/stories', showTestimonials);
router.get('/all-stories', showAllTestimonials);
router.get('/links', showLinks);
app.use(router);
@ -190,6 +191,13 @@ module.exports = function(app) {
});
}
function showLinks(req, res) {
res.render('resources/links', {
title: 'Links to external Free Code Camp resources and ' +
'social media communities'
});
}
function showTestimonials(req, res) {
res.render('resources/stories', {
title: 'Testimonials from Happy Free Code Camp Students ' +