1
0
mirror of https://github.com/ipdb/website.git synced 2024-11-13 16:54:50 +01:00

move get started steps into content file

This commit is contained in:
Matthias Kretschmann 2017-09-07 12:36:22 +02:00
parent 1fddb12ac4
commit acd3f178ae
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 29 additions and 21 deletions

View File

@ -225,10 +225,6 @@
a & {
color: $link-color;
&:after {
content: '';
}
}
&:before {

View File

@ -63,6 +63,15 @@ roadmap:
getstarted:
title: "Get started with IPDB"
description: "Since you dont need to setup and maintain your own BigchainDB node, you can get started with IPDB in no time."
steps:
- title: "Create account"
link: "https://developers.ipdb.io/signup?plan_ids[]=2357355879577"
text: "Creating an account is free and takes just a second. →"
- title: "Get your API credentials"
text: "After signing up, you will receive your `app_id` & `app_key`."
- title: "Get drivers & tools"
link: "https://www.bigchaindb.com/getstarted/#drivers"
text: "Point your apps to `test.ipdb.io` and code along. →"
connect:

View File

@ -181,24 +181,27 @@ css: page-front
<h2>TL;DR</h2>
<div class="grid grid--full grid-medium--third">
<div class="grid__col">
<a class="getstarted" href="{{ site.signup.link }}">
<h2 class="getstarted__title">Create account</h2>
<p class="getstarted__text">Creating an account is free and takes just a second.</p>
</a>
</div>
<div class="grid__col">
<div class="getstarted">
<h2 class="getstarted__title">Get your API credentials</h2>
<p class="getstarted__text">After signing up, you will receive your <code>app_id</code> &amp; <code>app_key</code>.</p>
{% for step in content.getstarted.steps %}
<div class="grid__col">
{% if step.link %}
<a class="getstarted" href="{{ step.link }}">
{% else %}
<div class="getstarted">
{% endif %}
<h2 class="getstarted__title">{{ step.title }}</h2>
<p class="getstarted__text">{{ step.text | markdownify }}</p>
{% if step.link %}
</a>
{% else %}
</div>
{% endif %}
</div>
</div>
<div class="grid__col">
<a class="getstarted" href="https://www.bigchaindb.com/getstarted/#drivers">
<h2 class="getstarted__title">Get drivers &amp; tools</h2>
<p class="getstarted__text">Point your apps to <code>test.ipdb.io</code> and code along.</p>
</a>
</div>
{% endfor %}
</div>
<footer class="section__actions">