Sha256: 7da4c8219dd71dc05f2d73f7c98aeecda1342f1bb4fb4ca468793d4f489ecca9
Contents?: true
Size: 1.6 KB
Versions: 7
Compression:
Stored size: 1.6 KB
Contents
<header class="header header--full-width"> <div class="header__container"> <div class="header__brand"> <% if config[:tech_docs][:service_link] %> <a href="<%= url_for config[:tech_docs][:service_link] %>"> <% else %> <span> <% end %> <% if config[:tech_docs][:show_govuk_logo] %> <span class="govuk-logo"> <img class="govuk-logo__printable-crown" src="/images/gov.uk_logotype_crown_invert_trans.png" height="32" width="36" alt=""> GOV.UK </span> <% end %> <span class="header__title"> <%= config[:tech_docs][:service_name] %> <% if config[:tech_docs][:phase] %> <span class="phase-banner"><%= config[:tech_docs][:phase] %></span> <% end %> </span> <% if config[:tech_docs][:service_link] %> </a> <% else %> </span> <% end %> </div> <% if config[:tech_docs][:header_links] %> <div data-module="navigation"> <button type="button" class="header__navigation-toggle js-nav-toggle" aria-controls="navigation" aria-label="Show or hide top level navigation">Menu</button> <nav id="navigation" class="header__navigation js-nav" aria-label="Top Level Navigation" aria-hidden="true"> <ul> <% config[:tech_docs][:header_links].each do |title, path| %> <li<% if active_page(path) %> class="active"<% end %>> <a href="<%= url_for path %>"><%= title %></a> </li> <% end %> </ul> </nav> </div> <% end %> </div> </header>
Version data entries
7 entries across 7 versions & 2 rubygems