2014-06-06 20:00:28 +00:00
|
|
|
//-Trick needed to pass 'env' to ./layout
|
2013-09-06 17:50:14 +00:00
|
|
|
block vars
|
2014-10-01 12:20:49 +00:00
|
|
|
doctype html
|
2014-02-03 18:43:03 +00:00
|
|
|
html(ng-app='habitrpgStatic')
|
2013-09-01 16:56:43 +00:00
|
|
|
|
|
|
|
|
head
|
2014-08-25 07:29:51 +00:00
|
|
|
block extraHead
|
2013-09-01 16:56:43 +00:00
|
|
|
block title
|
2013-12-30 02:14:55 +00:00
|
|
|
title=env.t('titleIndex')
|
2013-09-01 16:56:43 +00:00
|
|
|
|
2014-02-03 18:43:03 +00:00
|
|
|
script(type='text/javascript').
|
|
|
|
|
window.env = !{JSON.stringify(env)};
|
|
|
|
|
|
2014-01-29 17:26:58 +00:00
|
|
|
link(rel='shortcut icon', href='#{env.getBuildUrl("favicon.ico")}?v=3')
|
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
|
|
|
body
|
2014-02-09 15:16:43 +00:00
|
|
|
div(ng-controller='AuthCtrl')
|
2014-01-28 01:16:12 +00:00
|
|
|
include ./login-modal
|
2014-01-29 17:26:58 +00:00
|
|
|
nav.navbar.navbar-inverse.navbar-fixed-top
|
|
|
|
|
.navbar-header
|
|
|
|
|
button.navbar-toggle(type='button', ng-click='isNavbarCollapsed = !isNavbarCollapsed', ng-init='isNavbarCollapsed = true')
|
|
|
|
|
span.sr-only Toggle navigation
|
|
|
|
|
span.icon-bar
|
|
|
|
|
span.icon-bar
|
|
|
|
|
span.icon-bar
|
|
|
|
|
a.navbar-brand(href='/static/front') HabitRPG
|
|
|
|
|
.collapse.navbar-collapse(collapse="isNavbarCollapsed")
|
|
|
|
|
ul.nav.navbar-nav
|
2014-02-22 01:58:43 +00:00
|
|
|
li(class='#{menuItem=="features" ? "active" : ""}')
|
|
|
|
|
a(href='/static/features')=env.t('companyAbout')
|
2014-02-11 07:51:29 +00:00
|
|
|
li(class='#{menuItem=="videos" ? "active" : ""}')
|
2014-02-22 01:58:43 +00:00
|
|
|
a(href='/static/videos')=env.t('companyVideos')
|
2014-01-29 17:26:58 +00:00
|
|
|
li
|
2014-01-31 19:04:40 +00:00
|
|
|
a(href='http://blog.habitrpg.com/')=env.t('companyBlog')
|
2014-01-29 17:26:58 +00:00
|
|
|
li(class='#{menuItem=="plans" ? "active" : ""}')
|
2014-01-31 19:04:40 +00:00
|
|
|
a(href='/static/plans')=env.t('groupPlans')
|
2015-01-08 20:41:23 +00:00
|
|
|
li(class='#{menuItem=="pressKit" ? "active" : ""}')
|
|
|
|
|
a(href='/static/press-kit') Press Kit
|
2014-08-26 18:59:54 +00:00
|
|
|
li(class='#{menuItem=="contact" ? "active" : ""}')
|
|
|
|
|
a(href='/static/contact')=env.t('contactUs')
|
2014-01-29 17:26:58 +00:00
|
|
|
|
|
|
|
|
button#header-play-button.btn.btn-primary.navbar-btn.navbar-right(ng-click='playButtonClick()')=env.t('playButton')
|
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
|
|
|
|
2014-08-26 18:59:54 +00:00
|
|
|
include ../shared/footer
|