mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-14 07:52:15 +00:00
fix(static): move About => Features
This commit is contained in:
parent
a8e890a6df
commit
aaa38a5070
5 changed files with 9 additions and 10 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ extends ./layout
|
|||
|
||||
block vars
|
||||
- var layoutEnv = env
|
||||
- var menuItem = 'about'
|
||||
- var menuItem = 'features'
|
||||
|
||||
block title
|
||||
title=env.t('companyAbout')
|
||||
|
|
@ -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" : ""}')
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue