larva modules: section-heading

Available Variants

h2 h3 prototype

Section Heading

Perfection is rarely achieved in movies, but this heaven-sent concert doc hits the sweet spot. Over two days in January 1972, the Queen of Soul, Aretha Franklin — she was 29 at the time — sweeps into the New Temple Missionary Baptist Church in Watts in front of a congregation and testifies to God in song. The blessed thing took nearly half a century to come out because director Sydney Pollack failed to sync the image with the sound. Then digital angels stepped in, and glory, glory, hallelujah!

section-heading README

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

section-heading Twig The markup file.
<div class="section-heading // {{ section_heading_class }}">
	{% if section_heading_markup %}
		<h{{ section_heading_level_text }} class="{{ section_heading_classes }} {{ section_heading_typography_class }} {{ section_heading_color_class }} {{ section_heading_background_color_class }} {{ section_heading_text_align_class }}">{{ section_heading_markup }}</h{{ section_heading_level_text }}>
	{% endif %}
	{% if c_dek %}
		{% include "@larva/components/c-dek/c-dek.twig" with c_dek %}
	{% endif %}	
</div>
section-heading JSON The data object for this pattern.
{
	"section_heading_class": "lrv-u-width-50p@desktop lrv-u-text-align-center lrv-u-margin-lr-auto",
	"section_heading_level_text": "2",
	"section_heading_classes": "",
	"section_heading_color_class": "",
	"section_heading_text_align_class": "",
	"section_heading_typography_class": "lrv-a-font-accent-m",
	"section_heading_background_color_class": "",
	"section_heading_markup": "Section Heading",
	"c_dek": {
		"c_dek_classes": "",
		"c_dek_markup": "",
		"c_dek_text": "Perfection is rarely achieved in movies, but this heaven-sent concert doc hits the sweet spot. Over two days in January 1972, the Queen of Soul, Aretha Franklin — she was 29 at the time — sweeps into the New Temple Missionary Baptist Church in Watts in front of a congregation and testifies to God in song. The blessed thing took nearly half a century to come out because director Sydney Pollack failed to sync the image with the sound. Then digital angels stepped in, and glory, glory, hallelujah!"
	}
}