diff --git a/app/router.coffee b/app/router.coffee index 1b673699..3ba758b5 100644 --- a/app/router.coffee +++ b/app/router.coffee @@ -67,8 +67,9 @@ Router.map -> @route 'home' @route 'home-pro', path: '/home-pro' - @route 'pricing', path: '/plans' - @route 'team', path: '/about/team' + @route 'plans', path: '/plans' + @route 'team', path: '/team' + @route 'logos', path: '/logo' @resource 'profile', path: '/profile', -> @resource 'accounts', path: '/', -> diff --git a/app/routes/plans.coffee b/app/routes/plans.coffee new file mode 100644 index 00000000..b86f0df1 --- /dev/null +++ b/app/routes/plans.coffee @@ -0,0 +1,10 @@ +`import BasicRoute from 'travis/routes/basic'` +`import config from 'travis/config/environment'` + +Route = BasicRoute.extend + needsAuth: false + redirect: -> + unless config.pro + @transitionTo('home-pro') + +`export default Route` diff --git a/app/templates/pricing.hbs b/app/templates/plans.hbs similarity index 100% rename from app/templates/pricing.hbs rename to app/templates/plans.hbs diff --git a/app/views/pricing.coffee b/app/views/plans.coffee similarity index 100% rename from app/views/pricing.coffee rename to app/views/plans.coffee diff --git a/public/images/pro-landing/flag-russia.svg b/public/images/pro-landing/flag-russia.svg new file mode 100644 index 00000000..07afdb02 --- /dev/null +++ b/public/images/pro-landing/flag-russia.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + +