1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-12-02 05:57:18 +01:00
site/_src/_includes/menu-main.html

31 lines
989 B
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
2016-02-01 16:37:58 +01:00
<div class="grid grid--full grid-medium--columns grid--center">
<div class="grid__col grid__col--1">
<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>
</div>
2016-01-07 20:15:09 +01:00
2016-02-01 16:37:58 +01:00
<div class="grid__col grid__col--5">
2016-01-07 20:15:09 +01:00
{% 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 %}
2016-01-30 12:10:33 +01:00
<a class="menu__link {{ active }}" href="{{ link.url }}">{{ link.title }}</a>
{% endfor %}
</div>
</div>
2016-01-07 20:15:09 +01:00
</div>
</nav>