mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Patching up the footer, partialising it
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
6
app/views/shared/_footer.html.haml
Normal file
6
app/views/shared/_footer.html.haml
Normal 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"
|
||||
Reference in New Issue
Block a user