Add basic sell page

Conflicts:
	config/routes.rb
This commit is contained in:
Rohan Mitchell
2016-07-07 14:58:07 +10:00
parent 1054fd2d05
commit 0830a5bd85
5 changed files with 45 additions and 1 deletions

View File

@@ -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

View File

@@ -9,4 +9,8 @@ class HomeController < BaseController
@num_orders = Spree::Order.complete.count
end
end
def sell
end
end

View 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"