1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-12-01 13:37:14 +01:00
site/_src/_includes/menu-main.html

39 lines
1.4 KiB
HTML
Raw Normal View History

2016-01-07 20:15:09 +01:00
<nav class="menu menu--main">
<div class="row row--wide">
2016-01-07 20:15:09 +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">
<a class="menu__logo" href="/">
2016-02-02 20:23:02 +01:00
<svg class="logo logo--sm logo--white--green" aria-labelledby="title">
<title>Logo</title>
<use xlink:href="/assets/img/sprite.svg#logo"></use>
</svg>
</a>
{% 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 %}
</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
<div class="menu-overflow">
{% for link in site.data.menus.main %}
2016-01-07 20:15:09 +01:00
{% assign active = nil %}
{% if page.url contains link.url %}
{% assign active = 'active' %}
{% endif %}
<a class="menu__link {{ active }} js-tracking-menu" href="{{ link.url }}">{{ link.title }}</a>
{% endfor %}
</div>
</div>
</div>
2016-01-07 20:15:09 +01:00
</div>
</nav>