Merge pull request #9804 from QuincyLarson/fix/remove-wiki-nav-button
remove wiki nav button and target blank from shop nav button
This commit is contained in:
@ -5,10 +5,6 @@
|
|||||||
"content": "Chat",
|
"content": "Chat",
|
||||||
"link": "//gitter.im/FreeCodeCamp/FreeCodeCamp",
|
"link": "//gitter.im/FreeCodeCamp/FreeCodeCamp",
|
||||||
"target": "_blank"
|
"target": "_blank"
|
||||||
},{
|
|
||||||
"content": "Wiki",
|
|
||||||
"link": "/wiki",
|
|
||||||
"target": "_blank"
|
|
||||||
},{
|
},{
|
||||||
"content": "Forum",
|
"content": "Forum",
|
||||||
"link": "http://forum.freecodecamp.com/",
|
"link": "http://forum.freecodecamp.com/",
|
||||||
@ -18,6 +14,5 @@
|
|||||||
"link": "/about"
|
"link": "/about"
|
||||||
},{
|
},{
|
||||||
"content": "Shop",
|
"content": "Shop",
|
||||||
"link": "/shop",
|
"link": "/shop"
|
||||||
"target": "_blank"
|
|
||||||
}]
|
}]
|
||||||
|
@ -15,16 +15,12 @@ nav.navbar.navbar-default.navbar-fixed-top.nav-height
|
|||||||
a#nav-chat-btn(href='//gitter.im/freecodecamp/freecodecamp' onclick="if (!(event.ctrlKey || event.metaKey)) {return false;}") Chat
|
a#nav-chat-btn(href='//gitter.im/freecodecamp/freecodecamp' onclick="if (!(event.ctrlKey || event.metaKey)) {return false;}") Chat
|
||||||
li.visible-xs
|
li.visible-xs
|
||||||
a(href="//gitter.im/freecodecamp/freecodecamp" target="_blank") Chat
|
a(href="//gitter.im/freecodecamp/freecodecamp" target="_blank") Chat
|
||||||
li.hidden-xs
|
|
||||||
a#nav-wiki-btn(href='/wiki' onclick='if (!(event.ctrlKey || event.metaKey)) {return false;}') Wiki
|
|
||||||
li.visible-xs
|
|
||||||
a(href='/wiki', target='_blank') Wiki
|
|
||||||
li
|
li
|
||||||
a(href='http://forum.freecodecamp.com', target='_blank') Forum
|
a(href='http://forum.freecodecamp.com', target='_blank') Forum
|
||||||
li
|
li
|
||||||
a(href='/about') About
|
a(href='/about') About
|
||||||
li
|
li
|
||||||
a(href='/shop', target='_blank') Shop
|
a(href='/shop') Shop
|
||||||
if !user
|
if !user
|
||||||
li
|
li
|
||||||
a(href='/signin') Sign in
|
a(href='/signin') Sign in
|
||||||
@ -33,4 +29,4 @@ nav.navbar.navbar-default.navbar-fixed-top.nav-height
|
|||||||
a(href='/' + user.username) [ #{user.points} ]
|
a(href='/' + user.username) [ #{user.points} ]
|
||||||
li.hidden-xs.hidden-sm.avatar
|
li.hidden-xs.hidden-sm.avatar
|
||||||
a(href='/' + user.username)
|
a(href='/' + user.username)
|
||||||
img.profile-picture.float-right(src='#{user.picture}')
|
img.profile-picture.float-right(src='#{user.picture}')
|
||||||
|
Reference in New Issue
Block a user