From d9fd0b284dab2ffab434e1840f2db47a35bfb55e Mon Sep 17 00:00:00 2001 From: summerscope Date: Fri, 1 May 2015 14:52:17 +1000 Subject: [PATCH] WIP on home panes and layout --- app/assets/stylesheets/darkswarm/home_panes.css.sass | 7 +++---- app/views/home/_brandstory.html.haml | 11 +++++++---- app/views/shared/_footer.html.haml | 2 ++ 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/app/assets/stylesheets/darkswarm/home_panes.css.sass b/app/assets/stylesheets/darkswarm/home_panes.css.sass index ec10429987..6717af13a4 100644 --- a/app/assets/stylesheets/darkswarm/home_panes.css.sass +++ b/app/assets/stylesheets/darkswarm/home_panes.css.sass @@ -12,6 +12,8 @@ #brand-story.pane, #system.pane, #stats.pane background-color: lighten($ofn-grey, 45%) + +#cta.pane background-image: url("/assets/tile-wide.png") #brand-story.pane @@ -23,7 +25,4 @@ p @include bodyFont font-size: 1.5rem - font-weight: 300 - - - + font-weight: 300 \ No newline at end of file diff --git a/app/views/home/_brandstory.html.haml b/app/views/home/_brandstory.html.haml index 99a0fe4371..e5aa05a0cb 100644 --- a/app/views/home/_brandstory.html.haml +++ b/app/views/home/_brandstory.html.haml @@ -2,9 +2,6 @@ .row .small-12.columns.text-center %p Sometimes the best way to fix the system is to start a new one… - %a.button.small.neutral-btn.dark{href: "/"} - Read more - %i.ofn-i_052-point-down .hide-show %p We begin from the ground up. With farmers and growers ready to tell their stories proudly and truly. With distributors ready to connect people with products fairly and honestly. With buyers who believe that better weekly shopping decisions can seriously change the world. @@ -13,4 +10,10 @@ %p It works everywhere. It changes everything. %p %strong We call it Open Food Network. - %p We all love food. Now we can love our food system too. \ No newline at end of file + %p We all love food. Now we can love our food system too. + + %a.button.small.neutral-btn.dark{href: "/"} + Read more + %i.ofn-i_052-point-down + + \ No newline at end of file diff --git a/app/views/shared/_footer.html.haml b/app/views/shared/_footer.html.haml index e06ae0f0aa..fff7e46fd2 100644 --- a/app/views/shared/_footer.html.haml +++ b/app/views/shared/_footer.html.haml @@ -1,4 +1,6 @@ %footer + .row + .row.landing-page-row .small-12.medium-4.columns.text-left %h4 Email us