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

91 lines
3.0 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
2018-04-06 10:41:46 +02:00
{% unless link.items %}
2016-02-10 13:16:44 +01:00
<a class="menu__link {{ active }} js-tracking-menu" href="{{ link.url }}">{{ link.title }}</a>
2018-04-06 10:41:46 +02:00
{% endunless %}
{% for item in link.items %}
{% assign active = nil %}
{% if page.url contains item.url %}
{% assign active = 'active' %}
{% endif %}
<a class="menu__link menu__link--secondary {{ active }} js-tracking-menu" href="{{ item.url }}">{{ item.title }}</a>
{% endfor %}
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-11-25 11:56:35 +01:00
<div class="footer__copyright">
<small>
&copy; {{ site.time | date: "%Y" }} {{ site.address.company }}
2016-02-14 02:16:02 +01:00
2016-11-25 11:56:35 +01:00
{% for link in site.data.menus.legal %}
2016-02-14 02:16:02 +01:00
2016-11-25 11:56:35 +01:00
{% assign active = nil %}
{% if page.url contains link.url %}
{% assign active = 'active' %}
{% endif %}
2016-02-14 02:16:02 +01:00
2016-11-25 11:56:35 +01:00
<a class="menu__link {{ active }} js-tracking-menu" href="{{ link.url }}">{{ link.title }}</a>
2016-02-14 02:16:02 +01:00
2016-11-25 11:56:35 +01:00
{% endfor %}
</small>
<a class="erdf" href="/erdf/" title="BigchainDB is partially supported by the European Regional Development Fund (ERDF)">
<svg class="logo logo-erdf" aria-labelledby="title">
<title>European Regional Development Fund (ERDF)</title>
<use xlink:href="/assets/img/sprite.svg#logo-erdf"></use>
</svg>
</a>
</div>
2016-02-14 02:16:02 +01:00
2016-01-07 20:15:09 +01:00
</nav>