mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Extract home page tagline to partial
This commit is contained in:
9
app/views/home/_tagline.html.haml
Normal file
9
app/views/home/_tagline.html.haml
Normal 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
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user