mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-22 01:36:55 +01:00
CTA section fixes
This commit is contained in:
parent
d53217c14e
commit
61d58abd54
@ -1,5 +1,10 @@
|
|||||||
|
|
||||||
.section-cta--services {
|
.section-cta--services {
|
||||||
|
@media ($screen-md) {
|
||||||
|
padding-top: $spacer * 7;
|
||||||
|
padding-bottom: $spacer * 7;
|
||||||
|
}
|
||||||
|
|
||||||
.logo-services {
|
.logo-services {
|
||||||
margin-bottom: $spacer;
|
margin-bottom: $spacer;
|
||||||
transform: scale(.8);
|
transform: scale(.8);
|
||||||
|
@ -1,12 +1,18 @@
|
|||||||
|
{% if layout %}
|
||||||
|
{% assign context = layout %}
|
||||||
|
{% else %}
|
||||||
|
{% assign context = page %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<section class="section section-cta background--photo text-center">
|
<section class="section section-cta background--photo text-center">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<header class="section-header">
|
<header class="section-header">
|
||||||
<h1 class="section-title">{{ page.cta.title }}</h1>
|
<h1 class="section-title">{{ context.cta.title }}</h1>
|
||||||
<p class="section-description">{{ page.cta.description }}</p>
|
<p class="section-description">{{ context.cta.description }}</p>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<a class="btn btn-primary" href="{{ page.cta.button_link }}">
|
<a class="btn btn-primary" href="{{ context.cta.button_link }}">
|
||||||
{{ page.cta.button }}
|
{{ context.cta.button }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
@ -43,7 +43,7 @@ layout: base
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row text-center">
|
<div class="row text-center">
|
||||||
<a class="btn btn-primary" href="{% link developers/guide.html %}">All guides</a>
|
<a class="btn btn-primary" href="{% link developers/guide.html %}">All chapters</a>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user