{%- assign landing = site.data.landing -%}
{% if hero.eyebrow %}
{% endif %}
{{ hero.eyebrow }}
{% endif %}{{ hero.headline | default: site.title }}
{% if hero.subheadline %}{{ hero.subheadline }}
{% endif %} {% if hero.ctas and hero.ctas.size > 0 %}
{%- for cta in hero.ctas -%}
{%- assign cta_variant = cta.variant | default: "primary" -%}
{%- comment -%} An outlined button is white on an inverse hero and primary-coloured everywhere else. {%- endcomment -%}
{%- if cta_variant == "outline" and hero.variant == "inverse" %}{% assign cta_variant = "outline-light" %}{% endif -%}
{% include components/cta-button.html label=cta.label url=cta.url variant=cta_variant icon=cta.icon size="lg" %}
{%- endfor -%}
{% endif %}
{% if hero.image %}{% for s in landing.sections %} {%- capture body -%} {%- case s.type -%} {%- when "features" -%}
{% for it in s.items %}{% endfor %}
{%- when "cards" -%}
<i class="bi {{ it.icon | default: "bi-check-circle" }} fs-2 text-primary" aria-hidden="true">
{{ it.title }}
{{ it.text }}
{% for it in s.items %}
{%- when "steps" -%}
<a class="card h-100 text-decoration-none" href="{{ it.url | default: "#" | relative_url }}">
{% endfor %}<i class="bi {{ it.icon | default: "bi-arrow-right-circle" }} fs-3 text-primary" aria-hidden="true">
{{ it.title }}
{{ it.text }}
- {% for it in s.items %}
- {{ forloop.index }}
{{ it.title }}
{{ it.text }}
{% endfor %}
{% for it in s.items %}{% endfor %}
{%- when "faq" -%}
{{ it.value }}
{{ it.label }}
{% for it in s.items %}{% endfor %}
{%- when "cta" -%}
{{ it.text }}
{% if s.cta %}{% include components/cta-button.html label=s.cta.label url=s.cta.url variant="light" size="lg" %}{% endif %}
{%- when "latest_posts" -%}
{% assign post_limit = s.limit | default: 3 %}{% for post in site.posts limit: post_limit %}{% endfor %}
{%- when "quote" -%}
{% assign q = s.items | first %}{% if q.author %}“{{ q.quote }}”
{{ s.body | markdownify }}
{%- endcase -%}
{%- endcapture -%}
{% include components/section.html id=s.id variant=s.variant heading=s.heading lead=s.lead content=body %}