From 18bd0bda928d78b501b85014e56d391979229309 Mon Sep 17 00:00:00 2001 From: Ankit Date: Thu, 14 May 2015 10:43:36 -0700 Subject: [PATCH] About page --- app/assets/stylesheets/static/_about.scss | 6 ++- app/controllers/static_controller.rb | 6 ++- app/views/shared/_header.html.erb | 2 +- app/views/shared/_new_footer.html.erb | 2 +- app/views/static/about.html.erb | 58 +++++++++++++++++++++++ app/views/static/hosting.html.erb | 4 +- lib/assets/stylesheets/tws-styles | 2 +- 7 files changed, 73 insertions(+), 7 deletions(-) create mode 100644 app/views/static/about.html.erb diff --git a/app/assets/stylesheets/static/_about.scss b/app/assets/stylesheets/static/_about.scss index 5fdc5df0..b6d89178 100644 --- a/app/assets/stylesheets/static/_about.scss +++ b/app/assets/stylesheets/static/_about.scss @@ -1,3 +1,7 @@ +.cover-photo.static-banner { + margin-bottom: $base-font-size*3; +} + .static-container { margin-bottom: $base-font-size*3; @@ -10,7 +14,7 @@ @include span-columns(8 of 12); @include shift(2); } - + ol { li { padding-left: $base-font-size; diff --git a/app/controllers/static_controller.rb b/app/controllers/static_controller.rb index 428a8258..ecf39128 100644 --- a/app/controllers/static_controller.rb +++ b/app/controllers/static_controller.rb @@ -1,5 +1,5 @@ class StaticController < ApplicationController - before_filter :away_ye_waitlisted, except: [:index, :jfdi_signup, :hosting] + before_filter :away_ye_waitlisted, except: [:index, :jfdi_signup, :hosting, :about] def index use_new_styles @@ -31,6 +31,10 @@ def hosting use_new_styles end + def about + use_new_styles + end + def jfdi_signup use_new_styles @full_form = !request.xhr? diff --git a/app/views/shared/_header.html.erb b/app/views/shared/_header.html.erb index 142becf1..9d7e5a7b 100644 --- a/app/views/shared/_header.html.erb +++ b/app/views/shared/_header.html.erb @@ -4,7 +4,7 @@