larva modules: newsletter-cta

Available Variants

prototype
newsletter-cta README

This needs docs!
Create a README.md in the pattern's directory and add details about using this pattern in markdown.

newsletter-cta Twig The markup file.
<div class="newsletter-cta">
	<div class="{{ newsletter_cta_classes }}">
		<div class="{{newsletter_cta_inner_classes}}">
			{% if c_logo %}
				{% include "@larva/components/c-logo/c-logo.twig" with c_logo %}
			{% endif %}

			{% if c_heading %}
				{% include "@larva/components/c-heading/c-heading.twig" with c_heading %}
			{% endif %}

			{% if c_tagline %}
				{% include "@larva/components/c-tagline/c-tagline.twig" with c_tagline %}
			{% endif %}

		</div>

		{% if c_button %}
			{% include "@larva/components/c-button/c-button.twig" with c_button %}
		{% endif %}
	</div>
</div>
newsletter-cta JSON The data object for this pattern.
{
	"newsletter_cta_classes": "lrv-u-margin-tb-125 lrv-u-margin-tb-150@desktop-xl lrv-u-padding-tb-2 lrv-u-flex lrv-u-justify-content-space-between lrv-u-border-t-1 lrv-u-border-b-1 lrv-u-align-items-center lrv-u-flex-direction-column@mobile-max lrv-u-padding-a-2@mobile-max",
	"newsletter_cta_inner_classes": "lrv-u-text-align-center@mobile-max",
	"c_heading": {
		"c_heading_classes": "lrv-u-text-transform-uppercase",
		"c_heading_id_attr": "section-heading",
		"c_heading_text": "Newsletters",
		"c_heading_url": "",
		"c_heading_link_classes": "",
		"c_heading_outer": false,
		"c_heading_outer_classes": "",
		"c_heading_is_primary_heading": false
	},
	"c_tagline": {
		"c_tagline_classes": "lrv-u-margin-a-00 lrv-u-margin-b-150@mobile-max",
		"c_tagline_text": "Sign up for news straight to your inbox every day"
	},
	"c_button": {
		"c_button_classes": "lrv-a-unstyle-button lrv-u-cursor-pointer lrv-u-padding-tb-050 lrv-u-padding-lr-1 lrv-u-background-color-brand-primary lrv-u-color-white lrv-a-unstyle-link lrv-u-color-white:hover lrv-u-background-color-black:hover lrv-a-hover-effect",
		"c_button_ga_tracking": {},
		"c_button_inner_classes": "",
		"c_button_rel_attr": "",
		"c_button_screen_reader_text": "Sign Up",
		"c_button_target_attr": "_blank",
		"c_button_text": "Subscribe",
		"c_button_type_attr": "submit",
		"c_button_url": "#"
	}
}