diff options
| author | Yuval Adam <yuval@y3xz.com> | 2015-07-12 12:06:51 +0300 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2015-07-12 12:06:51 +0300 |
| commit | 20ff501a209810a63d6aa3893fa0304b89fba79d (patch) | |
| tree | 2b58a9334982ac6df511a1b30bad84def48e6964 | |
| parent | 64562401cd6e9de616d471d2a803dcf88fd985d5 (diff) | |
Headerless layout on homepage
| -rw-r--r-- | client/colors.less | 2 | ||||
| -rw-r--r-- | client/templates/layout_headerless.html | 5 | ||||
| -rw-r--r-- | lib/router.js | 5 |
3 files changed, 10 insertions, 2 deletions
diff --git a/client/colors.less b/client/colors.less index e964600..5c1980d 100644 --- a/client/colors.less +++ b/client/colors.less @@ -29,7 +29,7 @@ body { height: auto; max-width: 700px; margin: 0 auto; - margin-top: 85px; + margin-top: 135px; div.login { text-align: center; flex: 0 0 auto; diff --git a/client/templates/layout_headerless.html b/client/templates/layout_headerless.html new file mode 100644 index 0000000..300c30b --- /dev/null +++ b/client/templates/layout_headerless.html @@ -0,0 +1,5 @@ +<template name="layout_headerless"> + <div class="page"> +{{> yield}} + </div> +</template> diff --git a/lib/router.js b/lib/router.js index daddf5e..4f6d578 100644 --- a/lib/router.js +++ b/lib/router.js @@ -2,7 +2,10 @@ Router.configure({ layoutTemplate: 'layout' }); -Router.route('/', {name: 'login'}); +Router.route('/', { + name: 'login', + layoutTemplate: 'layout_headerless' +}); Router.route('/dates', {name: 'dates'}); Router.route('/photos', {name: 'photos'}); |
