From 67650ea9fead442cb2f66a2fbbec452c890d0775 Mon Sep 17 00:00:00 2001 From: elijah Date: Wed, 22 Jan 2014 02:18:30 -0800 Subject: added a default footer with links to privacy policy, tos, pricing, about us, contact. --- app/views/home/index.html.haml | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'app/views/home/index.html.haml') diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml index 67b2c06..2d5b238 100644 --- a/app/views/home/index.html.haml +++ b/app/views/home/index.html.haml @@ -1,21 +1,21 @@ -#main - .container-fluid - .row-fluid - %h1= t(:welcome, :provider => APP_CONFIG[:domain]) - - %p - We provide secure communication services, including encrypted internet, email (coming soon), and chat (coming later). - - .row-fluid - .span6.offset3 - = render 'layouts/messages' - .row-fluid - = home_page_buttons - - - if Rails.env == 'development' - .row-fluid - %hr - %p - = link_to "fetch a cert", cert_path - %p - = link_to "make donation", new_payment_path if APP_CONFIG[:payment].present? +!!! +%html + %head + %meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"} + %title= html_title + %meta{:content => content_for?(:description) ? yield(:description) : "Leap Web", :name => "description"} + = stylesheet_link_tag "application", :media => "all" + = javascript_include_tag "application" + = csrf_meta_tags + = yield(:head) + %body + #wrap + #masthead + = render 'home/masthead' + #main + .container-fluid + = render 'home/content' + #push + -# #push is used for sticky footer in bootstrap 2. remove when upgrading to bootstrap 3 + #footer + = render 'layouts/footer' \ No newline at end of file -- cgit v1.2.3 From 91c535a080f05be23ee1320b0701dae6ff3601af Mon Sep 17 00:00:00 2001 From: elijah Date: Thu, 23 Jan 2014 02:05:37 -0800 Subject: move #masthead out of main templates to make the masthead partials more flexible. --- app/views/home/index.html.haml | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) (limited to 'app/views/home/index.html.haml') diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml index 2d5b238..147cacd 100644 --- a/app/views/home/index.html.haml +++ b/app/views/home/index.html.haml @@ -1,21 +1,9 @@ -!!! -%html - %head - %meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"} - %title= html_title - %meta{:content => content_for?(:description) ? yield(:description) : "Leap Web", :name => "description"} - = stylesheet_link_tag "application", :media => "all" - = javascript_include_tag "application" - = csrf_meta_tags - = yield(:head) - %body - #wrap - #masthead - = render 'home/masthead' - #main - .container-fluid - = render 'home/content' - #push - -# #push is used for sticky footer in bootstrap 2. remove when upgrading to bootstrap 3 - #footer - = render 'layouts/footer' \ No newline at end of file +#wrap + = render 'home/masthead' + #main + .container-fluid + = render 'home/content' + #push + -# #push is used for sticky footer in bootstrap 2. remove when upgrading to bootstrap 3 +#footer + = render 'layouts/footer' \ No newline at end of file -- cgit v1.2.3