2016-01-07 20:15:09 +01:00
|
|
|
<nav class="menu menu--main">
|
2016-01-17 17:57:55 +01:00
|
|
|
<div class="row row--wide">
|
2016-01-07 20:15:09 +01:00
|
|
|
|
2016-11-14 11:59:16 +01:00
|
|
|
<div class="grid grid--full grid-medium--columns grid--center">
|
2017-03-02 13:26:00 +01:00
|
|
|
<div class="grid__col grid__col--2">
|
2016-01-09 19:07:09 +01:00
|
|
|
<a class="menu__logo" href="/">
|
2016-02-02 20:23:02 +01:00
|
|
|
<svg class="logo logo--sm logo--white--green" aria-labelledby="title">
|
2016-01-09 19:07:09 +01:00
|
|
|
<title>Logo</title>
|
|
|
|
<use xlink:href="/assets/img/sprite.svg#logo"></use>
|
|
|
|
</svg>
|
|
|
|
</a>
|
2017-11-15 11:16:54 +01:00
|
|
|
{% if site.hiring == true %}
|
|
|
|
<a class="menu__hiring" href="https://github.com/bigchaindb/org/tree/master/jobs" rel="external">
|
|
|
|
<svg class="icon icon--suitcase"><use xlink:href="/assets/img/sprite.svg#icon-suitcase"></use></svg>
|
|
|
|
We're hiring!
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
2016-01-09 19:07:09 +01:00
|
|
|
</div>
|
2016-01-07 20:15:09 +01:00
|
|
|
|
2017-03-02 13:26:00 +01:00
|
|
|
<div class="grid__col grid__col--4">
|
2016-01-07 20:15:09 +01:00
|
|
|
|
2016-11-14 11:59:16 +01:00
|
|
|
<div class="menu-overflow">
|
|
|
|
{% for link in site.data.menus.main %}
|
2016-01-07 20:15:09 +01:00
|
|
|
|
2016-11-14 11:59:16 +01:00
|
|
|
{% assign active = nil %}
|
|
|
|
{% if page.url contains link.url %}
|
|
|
|
{% assign active = 'active' %}
|
|
|
|
{% endif %}
|
2016-01-09 19:07:09 +01:00
|
|
|
|
2018-04-05 19:12:00 +02:00
|
|
|
{% if link.items %}
|
|
|
|
<div class="dropdown">
|
|
|
|
<a class="menu__link {{ active }} js-tracking-menu dropdown-toggle"
|
|
|
|
data-toggle="dropdown"
|
|
|
|
aria-haspopup="true"
|
|
|
|
aria-expanded="false"
|
|
|
|
id="dropdownMenuButton"
|
|
|
|
href="{{ link.url }}">{{ link.title }}
|
|
|
|
</a>
|
|
|
|
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
|
|
|
|
{% for item in link.items %}
|
|
|
|
{% assign active = nil %}
|
|
|
|
{% if page.url contains item.url %}
|
|
|
|
{% assign active = 'active' %}
|
|
|
|
{% endif %}
|
|
|
|
<a class="dropdown-item {{ active }}" href="{{ item.url }}">{{ item.title }}</a>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% else %}
|
|
|
|
<a class="menu__link {{ active }} js-tracking-menu" href="{{ link.url }}">{{ link.title }}</a>
|
|
|
|
{% endif %}
|
2016-01-09 19:07:09 +01:00
|
|
|
|
2016-11-14 11:59:16 +01:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2016-01-09 19:07:09 +01:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-01-07 20:15:09 +01:00
|
|
|
</div>
|
|
|
|
</nav>
|