<nav class="app-primary-navigation" aria-label="primary">
  <div class="govuk-width-container">
    <ul class="app-primary-navigation__list">
      <% items.each do |item| %>
        <% if item.current %>
          <li class="app-primary-navigation__item app-primary-navigation__item--current">
            <%= govuk_link_to item[:text], item[:href], class: "app-primary-navigation__link", aria: { current: "page" } %>
          </li>
        <% else %>
          <li class="app-primary-navigation__item">
            <%= govuk_link_to item[:text], item[:href], class: "app-primary-navigation__link" %>
          </li>
        <% end %>
      <% end %>
    </ul>
  </div>
</nav>