Added temporary footer

This commit is contained in:
Sahat Yalkabov
2013-11-19 23:19:53 -05:00
parent a3b5ab6e59
commit 0108b4349a
3 changed files with 12 additions and 4 deletions

View File

@ -6,4 +6,5 @@ Twitter
Twilio Twilio
Etsy Etsy
Foursquare Foursquare
New York Times New York Times
github

View File

@ -1,5 +1,8 @@
exports.getContact = function(req, res) { exports.getContact = function(req, res) {
res.render('contact'); res.render('contact', {
title: 'Contact',
user: req.user
});
}; };
exports.postContact = function(req, res) { exports.postContact = function(req, res) {

View File

@ -26,8 +26,8 @@ html
ul.nav.navbar-nav ul.nav.navbar-nav
li(class=title=='Home'?'active':undefined) li(class=title=='Home'?'active':undefined)
a(href='/') Home a(href='/') Home
li(class=title=='About'?'active':undefined) li(class=title=='API Browser'?'active':undefined)
a(href='/api') API a(href='/api') API Browser
li(class=title=='Contact'?'active':undefined) li(class=title=='Contact'?'active':undefined)
a(href='/contact') Contact a(href='/contact') Contact
ul.nav.navbar-nav.navbar-right ul.nav.navbar-nav.navbar-right
@ -44,6 +44,10 @@ html
.container .container
block content block content
footer
.container
p © 2013. All Rights Reserved.
script(src='/js/lib/jquery.js') script(src='/js/lib/jquery.js')
script(src='/js/lib/bootstrap.js') script(src='/js/lib/bootstrap.js')
script(src='/js/lib/jquery.validate.js') script(src='/js/lib/jquery.validate.js')