1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-23 02:00:18 +01:00
site/_src/_includes/menu-footer.html

71 lines
2.1 KiB
HTML
Raw Normal View History

2016-01-07 20:15:09 +01:00
<nav class="menu menu--footer">
2016-01-30 14:28:19 +01:00
2016-02-14 02:16:02 +01:00
<div class="grid grid--full grid-small--fit">
<div class="grid__col">
<a class="menu__logo" href="/">
<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>
<div class="grid__col">
{% 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-07 20:15:09 +01:00
2016-02-10 13:16:44 +01:00
<a class="menu__link {{ active }} js-tracking-menu" href="{{ link.url }}">{{ link.title }}</a>
2016-01-07 20:15:09 +01:00
{% endfor %}
</div>
2016-01-30 14:28:19 +01:00
<div class="grid__col">
2016-02-14 02:16:02 +01:00
{% for link in site.data.menus.secondary %}
{% assign active = nil %}
{% if page.url contains link.url %}
{% assign active = 'active' %}
{% endif %}
2016-02-10 13:16:44 +01:00
<a class="menu__link {{ active }} js-tracking-menu" href="{{ link.url }}">{{ link.title }}</a>
{% endfor %}
</div>
2016-02-14 02:16:02 +01:00
<div class="list-unstyled grid__col">
{% for link in site.data.menus.community %}
{% 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>
2016-01-07 20:15:09 +01:00
</div>
2016-01-30 14:28:19 +01:00
2016-02-14 02:16:02 +01:00
<small class="footer__copyright">
&copy; {{ site.time | date: "%Y" }} {{ site.address.company }}
2016-02-14 02:16:02 +01:00
{% for link in site.data.menus.legal %}
{% 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 %}
</small>
2016-01-07 20:15:09 +01:00
</nav>