source tools from content data

This commit is contained in:
Matthias Kretschmann 2017-10-16 09:50:15 +02:00
parent 4e26e24f1c
commit 6ce8797cb9
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 28 additions and 31 deletions

View File

@ -277,7 +277,7 @@
.icon {
fill: inherit;
opacity: .4;
opacity: .5;
margin-left: $spacer / 2;
width: $font-size-mini;
margin-bottom: -.2rem;

View File

@ -78,7 +78,15 @@ getstarted:
- title: "Get drivers & tools"
link: "https://www.bigchaindb.com/getstarted/#drivers"
text: "Point your apps to `test.ipdb.io` and code along. →"
tools:
- title: "BigchainDB Explorer"
description: "Use BigchainDB's HTTP API to explore assets, accounts and transactions."
link: "http://www.nileshtrivedi.com/bigchaindb-explorer/"
github: "https://github.com/nileshtrivedi/bigchaindb-explorer"
- title: "IPDB Explorer"
description: "Tool for exploring IPDB txs based on asset ids and public keys."
link: "https://ipdb-explorer.license.rocks/"
github: "https://github.com/LicenseRocks/ipdb-explorer"
connect:
title: "Stay connected"

View File

@ -232,37 +232,26 @@ css: page-front
<div class="grid__col grid__col--4">
<div class="tool">
<h3 class="tool__title">
<a href="http://www.nileshtrivedi.com/bigchaindb-explorer/">BigchainDB Explorer</a>
<a href="https://github.com/nileshtrivedi/bigchaindb-explorer" title="GitHub">
<svg class="icon" aria-labelledby="title">
<title>GitHub</title>
<use xlink:href="/assets/img/sprite.svg#icon-github"></use>
</svg>
</a>
</h3>
{% for tool in content.getstarted.tools %}
<div class="tool">
<h3 class="tool__title">
<a href="{{ tool.link }}">{{ tool.title }}</a>
<p class="tool__description">
Use BigchainDB's HTTP API to explore assets, accounts and transactions.
</p>
</div>
{% if tool.github %}
<a href="{{ tool.github }}" title="GitHub">
<svg class="icon" aria-labelledby="title">
<title>GitHub</title>
<use xlink:href="/assets/img/sprite.svg#icon-github"></use>
</svg>
</a>
{% endif %}
</h3>
<div class="tool">
<h3 class="tool__title">
<a href="https://ipdb-explorer.license.rocks/">IPDB Explorer</a>
<a href="https://github.com/LicenseRocks/ipdb-explorer" title="GitHub">
<svg class="icon" aria-labelledby="title">
<title>GitHub</title>
<use xlink:href="/assets/img/sprite.svg#icon-github"></use>
</svg>
</a>
</h3>
<p class="tool__description">
Tool for exploring IPDB txs based on asset ids and public keys
</p>
</div>
<p class="tool__description">
{{ tool.description }}
</p>
</div>
{% endfor %}
</div>
</div>