1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-21 17:26:55 +01:00

cta section for end of features page

This commit is contained in:
Matthias Kretschmann 2018-04-05 15:08:48 +02:00
parent 4171082fdb
commit deb3eab4c1
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 19 additions and 12 deletions

View File

@ -1,3 +1,10 @@
.page-features {
.section-cta {
background: url('../img/nosprite/starbase-drivers.svg') no-repeat center bottom;
background-size: contain;
}
}
.feature {
display: flex;
margin-bottom: $spacer * 2;

View File

@ -1,18 +1,12 @@
{% if layout %}
{% assign context = layout %}
{% else %}
{% assign context = page %}
{% endif %}
<section class="section section-cta section-cta--features background--photo text-center">
<section class="section section-cta background--photo text-center">
<div class="row">
<header class="section-header">
<h1 class="section-title">{{ context.cta.title }}</h1>
<p class="section-description">{{ context.cta.description }}</p>
<h1 class="section-title">{{ page.cta.title }}</h1>
<p class="section-description">{{ page.cta.description }}</p>
</header>
<a class="btn btn-primary" href="/">
{{ context.cta.button }}
<a class="btn btn-primary" href="{{ page.cta.button_link }}">
{{ page.cta.button }}
</a>
</div>
</section>

View File

@ -38,6 +38,12 @@ features:
text: "Roll out your own public or private networks for specific industry use cases."
icon: "icon-lock"
cta:
title: Get started
description: Explore drivers, tools & documentation
button: Get started
button_link: /developers/getstarted
quotes: set2
js: page-features.min.js
---
@ -182,4 +188,4 @@ js: page-features.min.js
</div>
</section>
{% include sections/section-newsletter.html %}
{% include sections/section-cta.html %}