Sha256: 9c85e2cd09696155ff7bd5d1470c32b43e1f6527921dcdd42739da5bc1bb29e5

Contents?: true

Size: 965 Bytes

Versions: 5

Compression:

Stored size: 965 Bytes

Contents

<div class="usa-overlay"></div>
<header class="usa-header usa-header--basic">
  <%= render "application/demo_site_banner" if Rails.configuration.x.show_demo_banner %>
  <div class="usa-nav-container">
    <div class="usa-navbar">
      <div class="usa-logo">
        <em class="usa-logo__text">
          <%= link_to t('shared.header.title'), root_path %>
        </em>
      </div>
      <button class="usa-menu-btn"><%= t('shared.header.menu') %></button>
    </div>
    <nav aria-label="<%= t('shared.header.primary') %>" class="usa-nav">
      <button class="usa-nav__close">
        <%= image_tag "uswds/dist/img/usa-icons/close.svg", role: "img", alt: t('shared.header.close') %>
      </button>
      <ul class="usa-nav__primary usa-accordion">
        <% I18n.available_locales.each do |l| %>
          <li class="usa-nav__primary-item">
            <%= format_active_locale(l) %>
          </li>
        <% end %>
      </ul>
    </nav>
  </div>
</header>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rails_template_18f-0.4.1 templates/app/views/application/_header.html.erb
rails_template_18f-0.4.0 templates/app/views/application/_header.html.erb
rails_template_18f-0.3.0 templates/app/views/application/_header.html.erb
rails_template_18f-0.2.0 templates/app/views/application/_header.html.erb
rails_template_18f-0.1.0 templates/app/views/application/_header.html.erb