larva modules: mega-menu-footer-subscribe
Available Variants
prototypemega-menu-footer-subscribe
README
This needs docs!
Create a README.md in the pattern's directory and add details about using this pattern in markdown.
mega-menu-footer-subscribe
Twig The markup file.
<div class="mega-menu-footer-subscribe // {{ footer_subscribe_classes }}">
{% include "@larva/components/c-icon/c-icon.twig" with c_icon %}
{% include "@larva/components/c-lazy-image/c-lazy-image.twig" with c_lazy_image %}
</div>
mega-menu-footer-subscribe
JSON The data object for this pattern.
{
"footer_subscribe_classes": "lrv-a-glue-parent lrv-u-width-100p",
"c_lazy_image": {
"c_lazy_image_classes": "lrv-u-padding-l-3",
"c_lazy_image_link_url": false,
"c_lazy_image_link_classes": "lrv-a-unstyle-link",
"c_lazy_image_crop_class": "lrv-a-crop-2x3",
"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://cdn.shopify.com/s/files/1/0238/6647/products/2019_37_540x.jpg",
"c_lazy_image_placeholder_url": "https://cdn.shopify.com/s/files/1/0238/6647/products/2019_37_540x.jpg",
"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_icon": {
"c_icon_link_classes": "",
"c_icon_name": "byline-plus",
"c_icon_target_attr": "_blank",
"c_icon_link_screen_reader_text": "Icon Link",
"c_icon_url": false,
"c_icon_classes": "lrv-a-glue lrv-a-glue--l-0 lrv-a-glue--t-50p lrv-u-transform-translateY-n50p lrv-u-width-50",
"c_icon_rel_name": "noopener noreferrer",
"c_icon_screen_reader_tag_text": "",
"c_icon_screen_reader_text": "Plus Icon",
"c_icon_screen_reader_title_attr": "Plus Icon"
}
}