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 {
|
||||
@media ($screen-md) {
|
||||
padding-top: $spacer * 7;
|
||||
padding-bottom: $spacer * 7;
|
||||
}
|
||||
|
||||
.logo-services {
|
||||
margin-bottom: $spacer;
|
||||
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">
|
||||
<div class="row">
|
||||
<header class="section-header">
|
||||
<h1 class="section-title">{{ page.cta.title }}</h1>
|
||||
<p class="section-description">{{ page.cta.description }}</p>
|
||||
<h1 class="section-title">{{ context.cta.title }}</h1>
|
||||
<p class="section-description">{{ context.cta.description }}</p>
|
||||
</header>
|
||||
|
||||
<a class="btn btn-primary" href="{{ page.cta.button_link }}">
|
||||
{{ page.cta.button }}
|
||||
<a class="btn btn-primary" href="{{ context.cta.button_link }}">
|
||||
{{ context.cta.button }}
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
|
@ -43,7 +43,7 @@ layout: base
|
||||
</div>
|
||||
</div>
|
||||
<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>
|
||||
</section>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user