update the navigation to have publicly available menu items
This commit is contained in:
@ -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
|
||||
});
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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}')
|
||||
|
Reference in New Issue
Block a user