1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-22 17:50:07 +01:00
site/_src/_includes/sections/section-partners.html
Matthias Kretschmann 1ec467412a Partner landing pages (#111)
* setup partners as Jekyll collection
2017-04-06 17:22:24 +02:00

35 lines
1.2 KiB
HTML

<section class="section section-partners">
<div class="row">
<header class="section-header">
<h1 class="section-title">Partners</h1>
<p class="section-description">We are proud to partner and collaborate with</p>
</header>
</div>
<div class="row row--wide">
<article class="grid grid--full grid-small--half grid-medium--fit grid-medium--columns grid--justifycenter grid--gutters">
{% assign partners_sorted = (site.partners | sort: 'date') %}
{% for partner in partners_sorted %}
{% assign slug = partner.title | downcase | remove: "." | replace: " ", "-" %}
<div class="grid__col grid__col--1">
<a class="partner" href="{{ partner.link }}">
<svg class="partner__logo partner__logo--{{ slug }}" aria-labelledby="title">
<title>{{ partner.name }}</title>
<use xlink:href="/assets/img/sprite.svg#logo-{{ slug }}"></use>
</svg>
</a>
</div>
{% endfor %}
</article>
</div>
</section>