mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-27 06:05:19 +00:00
Add basic sell page
Conflicts: config/routes.rb
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#system.pane
|
||||
background-color: white
|
||||
|
||||
#brand-story.pane, #cta.pane, #shops.pane
|
||||
#brand-story.pane, #cta.pane, #shops.pane, #sell.pane
|
||||
@include tiledPane
|
||||
|
||||
#connect.pane
|
||||
|
||||
@@ -9,4 +9,8 @@ class HomeController < BaseController
|
||||
@num_orders = Spree::Order.complete.count
|
||||
end
|
||||
end
|
||||
|
||||
def sell
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
32
app/views/home/sell.html.haml
Normal file
32
app/views/home/sell.html.haml
Normal file
@@ -0,0 +1,32 @@
|
||||
- content_for(:title) do
|
||||
= t :sell_title
|
||||
|
||||
#panes
|
||||
#sell.pane
|
||||
.row.header
|
||||
.small-12.medium-12.columns.text-center
|
||||
%h2
|
||||
= t :sell_headline
|
||||
.row.content
|
||||
.small-12.medium-6.medium-offset-3.columns.text-center
|
||||
%p.text-big
|
||||
= t :sell_motivation
|
||||
|
||||
.pane
|
||||
.row
|
||||
.small-12.medium-4.columns.text-center
|
||||
%h3= t :sell_producers
|
||||
%a.button.transparent{href: signup_producers_path}
|
||||
= t :register_title
|
||||
|
||||
.small-12.medium-4.columns.text-center
|
||||
%h3= t :sell_shops
|
||||
%a.button.transparent{href: signup_shops_path}
|
||||
= t :register_title
|
||||
|
||||
.small-12.medium-4.columns.text-center
|
||||
%h3= t :sell_groups
|
||||
%a.button.transparent{href: signup_groups_path}
|
||||
= t :register_title
|
||||
|
||||
= render "shared/footer"
|
||||
Reference in New Issue
Block a user