Extract home page tagline to partial

This commit is contained in:
Rohan Mitchell
2016-08-03 14:59:28 +10:00
parent 57a2f1b339
commit ee2c1ef195
2 changed files with 10 additions and 11 deletions

View File

@@ -0,0 +1,9 @@
#tagline
.row
.small-12.text-center.columns
%h1
/ TODO: Rohan - logo asset & width is content manageable:
%img{src: "/assets/logo-white-notext.png", width: "250", title: Spree::Config.site_name}
%br/
%a.button.transparent{href: "/shops"}
= t :home_shop

View File

@@ -4,17 +4,7 @@
%div{"ng-controller" => "HomeCtrl"}
= render "shared/menu/alert"
#tagline
.row
.small-12.text-center.columns
%h1
/ TODO: Rohan - logo asset & width is content manageable:
%img{src: "/assets/logo-white-notext.png", width: "250", title: Spree::Config.site_name}
%br/
%a.button.transparent{href: "/shops"}
= t :home_shop
= render "home/tagline"
#panes
= render "home/brandstory"