Patching up the footer, partialising it

This commit is contained in:
Will Marshall
2013-11-08 16:37:02 +11:00
parent b227be4a62
commit b7104add1c
3 changed files with 27 additions and 19 deletions

View File

@@ -1,19 +1,19 @@
/
replace "footer"
/ replace "footer"
-#= render partial: "shared/footer"
%footer
%hr/
.row
.seven.columns.offset-by-three
%center
%h1 What is open food network?
%p
%i
Open food network is an online space in which people can connect with, trade and sell food directly with
Australian farmers. We aim to reconnect people with their food.
%hr/
-#.row
-#.seven.columns.offset-by-three
-#%center
-#%h1 What is open food network?
-#%p
-#%i
-#Open food network is an online space in which people can connect with, trade and sell food directly with
-#Australian farmers. We aim to reconnect people with their food.
-#%hr/
.row
.five.columns.secondary.offset-by-seven.secondary
-#.row
-#.five.columns.secondary.offset-by-seven.secondary
-#All rights reserved. © 2013 Open Food Foundation

View File

@@ -40,11 +40,13 @@
.row.distributor-link-row
.large-12.columns
= render partial: "shared/distributor", object: distributor
%footer
.row.landing-page-row
.large-6.columns.text-left
%strong
%span.has-tip.tip-top{"data-tooltip" => "", "data-options" => "disable-for-touch:true", title: "Open Food Network is a marketplace connecting you to local producers and food hubs"}
= link_to "WHAT IS OPEN FOOD NETWORK?", "http://openfoodnetwork.org"
= render partial: "shared/footer"
-#%footer
-#.row.landing-page-row
-#.large-6.columns.text-left
-#%strong
-#%span.has-tip.tip-top{"data-tooltip" => "", "data-options" => "disable-for-touch:true", title: "Open Food Network is a marketplace connecting you to local producers and food hubs"}
-#= link_to "WHAT IS OPEN FOOD NETWORK?", "http://openfoodnetwork.org"
-#.large-6.columns.text-right.secondary All rights reserved. © 2013 Open Food Foundation

View File

@@ -0,0 +1,6 @@
%footer
.row.landing-page-row
.large-6.columns.text-left
%strong
%span.has-tip.tip-top{"data-tooltip" => "", "data-options" => "disable-for-touch:true", title: "Open Food Network is a marketplace connecting you to local producers and food hubs"}
= link_to "WHAT IS OPEN FOOD NETWORK?", "http://openfoodnetwork.org"