diff --git a/controllers/user.js b/controllers/user.js index db9791d7a3..847f61c9f1 100644 --- a/controllers/user.js +++ b/controllers/user.js @@ -142,6 +142,7 @@ exports.getAccount = function(req, res) { res.render('account/profile', { title: 'Manage your Free Code Camp Account', c: c, + u: req.user, cc: req.user.challengesHash, moment: moment }); diff --git a/public/css/main.less b/public/css/main.less index c760c29b67..8e3fda9af9 100644 --- a/public/css/main.less +++ b/public/css/main.less @@ -225,6 +225,9 @@ ul { } .navbar-right { + @media (min-width: 767px) { + padding-right: 50px; + } @media (max-width: 991px) and (min-width: 767px) { position: absolute; right:0; diff --git a/views/home.jade b/views/home.jade index 8db1458d54..c0ed242ddd 100644 --- a/views/home.jade +++ b/views/home.jade @@ -3,7 +3,7 @@ block content .hidden-xs a(href='https://github.com/freecodecamp/freecodecamp') img(style='position: absolute; top: 40; right: 0; border: 0; margin-top: -10px;', src='https://camo.githubusercontent.com/e7bbb0521b397edbd5fe43e7f760759336b5e05f/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677265656e5f3030373230302e706e67', alt='Fork me on GitHub', data-canonical-src='https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png') - .jumbotron.negative-15 + .jumbotron .text-center h1.hug-top Code with Us h2 Let's learn to code by building projects for nonprofits diff --git a/views/partials/navbar.jade b/views/partials/navbar.jade index b2e178d505..4b25791991 100644 --- a/views/partials/navbar.jade +++ b/views/partials/navbar.jade @@ -32,7 +32,7 @@ nav.navbar.navbar-default.navbar-fixed-top.nav-height else li a(href='/account') [ #{user.points} ] - .visible-md.visible-sm + .hidden-xs if user.profile.picture a(href='/account') img.profile-picture.float-right(src='#{user.profile.picture}')