From 1ba4373f2e2d732b2de00e0da4c41099422ac3c8 Mon Sep 17 00:00:00 2001 From: elijah Date: Tue, 12 Aug 2014 17:10:28 -0700 Subject: nice scaling masthead --- amber/layouts/_masthead.html.haml | 4 ++-- amber/layouts/home.html.haml | 4 ++-- amber/locales/en.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'amber') diff --git a/amber/layouts/_masthead.html.haml b/amber/layouts/_masthead.html.haml index aad0bbd..c495954 100644 --- a/amber/layouts/_masthead.html.haml +++ b/amber/layouts/_masthead.html.haml @@ -3,9 +3,9 @@ .col-sm-12 .masthead-inner .text.top - =t :banner_top + %span= t :banner_top .text.bottom - =t :banner_bottom + %span= t(:banner_motto).gsub('
', ' 
 ') %ul.list-unstyled#top-menu - top_navigation_items(include_home:true) do |item| %li{:class => item[:class]} diff --git a/amber/layouts/home.html.haml b/amber/layouts/home.html.haml index bd84141..7da5f72 100644 --- a/amber/layouts/home.html.haml +++ b/amber/layouts/home.html.haml @@ -12,8 +12,8 @@ = html_head_base %body.home #wrap - #masthead.large - = render 'layouts/masthead_large' + #masthead + = render 'layouts/masthead' #main = yield :content #footer diff --git a/amber/locales/en.yml b/amber/locales/en.yml index 962d948..74c0a7e 100644 --- a/amber/locales/en.yml +++ b/amber/locales/en.yml @@ -2,7 +2,7 @@ en: site_title: "Bitmask Help" banner_top: "Bitmask" banner_bottom: "Help" - banner_motto: "Encrypted communication for mere mortals
(superheroes welcome, too)." + banner_motto: "Encrypted communication for mere mortals
(superheroes welcome, too)" contribute_to_help: 'Contribute to these help pages' download_bitmask: 'Download Bitmask' downloads: Downloads -- cgit v1.2.3