@penskemediacorp/larva-patterns 0.6.0 → 0.6.4-develop.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__tests__/vlanding/vlanding.html +1 -0
- package/__tests__/vlanding/vlanding.prototype.js +3 -1
- package/components/c-input/c-input.prototype.js +8 -0
- package/components/c-input/c-input.twig +14 -0
- package/components/c-lazy-image/c-lazy-image.prototype.js +4 -2
- package/components/c-lazy-image/c-lazy-image.twig +10 -2
- package/components/c-svg/c-svg.prototype.js +4 -0
- package/components/c-svg/c-svg.twig +3 -0
- package/modules/age-gate/README.md +3 -0
- package/modules/age-gate/age-gate.prototype.js +68 -0
- package/modules/age-gate/age-gate.twig +37 -0
- package/modules/banner/banner.prototype.js +10 -0
- package/modules/banner/banner.twig +10 -0
- package/modules/brands-most-popular/brands-most-popular.prototype.js +40 -0
- package/modules/brands-most-popular/brands-most-popular.twig +11 -0
- package/modules/expandable-search/expandable-search.prototype.js +19 -0
- package/modules/expandable-search/expandable-search.twig +9 -0
- package/modules/featured-stories/featured-stories.prototype.js +23 -0
- package/modules/featured-stories/featured-stories.twig +18 -0
- package/modules/footer-button-list/footer-button-list.prototype.js +43 -0
- package/modules/footer-button-list/footer-button-list.twig +13 -0
- package/modules/footer-magazine-image/footer-magazine-image.prototype.js +15 -0
- package/modules/footer-magazine-image/footer-magazine-image.twig +3 -0
- package/modules/header/header.article.js +39 -0
- package/modules/header/header.prototype.js +90 -0
- package/modules/header/header.twig +74 -0
- package/modules/header-menu/header-menu.prototype.js +26 -0
- package/modules/header-menu/header-menu.twig +3 -0
- package/modules/header-sticky/header-sticky.article.js +43 -0
- package/modules/header-sticky/header-sticky.prototype.js +39 -0
- package/modules/header-sticky/header-sticky.twig +30 -0
- package/modules/heading/heading.twig +3 -1
- package/modules/injected-related-content/injected-related-content.prototype.js +3 -1
- package/modules/mega-menu/mega-menu.prototype.js +16 -0
- package/modules/mega-menu/mega-menu.twig +10 -0
- package/modules/mega-menu-content/mega-menu-content.prototype.js +10 -0
- package/modules/mega-menu-content/mega-menu-content.twig +5 -0
- package/modules/mega-menu-footer/mega-menu-footer.prototype.js +41 -0
- package/modules/mega-menu-footer/mega-menu-footer.twig +19 -0
- package/modules/mega-menu-footer-subscribe/mega-menu-footer-subscribe.prototype.js +20 -0
- package/modules/mega-menu-footer-subscribe/mega-menu-footer-subscribe.twig +4 -0
- package/modules/mega-menu-item/mega-menu-item.prototype.js +23 -0
- package/modules/mega-menu-item/mega-menu-item.twig +13 -0
- package/modules/newswire/newswire.prototype.js +7 -1
- package/modules/newswire/newswire.twig +3 -3
- package/modules/read-next/read-next.prototype.js +20 -0
- package/modules/read-next/read-next.twig +4 -0
- package/modules/search-form/search-form.prototype.js +8 -0
- package/modules/search-form/search-form.twig +11 -0
- package/modules/story/story.twig +11 -0
- package/modules/story-featured-quote/story-featured-quote.prototype.js +32 -0
- package/modules/story-featured-quote/story-featured-quote.twig +25 -0
- package/modules/story-grid/story-grid.river.js +4 -0
- package/modules/story-grid/story-grid.twig +10 -2
- package/modules/sub-header/sub-header.prototype.js +8 -0
- package/modules/sub-header/sub-header.twig +7 -0
- package/objects/o-account-menu/o-account-menu.prototype.js +35 -0
- package/objects/o-account-menu/o-account-menu.twig +25 -0
- package/objects/o-card/o-card.prototype.js +1 -0
- package/objects/o-card/o-card.twig +4 -0
- package/objects/o-header/o-header.twig +4 -0
- package/objects/o-header-buttons/o-header-buttons.column.js +10 -0
- package/objects/o-header-buttons/o-header-buttons.prototype.js +41 -0
- package/objects/o-header-buttons/o-header-buttons.twig +42 -0
- package/objects/o-input-group/o-input-group.prototype.js +11 -0
- package/objects/o-input-group/o-input-group.twig +5 -0
- package/objects/o-nav/o-nav.twig +10 -4
- package/objects/o-sub-header/o-sub-header.prototype.js +39 -0
- package/objects/o-sub-header/o-sub-header.twig +9 -0
- package/package.json +5 -5
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<div>
|
|
2
|
+
{% include "@larva/modules/header/header.twig" with header %}
|
|
2
3
|
{% include "@larva/modules/vlanding-video-showcase/vlanding-video-showcase.twig" with vlanding_video_showcase %}
|
|
3
4
|
{% include "@larva/modules/vlanding-playlist/vlanding-playlist.twig" with vlanding_playlist %}
|
|
4
5
|
{% include "@larva/modules/vlanding-playlist/vlanding-playlist.twig" with vlanding_playlist %}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
2
|
|
|
3
|
+
const header = clonedeep( require( '../../modules/header/header.prototype' ) );
|
|
3
4
|
const vlanding_video_showcase = clonedeep( require( '../../modules/vlanding-video-showcase/vlanding-video-showcase.prototype' ) );
|
|
4
5
|
const vlanding_playlist = clonedeep( require( '../../modules/vlanding-playlist/vlanding-playlist.prototype' ) );
|
|
5
6
|
|
|
6
7
|
module.exports = {
|
|
7
8
|
vlanding_video_showcase: vlanding_video_showcase,
|
|
8
|
-
vlanding_playlist: vlanding_playlist
|
|
9
|
+
vlanding_playlist: vlanding_playlist,
|
|
10
|
+
header: header
|
|
9
11
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<label class="c-input" for="{{ c_input_id_attr }}">
|
|
2
|
+
<span class="{{ c_input_label_class }}">{{ c_input_label_text }}</span>
|
|
3
|
+
<input
|
|
4
|
+
id="{{ c_input_id_attr }}"
|
|
5
|
+
type="{{ c_input_type_attr }}"
|
|
6
|
+
class="{{ c_input_class }}"
|
|
7
|
+
name="{{ c_input_id_attr }}"
|
|
8
|
+
placeholder="{{ c_input_placeholder_attr }}"
|
|
9
|
+
aria-invalid="{{ c_input_aria_invalid_attr }}"
|
|
10
|
+
data-error="{{ c_input_error_attr }}"
|
|
11
|
+
size="{{ c_input_size_attr }}"
|
|
12
|
+
maxlength="{{ c_input_maxlength_attr }}"
|
|
13
|
+
/>
|
|
14
|
+
</label>
|
|
@@ -4,6 +4,7 @@ module.exports = {
|
|
|
4
4
|
c_lazy_image_link_classes: 'lrv-a-unstyle-link',
|
|
5
5
|
c_lazy_image_crop_class: 'lrv-a-crop-16x9',
|
|
6
6
|
c_lazy_image_crop_style_attr: false,
|
|
7
|
+
c_lazy_image_link_tab_index_attr: false,
|
|
7
8
|
c_lazy_image_alt_attr: 'Lazy loaded image',
|
|
8
9
|
c_lazy_image_src_url: 'https://farm5.staticflickr.com/4078/5441060528_31db7838ba_z.jpg',
|
|
9
10
|
c_lazy_image_placeholder_url: 'data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==',
|
|
@@ -11,5 +12,6 @@ module.exports = {
|
|
|
11
12
|
c_lazy_image_sizes_attr: 'auto',
|
|
12
13
|
c_lazy_image_img_classes: 'lrv-u-background-color-grey-lightest lrv-u-width-100p lrv-u-display-block lrv-u-height-auto',
|
|
13
14
|
c_lazy_image_height_attr: '',
|
|
14
|
-
c_lazy_image_width_attr: ''
|
|
15
|
-
|
|
15
|
+
c_lazy_image_width_attr: '',
|
|
16
|
+
c_lazy_image_in_initial_viewport: false
|
|
17
|
+
}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
<div class="c-lazy-image {{ modifier_class }} {{ c_lazy_image_classes }}">
|
|
2
2
|
{% if c_lazy_image_link_url %}
|
|
3
|
-
<a href="{{ c_lazy_image_link_url }}" class="c-lazy-image__link {{ c_lazy_image_link_classes }}"
|
|
3
|
+
<a href="{{ c_lazy_image_link_url }}" class="c-lazy-image__link {{ c_lazy_image_link_classes }}"
|
|
4
|
+
{% if c_lazy_image_link_tab_index_attr %}
|
|
5
|
+
tabindex="{{ c_lazy_image_link_tab_index_attr }}"
|
|
6
|
+
{% endif %}
|
|
7
|
+
>
|
|
4
8
|
{% endif %}
|
|
5
9
|
|
|
6
10
|
{% if c_lazy_image_crop_class %}
|
|
@@ -10,7 +14,11 @@
|
|
|
10
14
|
{% if c_lazy_image_markup %}
|
|
11
15
|
{{ c_lazy_image_markup }}
|
|
12
16
|
{% else %}
|
|
13
|
-
|
|
17
|
+
{% if c_lazy_image_in_initial_viewport %}
|
|
18
|
+
<img class="c-lazy-image__img {{ c_lazy_image_img_classes }}" src="{{ c_lazy_image_src_url }}" alt="{{ c_lazy_image_alt_attr }}" srcset="{{ c_lazy_image_srcset_attr }}" sizes="{{ c_lazy_image_sizes_attr }}" height="{{ c_lazy_image_height_attr }}" width="{{ c_lazy_image_width_attr }}">
|
|
19
|
+
{% else %}
|
|
20
|
+
<img class="c-lazy-image__img {{ c_lazy_image_img_classes }}" src="{{ c_lazy_image_placeholder_url }}" data-lazy-src="{{ c_lazy_image_src_url }}" alt="{{ c_lazy_image_alt_attr }}" data-lazy-srcset="{{ c_lazy_image_srcset_attr }}" data-lazy-sizes="{{ c_lazy_image_sizes_attr }}" height="{{ c_lazy_image_height_attr }}" width="{{ c_lazy_image_width_attr }}">
|
|
21
|
+
{% endif %}
|
|
14
22
|
{% endif %}
|
|
15
23
|
|
|
16
24
|
{% if c_lazy_image_crop_class %}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
const clonedeep = require('lodash.clonedeep');
|
|
2
|
+
|
|
3
|
+
const c_svg_prototype = require('@penskemediacorp/larva-patterns/components/c-svg/c-svg.prototype');
|
|
4
|
+
const c_heading = clonedeep(require('@penskemediacorp/larva-patterns/components/c-heading/c-heading.prototype'));
|
|
5
|
+
const o_input_group = clonedeep(require('@penskemediacorp/larva-patterns/objects/o-input-group/o-input-group.prototype'));
|
|
6
|
+
const c_button = clonedeep(require('@penskemediacorp/larva-patterns/components/c-button/c-button.prototype'));
|
|
7
|
+
const c_dek = clonedeep(require('@penskemediacorp/larva-patterns/components/c-dek/c-dek.prototype'));
|
|
8
|
+
|
|
9
|
+
const c_svg_header = clonedeep(c_svg_prototype);
|
|
10
|
+
c_svg_header.c_svg_name = 'brand-logo-white';
|
|
11
|
+
c_svg_header.c_svg_classes = 'lrv-u-width-150 lrv-u-margin-lr-auto lrv-u-margin-b-2';
|
|
12
|
+
|
|
13
|
+
c_heading.c_heading_classes += ' lrv-a-font-primary-l lrv-u-margin-b-2';
|
|
14
|
+
c_heading.c_heading_text = 'You must be 21 to enter.';
|
|
15
|
+
|
|
16
|
+
o_input_group.o_input_group_class = 'lrv-u-margin-b-2';
|
|
17
|
+
o_input_group_item = clonedeep( o_input_group.o_input_group_items[0] );
|
|
18
|
+
o_input_group_item.c_input_class = 'lrv-a-font-primary-m lrv-u-color-white lrv-u-background-color-grey-darkest lrv-u-padding-lr-050 lrv-u-padding-tb-150 lrv-u-width-100 lrv-u-text-align-center';
|
|
19
|
+
o_input_group_item.c_input_size_attr = 2;
|
|
20
|
+
o_input_group_item.c_input_maxlength_attr = 4;
|
|
21
|
+
|
|
22
|
+
o_input_day_item = clonedeep( o_input_group_item );
|
|
23
|
+
o_input_month_item = clonedeep( o_input_group_item );
|
|
24
|
+
o_input_year_item = clonedeep( o_input_group_item );
|
|
25
|
+
|
|
26
|
+
o_input_month_item.c_input_placeholder_attr = 'MM';
|
|
27
|
+
o_input_month_item.c_input_id_attr = 'pmc-age-gate-month';
|
|
28
|
+
o_input_month_item.c_input_error_attr = 'Please enter a valid month';
|
|
29
|
+
o_input_month_item.c_input_size_attr = 4;
|
|
30
|
+
o_input_month_item.c_input_maxlength_attr = 2;
|
|
31
|
+
|
|
32
|
+
o_input_day_item.c_input_placeholder_attr = 'DD';
|
|
33
|
+
o_input_day_item.c_input_id_attr = 'pmc-age-gate-day';
|
|
34
|
+
o_input_day_item.c_input_error_attr = 'Please enter a valid day';
|
|
35
|
+
o_input_day_item.c_input_size_attr = 4;
|
|
36
|
+
o_input_day_item.c_input_maxlength_attr = 2;
|
|
37
|
+
|
|
38
|
+
o_input_year_item.c_input_placeholder_attr = 'YYYY';
|
|
39
|
+
o_input_year_item.c_input_id_attr = 'pmc-age-gate-year';
|
|
40
|
+
o_input_year_item.c_input_error_attr = 'Please enter a valid year';
|
|
41
|
+
o_input_year_item.c_input_size_attr = 4;
|
|
42
|
+
o_input_year_item.c_input_maxlength_attr = 4;
|
|
43
|
+
|
|
44
|
+
o_input_group.o_input_group_items = [
|
|
45
|
+
o_input_month_item,
|
|
46
|
+
o_input_day_item,
|
|
47
|
+
o_input_year_item
|
|
48
|
+
];
|
|
49
|
+
|
|
50
|
+
c_button.c_button_text = 'View';
|
|
51
|
+
c_button.c_button_classes = ' lrv-u-color-white lrv-u-background-color-brand-primary lrv-u-padding-lr-2 lrv-u-padding-tb-075 lrv-u-margin-b-2 lrv-u-text-align-center lrv-u-text-transform-uppercase lrv-a-font-primary-m';
|
|
52
|
+
|
|
53
|
+
c_dek.c_dek_classes = 'lrv-a-font-primary-xs';
|
|
54
|
+
c_dek.c_dek_text = 'Legal text.'
|
|
55
|
+
|
|
56
|
+
module.exports = {
|
|
57
|
+
age_gate_class: 'lrv-u-height-100p lrv-u-padding-t-2 lrv-u-background-color-black lrv-u-text-align-center lrv-u-color-white',
|
|
58
|
+
age_gate_inner_class: 'lrv-u-max-width-1000 lrv-u-margin-lr-auto',
|
|
59
|
+
age_gate_form_class: 'lrv-u-border-b-1',
|
|
60
|
+
age_gate_error_class: '',
|
|
61
|
+
form_wrapper_class: '',
|
|
62
|
+
age_gate_footer_class: 'lrv-u-border-t-1 lrv-u-margin-t-025',
|
|
63
|
+
c_heading,
|
|
64
|
+
c_svg_header,
|
|
65
|
+
o_input_group,
|
|
66
|
+
c_button,
|
|
67
|
+
c_dek
|
|
68
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<div class="age-gate // js-AgeGate {{ age_gate_class }}">
|
|
2
|
+
<div class="age-gate-inner // {{ age_gate_inner_class }}">
|
|
3
|
+
<div class="age-gate-header // {{ age_gate_header_class }}">
|
|
4
|
+
{% if c_svg_header %}
|
|
5
|
+
{% include "@larva/components/c-svg/c-svg.twig" with c_svg_header %}
|
|
6
|
+
{% endif %}
|
|
7
|
+
{% if c_lazy_image_header %}
|
|
8
|
+
{% include "@larva/components/c-lazy-image/c-lazy-image.twig" with c_lazy_image_header %}
|
|
9
|
+
{% endif %}
|
|
10
|
+
{% if c_heading %}
|
|
11
|
+
{% include "@larva/components/c-heading/c-heading.twig" with c_heading %}
|
|
12
|
+
{% endif %}
|
|
13
|
+
</div>
|
|
14
|
+
<div class="age-gate-form // {{ age_gate_form_class }}">
|
|
15
|
+
<form class="js-AgeGateForm">
|
|
16
|
+
{% if o_input_group %}
|
|
17
|
+
{% include "@larva/objects/o-input-group/o-input-group.twig" with o_input_group %}
|
|
18
|
+
{% endif %}
|
|
19
|
+
<div class="age-gate-error // {{ age_gate_error_class }}"></div>
|
|
20
|
+
<div class="age-gate-button-wrapper">
|
|
21
|
+
{% include "@larva/components/c-button/c-button.twig" with c_button %}
|
|
22
|
+
</div>
|
|
23
|
+
</form>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="age-gate-footer // {{ age_gate_footer_class }}">
|
|
26
|
+
{% if c_dek %}
|
|
27
|
+
{% include "@larva/components/c-dek/c-dek.twig" with c_dek %}
|
|
28
|
+
{% endif %}
|
|
29
|
+
{% if c_svg_footer %}
|
|
30
|
+
{% include "@larva/components/c-svg/c-svg.twig" with c_svg_footer %}
|
|
31
|
+
{% endif %}
|
|
32
|
+
{% if c_lazy_image_footer %}
|
|
33
|
+
{% include "@larva/components/c-lazy-image/c-lazy-image.twig" with c_lazy_image_footer %}
|
|
34
|
+
{% endif %}
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
const clonedeep = require('lodash.clonedeep');
|
|
2
|
+
|
|
3
|
+
const c_lazy_image_prototype = require('../../components/c-lazy-image/c-lazy-image.prototype');
|
|
4
|
+
const c_lazy_image = clonedeep(c_lazy_image_prototype);
|
|
5
|
+
|
|
6
|
+
module.exports = {
|
|
7
|
+
banner_classes: '',
|
|
8
|
+
c_lazy_image,
|
|
9
|
+
screen_reader_text: 'Page Banner',
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<div class="banner // {{ banner_classes }}">
|
|
2
|
+
<div class="banner__img">
|
|
3
|
+
{% if c_lazy_image %}
|
|
4
|
+
{% include "@larva/components/c-lazy-image/c-lazy-image.twig" with c_lazy_image %}
|
|
5
|
+
{% endif %}
|
|
6
|
+
</div>
|
|
7
|
+
{% if screen_reader_text %}
|
|
8
|
+
<h1 class="lrv-a-screen-reader-only">{{ screen_reader_text }}</h1>
|
|
9
|
+
{% endif %}
|
|
10
|
+
</div>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
|
|
3
|
+
const c_heading_prototype = require( '../../components/c-heading/c-heading.prototype' );
|
|
4
|
+
const o_card_prototype = require( '../../objects/o-card/o-card.prototype' );
|
|
5
|
+
const c_title_prototype = require( '../../components/c-title/c-title.prototype' );
|
|
6
|
+
const c_svg_prototype = require( '../../components/c-svg/c-svg.prototype' );
|
|
7
|
+
const c_span_prototype = require( '../../components/c-span/c-span.prototype' );
|
|
8
|
+
|
|
9
|
+
const c_heading = clonedeep( c_heading_prototype );
|
|
10
|
+
const o_card = clonedeep( o_card_prototype );
|
|
11
|
+
const c_title = clonedeep( c_title_prototype );
|
|
12
|
+
const c_svg = clonedeep( c_svg_prototype );
|
|
13
|
+
const c_span = clonedeep( c_span_prototype );
|
|
14
|
+
|
|
15
|
+
c_heading.c_heading_text = 'Most Popular';
|
|
16
|
+
|
|
17
|
+
c_svg.c_svg_classes = 'lrv-u-height-16 lrv-u-color-black';
|
|
18
|
+
c_svg.c_svg_name = 'brand-logo';
|
|
19
|
+
|
|
20
|
+
c_title.c_title_text = 'Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi expedita pariatur.';
|
|
21
|
+
c_title.c_title_classes += ' lrv-u-margin-b-075';
|
|
22
|
+
c_title.c_title_url = false;
|
|
23
|
+
|
|
24
|
+
o_card.o_card_classes = 'lrv-u-flex lrv-u-height-100p lrv-u-color-brand-primary:hover';
|
|
25
|
+
o_card.o_card_link_url = '#';
|
|
26
|
+
o_card.o_card_link_classes = 'lrv-a-unstyle-link';
|
|
27
|
+
o_card.o_card_content_classes = 'lrv-u-flex lrv-u-flex-direction-column';
|
|
28
|
+
o_card.o_card_image_wrap_classes = '';
|
|
29
|
+
o_card.c_lazy_image = false;
|
|
30
|
+
o_card.c_span = false;
|
|
31
|
+
o_card.c_svg = c_svg;
|
|
32
|
+
o_card.c_title = c_title;
|
|
33
|
+
o_card.c_timestamp = false;
|
|
34
|
+
|
|
35
|
+
module.exports = {
|
|
36
|
+
brands_most_popular_classes: 'lrv-a-wrapper lrv-u-margin-b-150',
|
|
37
|
+
brands_most_popular_items_wrapper_classes: '',
|
|
38
|
+
c_heading: c_heading,
|
|
39
|
+
popular_items: [ o_card, o_card, o_card, o_card ],
|
|
40
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<section class="brands-most-popular // {{brands_most_popular_classes}}">
|
|
2
|
+
{% if c_heading %}
|
|
3
|
+
{% include "@larva/components/c-heading/c-heading.twig" with c_heading %}
|
|
4
|
+
{% endif %}
|
|
5
|
+
|
|
6
|
+
<div class="{{ brands_most_popular_items_wrapper_classes }}">
|
|
7
|
+
{% for item in popular_items %}
|
|
8
|
+
{% include "@larva/objects/o-card/o-card.twig" with item %}
|
|
9
|
+
{% endfor %}
|
|
10
|
+
</div>
|
|
11
|
+
</section>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
|
|
3
|
+
const o_icon_button_search_prototype = require( '../../objects/o-icon-button/o-icon-button.search' );
|
|
4
|
+
const search_form_prototype = require( '../search-form/search-form.prototype' );
|
|
5
|
+
|
|
6
|
+
const search_form = clonedeep( search_form_prototype );
|
|
7
|
+
search_form.search_form_input_placeholder_attr = 'Search...';
|
|
8
|
+
|
|
9
|
+
const o_icon_button_search = clonedeep( o_icon_button_search_prototype );
|
|
10
|
+
o_icon_button_search.o_icon_button_classes += ' js-ExpandableSearch-trigger';
|
|
11
|
+
o_icon_button_search.c_icon.c_icon_classes = ' lrv-u-display-block lrv-u-width-24 lrv-u-height-24 lrv-u-color-brand-primary:hover';
|
|
12
|
+
|
|
13
|
+
module.exports = {
|
|
14
|
+
expandable_search_outer_classes: 'js-ExpandableSearch lrv-u-flex lrv-u-margin-l-auto lrv-a-glue-parent',
|
|
15
|
+
expandable_search_classes: 'js-ExpandableSearch-target lrv-a-unstyle-button lrv-u-color-black js-fade js-fade-is-out',
|
|
16
|
+
expandable_search_inner_classes:'lrv-u-height-auto lrv-a-glue lrv-a-glue--l-0 lrv-a-glue--t-50p lrv-u-flex lrv-u-transform-translateY-n50p',
|
|
17
|
+
o_icon_button_search: o_icon_button_search,
|
|
18
|
+
search_form: search_form,
|
|
19
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<div class="expandable-search-outer // {{ expandable_search_outer_classes }}">
|
|
2
|
+
|
|
3
|
+
{% include "@larva/objects/o-icon-button/o-icon-button.twig" with o_icon_button_search %}
|
|
4
|
+
<div class="expandable-search // {{ expandable_search_classes }}" hidden>
|
|
5
|
+
<div class="expandable_search-inner {{ expandable_search_inner_classes }}" data-header-search-trigger="">
|
|
6
|
+
{% include "@larva/modules/search-form/search-form.twig" with search_form %}
|
|
7
|
+
</div>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
|
|
3
|
+
const story_prototype = require( '@penskemediacorp/larva-patterns/modules/story/story.prototype' );
|
|
4
|
+
|
|
5
|
+
const story = clonedeep( story_prototype );
|
|
6
|
+
|
|
7
|
+
story.story_grid_classes = '';
|
|
8
|
+
|
|
9
|
+
story.story_grid_primary_classes = 'lrv-u-margin-r-00';
|
|
10
|
+
|
|
11
|
+
story.story_grid_secondary_classes += ' lrv-u-padding-lr-1 lrv-u-padding-lr-2@desktop-xl lrv-u-padding-tb-075 lrv-u-padding-tb-150@desktop-xl';
|
|
12
|
+
|
|
13
|
+
const featured_story = clonedeep( story );
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Budle all objects.
|
|
17
|
+
*/
|
|
18
|
+
module.exports = {
|
|
19
|
+
featured_stories_classes: '',
|
|
20
|
+
featured_story,
|
|
21
|
+
featured_stories_secondary_classes: 'lrv-a-grid lrv-a-cols3@desktop',
|
|
22
|
+
story_items: [ story, story, story ],
|
|
23
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<div class="featured-stories // {{ featured_stories_classes }}">
|
|
2
|
+
|
|
3
|
+
{% if featured_story %}
|
|
4
|
+
<div class="featured-stories__primary // {{ featured_stories_primary_classes }}" >
|
|
5
|
+
{% include "@larva/modules/story/story.twig" with featured_story %}
|
|
6
|
+
</div>
|
|
7
|
+
{% endif %}
|
|
8
|
+
|
|
9
|
+
{% if c_heading %}
|
|
10
|
+
{% include "@larva/components/c-heading/c-heading.twig" with c_heading %}
|
|
11
|
+
{% endif %}
|
|
12
|
+
|
|
13
|
+
<div class="featured-stories__secondary {{ featured_stories_secondary_classes }}">
|
|
14
|
+
{% for item in story_items %}
|
|
15
|
+
{% include "@larva/modules/story/story.twig" with item %}
|
|
16
|
+
{% endfor %}
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
|
|
3
|
+
const c_button_prototype = require( '../../components/c-button/c-button.prototype.js' );
|
|
4
|
+
const get_digital_access = clonedeep( c_button_prototype );
|
|
5
|
+
const get_magazine = clonedeep( c_button_prototype );
|
|
6
|
+
const get_gift = clonedeep( c_button_prototype );
|
|
7
|
+
const customer_service = clonedeep( c_button_prototype );
|
|
8
|
+
|
|
9
|
+
get_digital_access.c_button_type_attr = 'button';
|
|
10
|
+
get_digital_access.c_button_inner_classes = 'lrv-u-display-inline-block lrv-u-border-color-grey lrv-u-border-color-white:hover lrv-u-padding-tb-050 lrv-u-padding-lr-025 lrv-u-width-100p lrv-u-border-a-1';
|
|
11
|
+
get_digital_access.c_button_classes = 'lrv-u-text-align-center lrv-u-margin-b-1 lrv-u-padding-a-025 lrv-u-background-color-brand-primary:hover lrv-u-color-white:hover lrv-u-font-weight-bold lrv-a-font-body-xxs lrv-u-background-color-white lrv-u-color-black cx-dynamic-link';
|
|
12
|
+
get_digital_access.c_button_screen_reader_text = 'Get Digital Access';
|
|
13
|
+
get_digital_access.c_button_text = 'Get Digital Access';
|
|
14
|
+
get_digital_access.c_button_url = '#get-digital-access';
|
|
15
|
+
|
|
16
|
+
get_magazine.c_button_type_attr = 'button';
|
|
17
|
+
get_magazine.c_button_inner_classes = 'lrv-u-display-inline-block lrv-u-border-color-grey lrv-u-border-color-white:hover lrv-u-padding-tb-050 lrv-u-padding-lr-025 lrv-u-width-100p lrv-u-border-a-1';
|
|
18
|
+
get_magazine.c_button_classes = 'lrv-u-text-align-center lrv-u-margin-b-1 lrv-u-padding-a-025 lrv-u-background-color-brand-primary:hover lrv-u-color-white:hover lrv-u-font-weight-bold lrv-a-font-body-xxs lrv-u-background-color-white lrv-u-color-black';
|
|
19
|
+
get_magazine.c_button_screen_reader_text = 'Get The Magazine';
|
|
20
|
+
get_magazine.c_button_text = 'Get The Magazine';
|
|
21
|
+
get_magazine.c_button_url = '#get-the-magazine';
|
|
22
|
+
|
|
23
|
+
get_gift.c_button_type_attr = 'button';
|
|
24
|
+
get_gift.c_button_inner_classes = 'lrv-u-display-inline-block lrv-u-border-color-grey lrv-u-border-color-white:hover lrv-u-padding-tb-050 lrv-u-padding-lr-025 lrv-u-width-100p lrv-u-border-a-1';
|
|
25
|
+
get_gift.c_button_classes = 'lrv-u-text-align-center lrv-u-margin-b-1 lrv-u-padding-a-025 lrv-u-background-color-brand-primary:hover lrv-u-color-white:hover lrv-u-font-weight-bold lrv-a-font-body-xxs lrv-u-color-white lrv-u-border-a-1 lrv-u-border-color-grey lrv-u-border-color-brand-primary-dark:hover';
|
|
26
|
+
get_gift.c_button_screen_reader_text = 'Get a Gift';
|
|
27
|
+
get_gift.c_button_text = 'Get a Gift';
|
|
28
|
+
get_gift.c_button_url = '#get-a-gift';
|
|
29
|
+
|
|
30
|
+
customer_service.c_button_type_attr = 'button';
|
|
31
|
+
customer_service.c_button_inner_classes = 'lrv-u-display-inline-block lrv-u-border-color-grey lrv-u-border-color-white:hover lrv-u-padding-tb-050 lrv-u-padding-lr-025 lrv-u-width-100p lrv-u-border-a-1';
|
|
32
|
+
customer_service.c_button_classes = 'lrv-u-text-align-center lrv-u-margin-b-1 lrv-u-padding-a-025 lrv-u-background-color-brand-primary:hover lrv-u-color-white:hover lrv-u-font-weight-bold lrv-a-font-body-xxs lrv-u-color-white lrv-u-border-a-1 lrv-u-border-color-grey lrv-u-border-color-brand-primary-dark:hover';
|
|
33
|
+
customer_service.c_button_screen_reader_text = 'Customer Service';
|
|
34
|
+
customer_service.c_button_text = 'Customer Service';
|
|
35
|
+
customer_service.c_button_url = '#customer-service';
|
|
36
|
+
|
|
37
|
+
module.exports = {
|
|
38
|
+
footer_button_list_content_classes: 'o-footer-button-list__content a-font-body-s lrv-u-flex lrv-u-flex-direction-column a-double-underline a-double-underline-color-grey a-double-underline-bottom@mobile-max lrv-u-padding-b-2@mobile-max',
|
|
39
|
+
footer_button_list_title_classes: 'lrv-a-font-accent-medium-l lrv-u-font-weight-bold lrv-u-display-none@mobile-max lrv-u-padding-b-050',
|
|
40
|
+
footer_button_list_classes: 'lrv-u-text-transform-uppercase u-letter-spacing-0063',
|
|
41
|
+
footer_button_list_title_text: '',
|
|
42
|
+
footer_button_list_buttons: [ get_digital_access, get_magazine, get_gift, customer_service],
|
|
43
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<div class="footer-button-list {{ footer_button_list_classes }}">
|
|
2
|
+
{% if footer_button_list_title_text %}
|
|
3
|
+
<h4 class="footer-button-list__title {{ footer_button_list_title_classes }}">
|
|
4
|
+
{{ footer_button_list_title_text }}
|
|
5
|
+
</h4>
|
|
6
|
+
{% endif %}
|
|
7
|
+
|
|
8
|
+
<section class="footer-button-list__content lrv-u-flex lrv-u-flex-direction-column {{ footer_button_list_content_classes }}">
|
|
9
|
+
{% for item in footer_button_list_buttons %}
|
|
10
|
+
{% include "@larva/components/c-button/c-button.twig" with item %}
|
|
11
|
+
{% endfor %}
|
|
12
|
+
</section>
|
|
13
|
+
</div>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
|
|
3
|
+
const c_lazy_magazine_image_prototype = require( '../../components/c-lazy-image/c-lazy-image.prototype' );
|
|
4
|
+
const c_lazy_magazine_image = clonedeep( c_lazy_magazine_image_prototype );
|
|
5
|
+
|
|
6
|
+
c_lazy_magazine_image.c_lazy_image_classes = 'lrv-u-flex-shrink-0 lrv-u-margin-r-2 lrv-u-width-300 a-hidden@desktop-xl-max';
|
|
7
|
+
c_lazy_magazine_image.c_lazy_image_src_url = 'https://cdn.shopify.com/s/files/1/0238/6647/products/2019_37_540x.jpg';
|
|
8
|
+
c_lazy_magazine_image.c_lazy_image_placeholder_url = 'https://cdn.shopify.com/s/files/1/0238/6647/products/2019_37_540x.jpg';
|
|
9
|
+
c_lazy_magazine_image.c_lazy_image_crop_class = '';
|
|
10
|
+
c_lazy_magazine_image.c_lazy_image_link_url = '/subscribe-us/';
|
|
11
|
+
c_lazy_magazine_image.c_lazy_image_srcset_attr = 'https://cdn.shopify.com/s/files/1/0238/6647/products/2019_37_540x.jpg 240w,https://cdn.shopify.com/s/files/1/0238/6647/products/2019_37_540x.jpg 320w,https://cdn.shopify.com/s/files/1/0238/6647/products/2019_37_540x.jpg 500w,https://cdn.shopify.com/s/files/1/0238/6647/products/2019_37_540x.jpg 640w,https://cdn.shopify.com/s/files/1/0238/6647/products/2019_37_540x.jpg 1024w';
|
|
12
|
+
|
|
13
|
+
module.exports = {
|
|
14
|
+
c_lazy_magazine_image,
|
|
15
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
|
|
3
|
+
const header_prototype = require( './header.prototype' );
|
|
4
|
+
const header = clonedeep( header_prototype );
|
|
5
|
+
|
|
6
|
+
const header_sticky_prototype = require( '../header-sticky/header-sticky.article' );
|
|
7
|
+
const header_sticky = clonedeep( header_sticky_prototype );
|
|
8
|
+
header.header_sticky = header_sticky;
|
|
9
|
+
|
|
10
|
+
header.is_home = false;
|
|
11
|
+
header.header_classes = 'lrv-a-glue-parent';
|
|
12
|
+
header.header_inner_classes = 'lrv-u-background-color-white lrv-u-border-b-1 lrv-u-border-t-1 lrv-u-width-100p';
|
|
13
|
+
header.header_sticky_outer_classes = ' lrv-u-width-100p';
|
|
14
|
+
header.header_contents_classes = 'lrv-u-flex lrv-u-justify-content-space-between';
|
|
15
|
+
header.header_outer_classes='lrv-u-border-t-5 lrv-u-padding-t-025 lrv-u-width-100p';
|
|
16
|
+
header.header_logo_classes='lrv-u-flex lrv-u-text-align-center';
|
|
17
|
+
header.header_content_primary_classes = 'lrv-a-wrapper lrv-a-space-children-horizontal lrv-u-align-items-center lrv-u-flex';
|
|
18
|
+
header.header_content_secondary_classes = 'lrv-u-align-items-center lrv-u-border-b-1 lrv-u-border-t-1 lrv-u-flex lrv-u-justify-content-center lrv-u-margin-t-025 lrv-u-padding-tb-075';
|
|
19
|
+
header.header_links_primary_classes = 'lrv-u-align-items-center lrv-u-padding-r-1 lrv-u-border-r-1 lrv-a-space-children--050 lrv-a-space-children-horizontal lrv-u-flex';
|
|
20
|
+
header.header_links_secondary_classes = 'lrv-a-space-children--1 lrv-a-space-children-horizontal lrv-u-flex lrv-u-margin-l-auto';
|
|
21
|
+
header.c_logo.c_logo_classes += 'lrv-u-color-brand-primary lrv-u-color-brand-primary:hover lrv-u-display-inline-flex lrv-u-justify-content-center lrv-u-width-100p lrv-u-width-150';
|
|
22
|
+
header.header_content_menu_classes='lrv-u-margin-l-125 lrv-a-space-children--050 lrv-a-space-children-horizontal lrv-u-flex';
|
|
23
|
+
|
|
24
|
+
header.o_icon_button_menu.c_icon.c_icon_classes = 'lrv-u-display-block lrv-u-width-30 lrv-u-height-30';
|
|
25
|
+
header.o_icon_button_menu.o_icon_button_classes = 'js-MegaMenu-Trigger lrv-u-align-items-center lrv-u-border-a-0 lrv-u-flex lrv-u-padding-lr-1 lrv-u-background-color-transparent lrv-u-color-brand-primary:hover';
|
|
26
|
+
header.o_icon_button_menu.o_icon_button_screen_reader_text = 'Click to expand the Mega Menu';
|
|
27
|
+
header.o_icon_button_menu.c_span.c_span_text = '';
|
|
28
|
+
|
|
29
|
+
header.header_menu.o_nav.o_nav_list_item_classes = 'lrv-a-font-body-s lrv-a-space-children--2 lrv-a-space-children-horizontal lrv-a-unstyle-list lrv-u-flex lrv-u-justify-content-center lrv-u-text-transform-uppercase lrv-u-padding-t-050';
|
|
30
|
+
const header_menu_items = header.header_menu.o_nav.o_nav_list_items;
|
|
31
|
+
|
|
32
|
+
for (let i = 0; i < header_menu_items.length; i++) {
|
|
33
|
+
header.header_menu.o_nav.o_nav_list_items[i].c_link_classes = 'lrv-u-padding-tb-075 lrv-a-unstyle-link lrv-u-color-brand-primary:hover lrv-a-hover-effect lrv-u-whitespace-nowrap lrv-u-border-b-6 lrv-u-border-color-white lrv-u-border-color-brand-primary:hover lrv-u-line-height-large lrv-u-display-inline-block';
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
header.expandable_search.expandable_search_inner_classes = 'lrv-u-height-auto lrv-a-glue lrv-a-glue--r-0 lrv-a-glue--t-50p lrv-u-flex lrv-u-transform-translateY-n50p';
|
|
37
|
+
header.expandable_search.expandable_search_classes += ' sticky-expandable';
|
|
38
|
+
|
|
39
|
+
module.exports = header;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
|
|
3
|
+
const header_sticky_prototype = require( '../header-sticky/header-sticky.prototype' );
|
|
4
|
+
const header_menu_prototype = require( '../header-menu/header-menu.prototype' );
|
|
5
|
+
const expandable_search_prototype = require( '../expandable-search/expandable-search.prototype' );
|
|
6
|
+
const c_link_prototype = require( '../../components/c-link/c-link.prototype' );
|
|
7
|
+
const o_icon_button_prototype = require( '../../objects/o-icon-button/o-icon-button.prototype' );
|
|
8
|
+
const o_icon_button_search_prototype = require( '../../objects/o-icon-button/o-icon-button.search' );
|
|
9
|
+
const o_header_buttons_prototype = require( '../../objects/o-header-buttons/o-header-buttons.prototype' );
|
|
10
|
+
const o_header_buttons_column_prototype = require( '../../objects/o-header-buttons/o-header-buttons.column' );
|
|
11
|
+
|
|
12
|
+
const header_sticky = clonedeep( header_sticky_prototype );
|
|
13
|
+
|
|
14
|
+
const expandable_search = clonedeep( expandable_search_prototype );
|
|
15
|
+
|
|
16
|
+
const header_menu = clonedeep( header_menu_prototype );
|
|
17
|
+
header_menu.o_nav.o_nav_list_classes = 'lrv-a-font-body-s lrv-a-space-children--2 lrv-a-space-children-horizontal lrv-a-unstyle-list lrv-u-flex lrv-u-font-family-body lrv-u-justify-content-center lrv-u-text-transform-uppercase';
|
|
18
|
+
const header_menu_items = header_menu.o_nav.o_nav_list_items;
|
|
19
|
+
for (let i = 0; i < header_menu_items.length; i++) {
|
|
20
|
+
header_menu.o_nav.o_nav_list_items[i].c_link_classes = ' lrv-u-padding-b-050 lrv-a-unstyle-link lrv-u-color-brand-primary:hover lrv-a-hover-effect lrv-u-whitespace-nowrap lrv-u-border-b-6 lrv-u-border-color-white lrv-u-border-color-brand-primary:hover';
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
const o_account_menu = clonedeep( require( '../../objects/o-account-menu/o-account-menu.prototype') );
|
|
24
|
+
o_account_menu.o_account_menu_classes += ' lrv-a-hidden';
|
|
25
|
+
|
|
26
|
+
const c_shop_link = clonedeep( c_link_prototype );
|
|
27
|
+
c_shop_link.c_link_text = 'RS shop';
|
|
28
|
+
c_shop_link.c_link_classes = 'lrv-u-margin-b-050 lrv-a-unstyle-link lrv-u-display-inline lrv-u-color-brand-primary:hover lrv-u-border-b-1 lrv-u-border-color-white lrv-u-border-color-brand-primary:hover lrv-u-font-family-body lrv-u-text-transform-uppercase lrv-a-font-body-xxs';
|
|
29
|
+
|
|
30
|
+
const c_login_link = clonedeep( c_link_prototype );
|
|
31
|
+
c_login_link.c_link_text = 'Log In';
|
|
32
|
+
c_login_link.c_link_classes = 'subscriber-login-link lrv-u-margin-b-050 lrv-a-unstyle-link lrv-u-display-inline lrv-u-color-brand-primary:hover lrv-u-border-b-1 lrv-u-border-color-white lrv-u-border-color-brand-primary:hover lrv-u-font-family-body lrv-u-text-transform-uppercase lrv-a-font-body-xxs lrv-a-hidden@mobile-max ';
|
|
33
|
+
|
|
34
|
+
const c_subscribe_link = clonedeep( c_link_prototype );
|
|
35
|
+
c_subscribe_link.c_link_text = 'Subscribe';
|
|
36
|
+
c_subscribe_link.c_link_classes = 'subscribe-link cx-dynamic-link lrv-u-margin-b-050 lrv-a-unstyle-link lrv-u-display-inline lrv-u-color-brand-primary:hover lrv-u-border-b-1 lrv-u-border-color-white lrv-u-border-color-brand-primary:hover lrv-u-font-family-body lrv-u-text-transform-uppercase lrv-a-font-body-xxs';
|
|
37
|
+
|
|
38
|
+
const c_got_a_tip = clonedeep( c_link_prototype );
|
|
39
|
+
c_got_a_tip.c_link_text = 'Got A Tip?';
|
|
40
|
+
c_got_a_tip.c_link_classes = 'lrv-u-margin-b-050 lrv-a-unstyle-link lrv-u-display-inline lrv-u-color-brand-primary:hover lrv-u-border-b-1 lrv-u-border-color-white lrv-u-border-color-brand-primary:hover lrv-u-font-family-body lrv-u-text-transform-uppercase lrv-a-font-body-xxs';
|
|
41
|
+
|
|
42
|
+
const c_logo_prototype = require( '../../components/c-logo/c-logo.prototype' );
|
|
43
|
+
const c_logo = clonedeep( c_logo_prototype );
|
|
44
|
+
c_logo.c_logo_classes += 'lrv-u-color-brand-primary lrv-u-color-brand-primary:hover lrv-u-display-inline-flex lrv-u-justify-content-center lrv-u-width-100p';
|
|
45
|
+
c_logo.c_logo_is_h1 = true;
|
|
46
|
+
|
|
47
|
+
const o_icon_button_search = clonedeep( o_icon_button_search_prototype );
|
|
48
|
+
const o_icon_button_menu = clonedeep( o_icon_button_prototype );
|
|
49
|
+
|
|
50
|
+
o_icon_button_menu.o_icon_button_classes += ' js-MegaMenu-Trigger lrv-u-margin-r-auto lrv-u-color-brand-primary:hover lrv-a-glue-parent';
|
|
51
|
+
o_icon_button_menu.c_icon.c_icon_classes = 'lrv-u-display-block lrv-u-width-30 lrv-u-height-30';
|
|
52
|
+
o_icon_button_menu.c_span.c_span_text = '';
|
|
53
|
+
o_icon_button_menu.o_icon_button_screen_reader_text = 'Click to expand the Mega Menu';
|
|
54
|
+
|
|
55
|
+
const o_header_buttons = clonedeep( o_header_buttons_prototype );
|
|
56
|
+
|
|
57
|
+
const o_header_buttons_column = clonedeep( o_header_buttons_column_prototype );
|
|
58
|
+
|
|
59
|
+
module.exports = {
|
|
60
|
+
header_classes: 'lrv-a-glue-parent',
|
|
61
|
+
header_inner_classes: 'lrv-u-width-100p lrv-u-padding-t-1 lrv-u-background-color-white',
|
|
62
|
+
header_sticky_outer_classes: ' lrv-u-width-100p',
|
|
63
|
+
header_outer_classes: 'lrv-u-flex lrv-u-justify-content-space-between',
|
|
64
|
+
header_contents_classes: '',
|
|
65
|
+
header_logo_classes: 'lrv-u-text-align-center lrv-u-width-40p@tablet',
|
|
66
|
+
header_content_primary_classes: 'lrv-u-flex lrv-u-justify-content-space-between lrv-u-align-items-center lrv-u-margin-b-050 lrv-u-padding-b-1',
|
|
67
|
+
header_content_secondary_classes: 'lrv-a-hidden@mobile-max lrv-u-align-items-center lrv-u-flex lrv-u-justify-content-center',
|
|
68
|
+
header_links_primary_classes: 'lrv-a-hidden@mobile-max lrv-u-width-30p lrv-a-space-children--050 lrv-a-space-children-vertical',
|
|
69
|
+
header_links_secondary_classes:'lrv-u-width-30p lrv-u-text-align-right lrv-a-space-children--050 lrv-a-space-children-vertical',
|
|
70
|
+
header_mobile_button_classes:'lrv-a-hidden@tablet lrv-u-width-22p@mobile-max',
|
|
71
|
+
header_links_primary_inner_classes:'lrv-u-display-inline-flex lrv-u-flex-direction-column',
|
|
72
|
+
header_links_secondary_inner_classes:'lrv-u-display-inline-flex lrv-u-flex-direction-column ',
|
|
73
|
+
header_content_secondary_outer_classes:'lrv-u-border-t-6',
|
|
74
|
+
header_content_secondary_inner_classes:'lrv-u-border-b-1 lrv-u-border-t-1 lrv-u-margin-t-050 lrv-u-padding-t-050 lrv-u-padding-b-050 lrv-u-border-b-1 lrv-u-border-t-1 lrv-u-margin-t-050 lrv-u-margin-t-025@mobile-max lrv-u-border-b-00@mobile-max',
|
|
75
|
+
header_content_menu_classes:'lrv-u-margin-l-125 lrv-a-space-children--050 lrv-a-space-children-vertical',
|
|
76
|
+
c_logo,
|
|
77
|
+
c_link_left_primary: c_shop_link,
|
|
78
|
+
c_link_left_secondary: c_got_a_tip,
|
|
79
|
+
c_link_right_primary: c_subscribe_link,
|
|
80
|
+
c_link_right_secondary: c_login_link,
|
|
81
|
+
o_icon_button_menu,
|
|
82
|
+
o_icon_button_search,
|
|
83
|
+
header_menu,
|
|
84
|
+
header_sticky,
|
|
85
|
+
expandable_search,
|
|
86
|
+
is_home: true,
|
|
87
|
+
o_header_buttons,
|
|
88
|
+
o_header_buttons_column,
|
|
89
|
+
o_account_menu,
|
|
90
|
+
};
|