From 6ce8797cb9fe1e773a808fea93470639a1d99f5e Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Mon, 16 Oct 2017 09:50:15 +0200 Subject: [PATCH] source tools from content data --- _src/_assets/scss/page-front.scss | 2 +- _src/_data/content-front.yml | 10 ++++++- _src/index.html | 47 ++++++++++++------------------- 3 files changed, 28 insertions(+), 31 deletions(-) diff --git a/_src/_assets/scss/page-front.scss b/_src/_assets/scss/page-front.scss index db36301..8e7b0e8 100644 --- a/_src/_assets/scss/page-front.scss +++ b/_src/_assets/scss/page-front.scss @@ -277,7 +277,7 @@ .icon { fill: inherit; - opacity: .4; + opacity: .5; margin-left: $spacer / 2; width: $font-size-mini; margin-bottom: -.2rem; diff --git a/_src/_data/content-front.yml b/_src/_data/content-front.yml index d154d9c..311e887 100644 --- a/_src/_data/content-front.yml +++ b/_src/_data/content-front.yml @@ -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" diff --git a/_src/index.html b/_src/index.html index 2cad199..5075e60 100644 --- a/_src/index.html +++ b/_src/index.html @@ -232,37 +232,26 @@ css: page-front
-
-

- BigchainDB Explorer - - - GitHub - - - -

+ {% for tool in content.getstarted.tools %} +
+

+ {{ tool.title }} -

- Use BigchainDB's HTTP API to explore assets, accounts and transactions. -

-

+ {% if tool.github %} + + + GitHub + + + + {% endif %} + -
-

- IPDB Explorer - - - GitHub - - - -

- -

- Tool for exploring IPDB txs based on asset ids and public keys -

-
+

+ {{ tool.description }} +

+
+ {% endfor %}