Fix navbar logic and remove redundant footer links
This commit is contained in:
@ -15,15 +15,6 @@ block content
|
|||||||
.btn.btn-primary.btn-big.btn-block.completed-challenge I've completed this challenge
|
.btn.btn-primary.btn-big.btn-block.completed-challenge I've completed this challenge
|
||||||
.ten-pixel-break
|
.ten-pixel-break
|
||||||
.btn.btn-success.btn-large.btn-block.skip-challenge I want to skip this challenge for now
|
.btn.btn-success.btn-large.btn-block.skip-challenge I want to skip this challenge for now
|
||||||
- if (points && points > 2 || !cc)
|
|
||||||
.panel-footer.text-center
|
|
||||||
span Need a break? Check out our:
|
|
||||||
a(href="https://gitter.im/FreeCodeCamp/FreeCodeCamp", target="_blank") Chat Room
|
|
||||||
| ,
|
|
||||||
a(href="http://blog.freecodecamp.com", target="_blank") Blog
|
|
||||||
| , or
|
|
||||||
a(href="http://forum.freecodecamp.com", target="_blank") Forum
|
|
||||||
| .
|
|
||||||
#complete-dialog.modal
|
#complete-dialog.modal
|
||||||
.modal-dialog.animated.zoomIn.fast-animation
|
.modal-dialog.animated.zoomIn.fast-animation
|
||||||
.modal-content
|
.modal-content
|
||||||
|
@ -12,20 +12,20 @@ nav.navbar.navbar-default.navbar-fixed-top.nav-height
|
|||||||
ul.nav.navbar-nav.navbar-right
|
ul.nav.navbar-nav.navbar-right
|
||||||
li
|
li
|
||||||
a(href='/') Challenges
|
a(href='/') Challenges
|
||||||
- if (cc && cc[1] < 1)
|
- if (!cc || (cc && cc[1]) < 1)
|
||||||
li
|
li
|
||||||
a(href='/challenges/1') Chat
|
a(href='/challenges/1') Chat
|
||||||
- else
|
- else
|
||||||
li
|
li
|
||||||
a(href='http://chat.freecodecamp.com') Chat
|
a(href='http://chat.freecodecamp.com' target='_blank') Chat
|
||||||
- if (cc && cc[2] < 1)
|
- if (!cc || (cc && cc[2]) < 1)
|
||||||
li
|
li
|
||||||
a(href='/challenges/2') Forum
|
a(href='/challenges/2') Forum
|
||||||
- else
|
- else
|
||||||
li
|
li
|
||||||
a(href='http://forum.freecodecamp.com') Forum
|
a(href='http://forum.freecodecamp.com' target='_blank') Forum
|
||||||
li
|
li
|
||||||
a(href='/learn-to-code') About
|
a(href='/about') About
|
||||||
if !user
|
if !user
|
||||||
li
|
li
|
||||||
a.btn.signup-btn.signup-btn-nav(href='/login') Sign in
|
a.btn.signup-btn.signup-btn-nav(href='/login') Sign in
|
||||||
|
Reference in New Issue
Block a user