2013-09-06 17:50:14 +00:00
|
|
|
//Trick needed to pass 'env' to ./layout
|
|
|
|
|
block vars
|
2013-09-01 16:56:43 +00:00
|
|
|
doctype 5
|
|
|
|
|
html
|
|
|
|
|
|
|
|
|
|
head
|
|
|
|
|
block title
|
2013-12-30 02:14:55 +00:00
|
|
|
title=env.t('titleIndex')
|
2013-09-01 16:56:43 +00:00
|
|
|
|
2013-11-04 21:11:45 +00:00
|
|
|
link(rel='shortcut icon', href='#{env.getBuildUrl("favicon.ico")}?v=2')
|
2013-09-07 11:55:48 +00:00
|
|
|
|
2013-09-01 16:56:43 +00:00
|
|
|
meta(charset='utf-8')
|
|
|
|
|
meta(name='viewport', content='width=device-width, initial-scale=1.0')
|
2013-09-02 05:08:28 +00:00
|
|
|
|
2013-11-04 21:11:45 +00:00
|
|
|
!= env.getManifestFiles("static")
|
2013-09-06 17:19:43 +00:00
|
|
|
|
2013-09-01 16:56:43 +00:00
|
|
|
script(type='text/javascript').
|
|
|
|
|
$.getScript("//s7.addthis.com/js/250/addthis_widget.js#pubid=lefnire");
|
2013-09-02 05:08:28 +00:00
|
|
|
|
2013-09-01 16:56:43 +00:00
|
|
|
body
|
2014-01-28 01:16:12 +00:00
|
|
|
div(ng-app='habitrpgStatic',ng-controller='AuthCtrl',style='margin-top:60px;')
|
|
|
|
|
include ./login-modal
|
|
|
|
|
.navbar.navbar-inverse.navbar.navbar-inverse.navbar-fixed-top
|
|
|
|
|
.navbar-inner
|
|
|
|
|
.container
|
|
|
|
|
a.pull-right.btn.btn-primary(ng-click='playButtonClick()')=env.t('playButton')
|
|
|
|
|
|
|
|
|
|
ul.nav
|
|
|
|
|
li(class='#{menuItem=="home" ? "active" : ""}')
|
2014-01-30 20:25:25 +00:00
|
|
|
a(href='/static/front')=env.t('home')
|
2014-01-28 01:16:12 +00:00
|
|
|
li(class='#{menuItem=="about" ? "active" : ""}')
|
2014-01-30 20:25:25 +00:00
|
|
|
a(href='/static/about')=env.t('learnMore')
|
2014-01-28 02:24:24 +00:00
|
|
|
li
|
2014-01-30 20:25:25 +00:00
|
|
|
a(href='http://blog.habitrpg.com/')=env.t('companyBlog')
|
2014-01-28 02:24:24 +00:00
|
|
|
li(class='#{menuItem=="plans" ? "active" : ""}')
|
2014-01-30 20:25:25 +00:00
|
|
|
a(href='/static/plans')=env.t('groupPlans')
|
2014-01-28 01:16:12 +00:00
|
|
|
//li(class='#{menuItem=="contact" ? "active" : ""}')
|
2014-01-30 20:25:25 +00:00
|
|
|
a(href='/static/contact')=env.t('contact')
|
2014-01-28 02:24:24 +00:00
|
|
|
|
2014-01-28 01:16:12 +00:00
|
|
|
.container
|
|
|
|
|
block content
|
2013-09-01 16:56:43 +00:00
|
|
|
|
|
|
|
|
include ../shared/footer
|