summaryrefslogtreecommitdiff
path: root/source/_navigation.html.haml
blob: 05d21e7eef61d8f52b2763db2fcb1d46c3b188a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- @navigation = navigation_items

.contain-to-grid
  %nav.top-bar{"role" => "navigation", "data-topbar" => true, "data-options" => "is_hover: false"}
    %ul.title-area
      %li.name
        = link_to("sublab-logo", "/")
      %li.toggle-topbar.menu-icon
        %a{href: '#'}
          %span
            Menu

    %section.top-bar-section
      %ul.left
        - @navigation.each do |key, value|
          %li.has-dropdown
            %a{href: "#"}
              = key.first
            %ul.dropdown
              - value.each do |name, url|
                %li= link_to(name, url)