Form CTA Full
There are two alternate Form CTAs: one for newsleter signup, the other for donations.
Donate
Habitat Extra E-Newsletter
Get the latest news on Habitat projects, volunteer opportunities, advocacy and other ways to get involved.
{{ attach_library('h4h_theme/form-cta-full') }}
{% import '@h4h_theme/icons/icons.twig' as icons %}
{% for item in items %}
<div id="{{ item.id }}" class="form-cta-full {{ item.class }}">
<h2 class="form-cta-full__heading">
{{ item.icon ? icons.get(item.icon, 'form-cta-full__icon') }}
<span class="form-cta-full__title">{{ item.title }}</span>
</h2>
<div class="form-cta-full__bottom">
<div class="form-cta-full__text">{{ item.desc|raw }}</div>
{% if item.form %}
<div class="form-cta-full__form">
{{ item.form }}
</div>
{% endif %}
{% if item.link %}
<div class="form-cta-full__link">
<a href="{{ item.url }}">{{ item.link }}{{ icons.get('arrowright', 'form-cta-full__icon--arrowright') }}</a>
</div>
{% endif %}
</div>
</div>
{% endfor %}