summaryrefslogtreecommitdiff
path: root/source/_navigation.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'source/_navigation.html.haml')
-rw-r--r--source/_navigation.html.haml22
1 files changed, 22 insertions, 0 deletions
diff --git a/source/_navigation.html.haml b/source/_navigation.html.haml
new file mode 100644
index 0000000..05d21e7
--- /dev/null
+++ b/source/_navigation.html.haml
@@ -0,0 +1,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)
+