From 439ac1f8ca8b7e81cab27ab3d92ae14695177be4 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Wed, 25 Mar 2015 09:44:29 +0100 Subject: [PATCH] Landing page template --- app/router.coffee | 3 ++- app/templates/home.hbs | 1 + app/views/home.coffee | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 app/templates/home.hbs create mode 100644 app/views/home.coffee diff --git a/app/router.coffee b/app/router.coffee index 22be0a06..42be37de 100644 --- a/app/router.coffee +++ b/app/router.coffee @@ -45,7 +45,8 @@ Router.map -> @route 'first_sync' @route 'insufficient_oauth_permissions' - @route 'auth', path: '/auth' + @route 'auth' + @route 'home' @resource 'profile', path: '/profile', -> @resource 'accounts', path: '/', -> diff --git a/app/templates/home.hbs b/app/templates/home.hbs new file mode 100644 index 00000000..3e91a14f --- /dev/null +++ b/app/templates/home.hbs @@ -0,0 +1 @@ +LANDING PAGE GOES HERE diff --git a/app/views/home.coffee b/app/views/home.coffee new file mode 100644 index 00000000..a33e0330 --- /dev/null +++ b/app/views/home.coffee @@ -0,0 +1,6 @@ +`import BasicView from 'travis/views/basic'` + +View = BasicView.extend + layoutName: 'layouts/simple' + +`export default View`