update navbar, remove footer, create links page
This commit is contained in:
committed by
Berkeley Martinez
parent
854e937a20
commit
9d08c1702e
@ -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 ' +
|
||||
|
Reference in New Issue
Block a user