{% if page.url == '/' %}{% assign homepage = true %}{% endif %}

<div class="{% unless homepage %}border-bottom{% endunless %}">
  <div class="container-lg px-3">
    <div class="py-4 d-sm-flex flex-sm-row">
      <h1 class="alt-h4 col-sm-4 lh-default v-align-middle">
        {% unless homepage %}
        <a href="/" class="no-underline text-uppercase text-brand-blue-dark">
          <img class="v-align-middle" style="margin: -12px 8px -12px 0;" src="/assets/probot-head.png" height="36" alt="">
          Probot
        </a>
        {% endunless %}
      </h1>
      <nav class="text-bold col-sm-8 text-sm-right">
        <a class="text-inherit px-2 d-inline-block" href="/apps/">Explore</a>
        <a class="text-inherit px-2 d-inline-block" href="/docs/">Build</a>
        <a class="text-inherit px-2 d-inline-block" href="https://github.com/probot/probot">Contribute</a>
      </nav>
    </div>
  </div>
</div>
