summaryrefslogtreecommitdiff
path: root/amber/layouts/_masthead.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'amber/layouts/_masthead.html.haml')
-rw-r--r--amber/layouts/_masthead.html.haml25
1 files changed, 8 insertions, 17 deletions
diff --git a/amber/layouts/_masthead.html.haml b/amber/layouts/_masthead.html.haml
index f37d6e9..18f746e 100644
--- a/amber/layouts/_masthead.html.haml
+++ b/amber/layouts/_masthead.html.haml
@@ -1,17 +1,8 @@
-.masthead-inner
- .container
- .row
- -# if has_navigation?
- .col-sm-3.col-md-2
- .col-sm-9.col-md-10
- %h1 LEAP Encryption Access Project
- %ul.list-unstyled#top-menu
- - top_navigation_items(include_home:true) do |item|
- %li{:class => [item[:class], 'tab'].join(' ')}
- %a{:href => item[:href], :class => [item[:class], 'tab'].join(' ')}= item[:label]
- .col-sm-12.logo
- %h1 LEAP Encryption Access Project
- %ul.list-unstyled#top-menu
- - top_navigation_items(include_home:true) do |item|
- %li{:class => [item[:class], 'tab'].join(' ')}
- %a{:href => item[:href], :class => [item[:class], 'tab'].join(' ')}= item[:label]
+%header
+ %picture
+ %source{:media => "(min-width: 35.5em)", :srcset => "/img/leap180.png"}
+ %img{:alt => "LEAP logo", :src => "/img/leap128.png"}
+ %h1 LEAP Encryption Access Project
+ %nav.nav-menu{:role => "navigation"}
+ - top_navigation_items(include_home:true) do |item|
+ %a.nav-item{:href => item[:href]}= item[:label]