larva modules: profile-related-stories

Available Variants

prototype
profile-related-stories README

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

profile-related-stories Twig The markup file.
<div class="profile-related-stories // {{ profile_related_stories_classes }}">
	{% if c_heading %}
		{% include "@larva/components/c-heading/c-heading.twig" with c_heading %}
	{% endif %}

	{% if o_card_list %}
		{% include "@larva/objects/o-card-list/o-card-list.twig" with o_card_list %}
	{% endif %}
</div>
profile-related-stories JSON The data object for this pattern.
{
	"profile_related_stories_classes": "",
	"c_heading": {
		"c_heading_classes": "lrv-u-font-family-secondary lrv-u-font-size-28 lrv-u-font-size-40@tablet lrv-u-font-size-46@desktop-xl lrv-u-padding-r-1",
		"c_heading_id_attr": "section-heading",
		"c_heading_text": "Related Stories",
		"c_heading_url": "",
		"c_heading_link_classes": "",
		"c_heading_outer": false,
		"c_heading_outer_classes": "",
		"c_heading_is_primary_heading": false
	},
	"o_card_list": {
		"o_card_list_classes": "lrv-a-unstyle-list lrv-a-grid a-cols3@tablet",
		"o_card_list_item_classes": "",
		"o_card_list_items": [
			{
				"o_card_classes": "lrv-u-flex lrv-u-flex-direction-column@tablet",
				"o_card_tag_text": "",
				"o_card_link_url": "",
				"o_card_link_classes": "",
				"o_card_image_wrap_classes": "",
				"o_card_content_classes": "lrv-u-align-items-start lrv-u-flex lrv-u-flex-direction-column",
				"c_lazy_image": {
					"c_lazy_image_classes": "lrv-u-flex-shrink-0 lrv-u-margin-r-1 lrv-u-margin-r-00@tablet",
					"c_lazy_image_link_url": false,
					"c_lazy_image_link_classes": "lrv-a-unstyle-link",
					"c_lazy_image_crop_class": "lrv-a-crop-3x2",
					"c_lazy_image_crop_style_attr": false,
					"c_lazy_image_link_tab_index_attr": false,
					"c_lazy_image_alt_attr": "Lazy loaded image",
					"c_lazy_image_src_url": "https://farm5.staticflickr.com/4078/5441060528_31db7838ba_z.jpg",
					"c_lazy_image_placeholder_url": "data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",
					"c_lazy_image_srcset_attr": "https://farm5.staticflickr.com/4078/5441060528_31db7838ba_m.jpg 240w,https://farm5.staticflickr.com/4078/5441060528_31db7838ba_n.jpg 320w,https://farm5.staticflickr.com/4078/5441060528_31db7838ba.jpg 500w,https://farm5.staticflickr.com/4078/5441060528_31db7838ba_z.jpg 640w,https://farm5.staticflickr.com/4078/5441060528_31db7838ba_b.jpg 1024w",
					"c_lazy_image_sizes_attr": "auto",
					"c_lazy_image_img_classes": "lrv-u-background-color-grey-lightest lrv-u-width-100p lrv-u-display-block lrv-u-height-auto",
					"c_lazy_image_height_attr": "",
					"c_lazy_image_width_attr": "",
					"c_lazy_image_in_initial_viewport": false,
					"c_lazy_image_decoding_attr": "async"
				},
				"c_svg": false,
				"c_span": false,
				"c_tagline": false,
				"c_title": {
					"c_title_classes": "lrv-u-font-family-primary lrv-u-font-size-14@mobile-max lrv-u-font-size-16 lrv-u-font-weight-normal",
					"c_title_tag_text": "",
					"c_title_id_attr": "title-of-a-story",
					"c_title_text": "Guggenheim’s Hilma af Klint Survey Is Most Popular Show in Its History",
					"c_title_markup": "",
					"c_title_link_classes": "lrv-u-color-black",
					"c_title_url": "#"
				},
				"c_timestamp": false,
				"o_author": {
					"o_author_classes": "lrv-u-text-transform-uppercase",
					"o_author_text": "By ",
					"c_span": {
						"modifier_class": "",
						"c_span_classes": "",
						"c_span_text": "Author Name",
						"c_span_url": "",
						"c_span_link_classes": "lrv-a-unstyle-link"
					},
					"c_timestamp": false,
					"c_tagline_author": false
				},
				"article_kicker": {
					"article_kicker_classes": "lrv-u-padding-b-050 lrv-u-border-b-1 lrv-u-text-transform-uppercase",
					"article_kicker_text": "Article Kicker",
					"article_kicker_url": "#",
					"article_kicker_link_classes": "lrv-a-unstyle-link"
				},
				"article_kicker_outer_classes": "lrv-u-padding-tb-1@desktop-xl",
				"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!"
				}
			},
			{
				"o_card_classes": "lrv-u-flex lrv-u-flex-direction-column@tablet",
				"o_card_tag_text": "",
				"o_card_link_url": "",
				"o_card_link_classes": "",
				"o_card_image_wrap_classes": "",
				"o_card_content_classes": "lrv-u-align-items-start lrv-u-flex lrv-u-flex-direction-column",
				"c_lazy_image": {
					"c_lazy_image_classes": "lrv-u-flex-shrink-0 lrv-u-margin-r-1 lrv-u-margin-r-00@tablet",
					"c_lazy_image_link_url": false,
					"c_lazy_image_link_classes": "lrv-a-unstyle-link",
					"c_lazy_image_crop_class": "lrv-a-crop-3x2",
					"c_lazy_image_crop_style_attr": false,
					"c_lazy_image_link_tab_index_attr": false,
					"c_lazy_image_alt_attr": "Lazy loaded image",
					"c_lazy_image_src_url": "https://farm5.staticflickr.com/4078/5441060528_31db7838ba_z.jpg",
					"c_lazy_image_placeholder_url": "data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",
					"c_lazy_image_srcset_attr": "https://farm5.staticflickr.com/4078/5441060528_31db7838ba_m.jpg 240w,https://farm5.staticflickr.com/4078/5441060528_31db7838ba_n.jpg 320w,https://farm5.staticflickr.com/4078/5441060528_31db7838ba.jpg 500w,https://farm5.staticflickr.com/4078/5441060528_31db7838ba_z.jpg 640w,https://farm5.staticflickr.com/4078/5441060528_31db7838ba_b.jpg 1024w",
					"c_lazy_image_sizes_attr": "auto",
					"c_lazy_image_img_classes": "lrv-u-background-color-grey-lightest lrv-u-width-100p lrv-u-display-block lrv-u-height-auto",
					"c_lazy_image_height_attr": "",
					"c_lazy_image_width_attr": "",
					"c_lazy_image_in_initial_viewport": false,
					"c_lazy_image_decoding_attr": "async"
				},
				"c_svg": false,
				"c_span": false,
				"c_tagline": false,
				"c_title": {
					"c_title_classes": "lrv-u-font-family-primary lrv-u-font-size-14@mobile-max lrv-u-font-size-16 lrv-u-font-weight-normal",
					"c_title_tag_text": "",
					"c_title_id_attr": "title-of-a-story",
					"c_title_text": "Guggenheim’s Hilma af Klint Survey Is Most Popular Show in Its History",
					"c_title_markup": "",
					"c_title_link_classes": "lrv-u-color-black",
					"c_title_url": "#"
				},
				"c_timestamp": false,
				"o_author": {
					"o_author_classes": "lrv-u-text-transform-uppercase",
					"o_author_text": "By ",
					"c_span": {
						"modifier_class": "",
						"c_span_classes": "",
						"c_span_text": "Author Name",
						"c_span_url": "",
						"c_span_link_classes": "lrv-a-unstyle-link"
					},
					"c_timestamp": false,
					"c_tagline_author": false
				},
				"article_kicker": {
					"article_kicker_classes": "lrv-u-padding-b-050 lrv-u-border-b-1 lrv-u-text-transform-uppercase",
					"article_kicker_text": "Article Kicker",
					"article_kicker_url": "#",
					"article_kicker_link_classes": "lrv-a-unstyle-link"
				},
				"article_kicker_outer_classes": "lrv-u-padding-tb-1@desktop-xl",
				"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!"
				}
			},
			{
				"o_card_classes": "lrv-u-flex lrv-u-flex-direction-column@tablet",
				"o_card_tag_text": "",
				"o_card_link_url": "",
				"o_card_link_classes": "",
				"o_card_image_wrap_classes": "",
				"o_card_content_classes": "lrv-u-align-items-start lrv-u-flex lrv-u-flex-direction-column",
				"c_lazy_image": {
					"c_lazy_image_classes": "lrv-u-flex-shrink-0 lrv-u-margin-r-1 lrv-u-margin-r-00@tablet",
					"c_lazy_image_link_url": false,
					"c_lazy_image_link_classes": "lrv-a-unstyle-link",
					"c_lazy_image_crop_class": "lrv-a-crop-3x2",
					"c_lazy_image_crop_style_attr": false,
					"c_lazy_image_link_tab_index_attr": false,
					"c_lazy_image_alt_attr": "Lazy loaded image",
					"c_lazy_image_src_url": "https://farm5.staticflickr.com/4078/5441060528_31db7838ba_z.jpg",
					"c_lazy_image_placeholder_url": "data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",
					"c_lazy_image_srcset_attr": "https://farm5.staticflickr.com/4078/5441060528_31db7838ba_m.jpg 240w,https://farm5.staticflickr.com/4078/5441060528_31db7838ba_n.jpg 320w,https://farm5.staticflickr.com/4078/5441060528_31db7838ba.jpg 500w,https://farm5.staticflickr.com/4078/5441060528_31db7838ba_z.jpg 640w,https://farm5.staticflickr.com/4078/5441060528_31db7838ba_b.jpg 1024w",
					"c_lazy_image_sizes_attr": "auto",
					"c_lazy_image_img_classes": "lrv-u-background-color-grey-lightest lrv-u-width-100p lrv-u-display-block lrv-u-height-auto",
					"c_lazy_image_height_attr": "",
					"c_lazy_image_width_attr": "",
					"c_lazy_image_in_initial_viewport": false,
					"c_lazy_image_decoding_attr": "async"
				},
				"c_svg": false,
				"c_span": false,
				"c_tagline": false,
				"c_title": {
					"c_title_classes": "lrv-u-font-family-primary lrv-u-font-size-14@mobile-max lrv-u-font-size-16 lrv-u-font-weight-normal",
					"c_title_tag_text": "",
					"c_title_id_attr": "title-of-a-story",
					"c_title_text": "Guggenheim’s Hilma af Klint Survey Is Most Popular Show in Its History",
					"c_title_markup": "",
					"c_title_link_classes": "lrv-u-color-black",
					"c_title_url": "#"
				},
				"c_timestamp": false,
				"o_author": {
					"o_author_classes": "lrv-u-text-transform-uppercase",
					"o_author_text": "By ",
					"c_span": {
						"modifier_class": "",
						"c_span_classes": "",
						"c_span_text": "Author Name",
						"c_span_url": "",
						"c_span_link_classes": "lrv-a-unstyle-link"
					},
					"c_timestamp": false,
					"c_tagline_author": false
				},
				"article_kicker": {
					"article_kicker_classes": "lrv-u-padding-b-050 lrv-u-border-b-1 lrv-u-text-transform-uppercase",
					"article_kicker_text": "Article Kicker",
					"article_kicker_url": "#",
					"article_kicker_link_classes": "lrv-a-unstyle-link"
				},
				"article_kicker_outer_classes": "lrv-u-padding-tb-1@desktop-xl",
				"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!"
				}
			}
		]
	}
}