fix(static): move About => Features

This commit is contained in:
Tyler Renelle 2014-02-21 17:58:43 -08:00
parent a8e890a6df
commit aaa38a5070
5 changed files with 9 additions and 10 deletions

View file

@ -33,8 +33,8 @@ router.get('/static/api', middleware.locals, function(req, res) {
res.render('static/api', {env: res.locals.habitrpg});
});
router.get('/static/about', middleware.locals, function(req, res) {
res.render('static/about', {env: res.locals.habitrpg});
router.get('/static/features', middleware.locals, function(req, res) {
res.render('static/features', {env: res.locals.habitrpg});
});
router.get('/static/videos', middleware.locals, function(req, res) {

View file

@ -18,7 +18,7 @@ footer.footer(ng-controller='FooterCtrl')
| 
=env.t('companyDonate')
li
a(href='/static/about')=env.t('companyAbout')
a(href='/static/features')=env.t('companyAbout')
li
a(target='_blank', href='http://blog.habitrpg.com/')=env.t('companyBlog')
li

View file

@ -2,7 +2,7 @@ extends ./layout
block vars
- var layoutEnv = env
- var menuItem = 'about'
- var menuItem = 'features'
block title
title=env.t('companyAbout')

View file

@ -30,11 +30,10 @@ html(ng-app='habitrpgStatic')
a.navbar-brand(href='/static/front') HabitRPG
.collapse.navbar-collapse(collapse="isNavbarCollapsed")
ul.nav.navbar-nav
li(class='#{menuItem=="about" ? "active" : ""}')
//a(href='/static/about')=env.t('learnMore')
a(href='/static/about') About
li(class='#{menuItem=="features" ? "active" : ""}')
a(href='/static/features')=env.t('companyAbout')
li(class='#{menuItem=="videos" ? "active" : ""}')
a(href='/static/videos') Videos
a(href='/static/videos')=env.t('companyVideos')
li
a(href='http://blog.habitrpg.com/')=env.t('companyBlog')
li(class='#{menuItem=="plans" ? "active" : ""}')

View file

@ -2,10 +2,10 @@ extends ./layout
block vars
- var layoutEnv = env
- var menuItem = 'about'
- var menuItem = 'videos'
block title
title=env.t('companyAbout')
title=env.t('companyVideos')
block content
.row