Sha256: 63755d76c199d7106db9a3a4ae36b85604e18ee1ac458f228e932f1430142e61

Contents?: true

Size: 1.57 KB

Versions: 2

Compression:

Stored size: 1.57 KB

Contents

<div id="top-box" class="d-flex align-items-center bg-primary p-0">
  <div class="container-fluid">
    <div class="d-flex justify-content-between align-items-center pl-xl-5 px-xl-4">

      <a class="text-light d-inline d-sm-none" href="{{ '/search/' | relative_url }}">
        <i class="fas fa-search fa-lg" data-fa-transform="up-2 grow-4"></i>
      </a>

      <span id="exchange-rates" class="text-white">
        {% if site.exchange-rates.usd %}
          {% include components/exchange-rates/progressive.html %}
        {% endif %}
      </span>

      <span id="sign-in">
        <span id="sign-in-welcome" class="d-none d-md-inline"></span>
        <strong id="sign-in-name" class="text-white"></strong>
        <a id="login-button" class="btn btn-sm btn-primary text-white border-0 d-none" href="{{ '/' | relative_url }}">
          <i class="fas fa-sign-in-alt fa-lg" data-fa-transform="left-3"></i>
          <span style="font-size:12px">{{ site.data.i18n.common.firebase[site.lang].login.title }}</span>
        </a>
        <button id="logout-button" class="btn btn-sm btn-primary text-white border-0 d-none">
          <i class="fas fa-sign-out-alt fa-lg" data-fa-transform="left-3"></i>
          <span style="font-size:12px">{{ site.data.i18n.common.firebase[site.lang].logout.title }}</span>
        </button>
      </span>

    </div>
    {% include components/topbars/progressive.js %}
  </div>
</div>

<script type="text/javascript">
  const path = location.pathname.substring(1);
  document.getElementById('login-button').href = '/login/?mode=select&signInSuccessUrl=/' + path;
</script>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-theme-marketing-1.0.1 _includes/components/topbars/progressive.html
jekyll-theme-marketing-1.0.0 _includes/components/topbars/progressive.html