diff options
author | Jarek Ostrowski <jarek.j.ostrowski@gmail.com> | 2018-05-11 01:10:04 +0300 |
---|---|---|
committer | Jarek Ostrowski <jarek.j.ostrowski@gmail.com> | 2018-05-11 01:10:04 +0300 |
commit | 888b0e630b72f0bf4f6697d664e55ec4de190821 (patch) | |
tree | 737b8842ada503cfa3336e9a9e5bb5eb1dfbe9b1 /layouts/header.html | |
parent | da5e3298c8b268cd162da62735361a8d2d7b8f70 (diff) |
Initial redesign
Diffstat (limited to 'layouts/header.html')
-rw-r--r-- | layouts/header.html | 51 |
1 files changed, 13 insertions, 38 deletions
diff --git a/layouts/header.html b/layouts/header.html index 00e27440..ee460b15 100644 --- a/layouts/header.html +++ b/layouts/header.html @@ -1,42 +1,17 @@ <div class="header"> - <a href="/"> - <img src="<%= @items['/assets/images/gitlab-logo.svg'].path %>" width="50" /> - <p>GitLab Documentation</p> + <a class="logo-container flex-container justify-center align-center" href="/"> + <img src="<%= @items['/assets/images/gitlab-logo.svg'].path %>" class="logo" /> + <p>GitLab <strong>Docs</strong></p> </a> - <div class="nav-container"> - <a class="nav-toggle" id="docs-nav-toggle"> - <i class="fa fa-bars" aria-hidden="true"></i> + <nav class="nav-container"> + <a class="nav-item flex-container justify-center align-center" href=""> + <p>GitLab</p> </a> - <ul class="nav"> - <% unless @item.identifier.to_s.split('/')[1] == 'search' %> - <li class="search"> - <form id="search-form" action="/search/" method="get"> - <input type="text" name="q" class="docsearch" placeholder="Search" required/> - <input type="submit" style="visibility: hidden; position:absolute;" /> - </form> - </li> - <% end %> - <% if ENV['NANOC_ENV'] == 'production' %> - <% @config[:products].each do |name, product| %> - <% if product[:expose] == true %> - <li class="nav-item"> - <a href="<%= @items["/#{product[:slug]}/#{product[:index_file]}"].path %>"> - <%= product[:short_name] %> - </a> - </li> - <% end %> - <% end %> - <% else %> - <% @config[:products].each do |name, product| %> - <% if Dir.exist?("#{@config[:content_dir]}/#{product[:slug]}")%> - <li class="nav-item"> - <a href="<%= @items["/#{product[:slug]}/#{product[:index_file]}"].path %>"> - <%= product[:short_name] %> - </a> - </li> - <% end %> - <% end %> - <% end %> - </ul> - </div> + <a class="nav-item flex-container justify-center align-center" href=""> + <p>Omnibus</p> + </a> + <a class="nav-item flex-container justify-center align-center" href=""> + <p>Runner</p> + </a> + </nav> </div> |