2014-01-03 13:32:13 -05:00
|
|
|
body
|
|
|
|
#fb-root
|
|
|
|
block header
|
|
|
|
.navbar.navbar-fixed-top
|
|
|
|
.navbar-inner
|
|
|
|
.content.clearfix
|
2014-01-08 05:15:52 -05:00
|
|
|
a.brand(href='/')
|
2014-01-03 13:32:13 -05:00
|
|
|
img(src="/images/pages/base/logo.png", title="CodeCombat", alt="CodeCombat")
|
2014-01-08 05:15:52 -05:00
|
|
|
|
2014-01-03 13:32:13 -05:00
|
|
|
select.language-dropdown
|
|
|
|
|
2014-01-08 17:57:59 -05:00
|
|
|
if me.get('anonymous') === false
|
|
|
|
button.btn.btn-primary.navbuttontext#logout-button(data-i18n="nav.log_out") Log Out
|
2014-01-03 13:32:13 -05:00
|
|
|
a.btn.btn-primary.navbuttontext(href="/account/profile/#{me.id}")
|
2014-01-08 05:15:52 -05:00
|
|
|
| #{me.displayName()}
|
2014-01-03 13:32:13 -05:00
|
|
|
i.icon-cog.icon-white.big
|
|
|
|
|
2014-01-08 17:57:59 -05:00
|
|
|
else
|
|
|
|
button.btn.btn-primary.navbuttontext(data-toggle="coco-modal", data-target="modal/signup", data-i18n="nav.sign_up") Create Account
|
|
|
|
button.btn.btn-primary.navbuttontext(data-toggle="coco-modal", data-target="modal/login", data-i18n="nav.log_in") Log In
|
|
|
|
|
2014-01-03 13:32:13 -05:00
|
|
|
ul(class='navbar-link-text').nav.pull-right
|
|
|
|
li.play
|
|
|
|
a(href='/play', data-i18n="nav.play") Levels
|
|
|
|
li.editor
|
|
|
|
a(href='/editor', data-i18n="nav.editor") Editor
|
|
|
|
li.blog
|
2014-01-06 23:17:27 -05:00
|
|
|
a(href='http://blog.codecombat.com/', data-i18n="nav.blog") Blog
|
2014-01-03 13:32:13 -05:00
|
|
|
li.forum
|
|
|
|
a(href='http://discourse.codecombat.com/', data-i18n="nav.forum") Forum
|
|
|
|
if me.isAdmin()
|
|
|
|
li.admin
|
|
|
|
a(href='/admin', data-i18n="nav.admin") Admin
|
|
|
|
|
|
|
|
block outer_content
|
|
|
|
#outer-content-wrapper
|
|
|
|
#inner-content-wrapper
|
|
|
|
.main-content-area
|
|
|
|
block content
|
|
|
|
p If this is showing, you dun goofed
|
|
|
|
|
|
|
|
block footer
|
|
|
|
.footer
|
|
|
|
.content
|
2014-01-14 01:29:58 -05:00
|
|
|
p.footer-link-text
|
|
|
|
if pathname == "/"
|
|
|
|
a(href='/employers', title='Home', tabindex=-1, data-i18n="nav.employers") Employers
|
|
|
|
else
|
|
|
|
a(href='/', title='Home', tabindex=-1, data-i18n="nav.home") Home
|
2014-01-03 13:32:13 -05:00
|
|
|
a(href='/contribute', title='Contribute', tabindex=-1, data-i18n="nav.contribute") Contribute
|
|
|
|
a(href='/legal', title='Legal', tabindex=-1, data-i18n="nav.legal") Legal
|
|
|
|
a(href='/about', title='About', tabindex=-1, data-i18n="nav.about") About
|
|
|
|
a(title='Contact', tabindex=-1, data-toggle="coco-modal", data-target="modal/contact", data-i18n="nav.contact") Contact
|
|
|
|
|
|
|
|
.share-buttons
|
2014-01-08 05:15:52 -05:00
|
|
|
.g-plusone(data-href="http://codecombat.com", data-size="medium")
|
2014-01-03 13:32:13 -05:00
|
|
|
.fb-like(data-href="https://www.facebook.com/codecombat", data-send="false", data-layout="button_count", data-width="350", data-show-faces="true", data-ref="coco_footer_#{fbRef}")
|
|
|
|
a.twitter-follow-button(href="https://twitter.com/CodeCombat", data-show-count="true", data-show-screen-name="false", data-dnt="true", data-align="right", data-i18n="nav.twitter_follow") Follow
|
2014-01-13 21:19:28 -05:00
|
|
|
iframe.github-star-button(src="http://ghbtns.com/github-btn.html?user=codecombat&repo=codecombat&type=watch&count=true", allowtransparency="true", frameborder="0", scrolling="0", width="110", height="20")
|
2014-01-07 02:45:33 -05:00
|
|
|
.partner-badges
|
2014-01-03 13:32:13 -05:00
|
|
|
a.mixpanel-badge(href="https://mixpanel.com/f/partner")
|
|
|
|
img(src="//cdn.mxpnl.com/site_media/images/partner/badge_light.png", alt="Mobile Analytics")
|
2014-01-07 02:45:33 -05:00
|
|
|
a.firebase-bade(href="https://www.firebase.com/")
|
|
|
|
img(src="/images/pages/base/firebase.png", alt="Powered by Firebase")
|