block-hero-2.html 756 Bytes
Newer Older
DJ's avatar
DJ committed
1
2
3
4
<section class="block block-hero-2" 
{% if section.background_image %}
style="background-image: url('{{ section.background_image | relative_url }}')"
{% endif %}>
Hanna's avatar
Hanna committed
5
  <div class="headspace"></div> 
Nichlas W. Andersen's avatar
Nichlas W. Andersen committed
6
7
8
  <div class="container">
    <div class="columns">
      <div class="column text">
DJ's avatar
DJ committed
9
10
        <h1><span class="light">{{ section.headline }}</span></h1>
        <p>{{ section.content }}</p>
DJ's avatar
DJ committed
11
        {% if section.cta and section.cta.enabled == true %}
DJ's avatar
DJ committed
12
13
        <a class="button primary inverted" href="{{ section.cta.url }}">{{ section.cta.button_text }}</a>
        {% endif %}
Nichlas W. Andersen's avatar
Nichlas W. Andersen committed
14
15
      </div>
      <div class="column media">
DJ's avatar
DJ committed
16
        <img src="{{ section.image.image | relative_url }}" alt="{{ section.image.alt_text }}">
Nichlas W. Andersen's avatar
Nichlas W. Andersen committed
17
18
19
20
      </div>
    </div>
  </div>
</section>