summaryrefslogtreecommitdiff
path: root/source/layouts
diff options
context:
space:
mode:
authorLars Henrik Mai <lars.mai@kontinui.de>2014-05-03 15:48:44 +0200
committerLars Henrik Mai <lars.mai@kontinui.de>2014-05-03 20:06:40 +0200
commit0b269fb063fa2c9d4f3b7cff98fd1da87cfb7cdb (patch)
tree8575f506c0c786a0b73fa3c6f3aff88a636a901a /source/layouts
parent1182b56a2e98cc5fbbbbe2bc30a0248f087ffd49 (diff)
much designs.new-navigation-1
Diffstat (limited to 'source/layouts')
-rw-r--r--source/layouts/layout.erb32
1 files changed, 18 insertions, 14 deletions
diff --git a/source/layouts/layout.erb b/source/layouts/layout.erb
index 544621a..b2835f2 100644
--- a/source/layouts/layout.erb
+++ b/source/layouts/layout.erb
@@ -20,20 +20,24 @@
<body class="<%= page_classes %>">
- <!-- header -->
- <header>
- <h1>sublab</h1>
- </header>
-
- <!-- main navigation -->
- <nav>
- <%= partial "navigation" %>
- </nav>
-
- <!-- content -->
- <section id="main">
- <%= yield %>
- </section>
+ <!-- header -->
+ <header>
+ <div id="logo">
+ <% link_to '/' do %>
+ <%= image_tag 'sublab-logo.png', class: "img-responsive" %>
+ <% end %>
+ </div>
+ </header>
+
+ <!-- main navigation -->
+ <nav>
+ <%= partial "navigation" %>
+ </nav>
+
+ <!-- content -->
+ <section id="main">
+ <%= yield %>
+ </section>
</body>
</html>