redirect about, team, extensions to the community site. remove header

This commit is contained in:
Tyler Renelle
2013-04-03 17:15:28 -04:00
parent 6c8bd52a11
commit 367ca4a76b
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -13,9 +13,9 @@ beforeEach = (req, res, next) ->
router.get '/splash.html', (req, res) -> return res.redirect('/static/front')
router.get '/static/front', beforeEach, (req, res) -> staticPages.render 'static/front', res
router.get '/static/about', beforeEach, (req, res) -> staticPages.render 'static/about', res
router.get '/static/team', beforeEach, (req, res) -> staticPages.render 'static/team', res
router.get '/static/extensions', beforeEach, (req, res) -> res.redirect 'http://community.habitrpg.com/extensions', res
router.get '/static/about', (req, res) -> res.redirect 'http://community.habitrpg.com/node/97'
router.get '/static/team', (req, res) -> res.redirect 'http://community.habitrpg.com/node/96'
router.get '/static/extensions', (req, res) -> res.redirect 'http://community.habitrpg.com/extensions'
router.get '/static/faq', (req, res) -> res.redirect 'http://community.habitrpg.com/faq-page'
router.get '/static/privacy', beforeEach, (req, res) -> staticPages.render 'static/privacy', res
+2 -2
View File
@@ -1,5 +1,5 @@
<header:>
<div class="navbar navbar-inverse navbar-fixed-top">
<!--<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="brand {{#if equal(@active,'front')}}active{{/}}" href="/static/front">HabitRPG</a>
@@ -34,4 +34,4 @@
</div>
</div>
</div>
</div>
</div>-->