@penskemediacorp/larva-patterns 1.9.0-alpha.0 → 1.10.0
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/LICENSE +21 -0
- package/__tests__/css/css.html +9 -0
- package/__tests__/css/css.prototype.js +1 -0
- package/__tests__/hub/hub.html +25 -0
- package/__tests__/hub/hub.prototype.js +30 -0
- package/__tests__/profile/profile.html +29 -0
- package/__tests__/profile/profile.prototype.js +17 -0
- package/__tests__/profile-index/profile-index.html +9 -0
- package/__tests__/profile-index/profile-index.prototype.js +6 -0
- package/__tests__/vlanding/vlanding.html +7 -0
- package/__tests__/vlanding/vlanding.prototype.js +11 -0
- package/_templates/pattern-nav.html +52 -12
- package/algorithms/a-carousel-grid/README.md +5 -0
- package/algorithms/a-carousel-grid/a-carousel-grid.html +25 -0
- package/algorithms/a-carousel-grid/a-carousel-grid.overlay.js +12 -0
- package/algorithms/a-carousel-grid/a-carousel-grid.prototype.js +0 -0
- package/algorithms/a-icon/a-icon.html +1 -0
- package/algorithms/a-icon/a-icon.prototype.js +0 -0
- package/base.html +62 -19
- package/components/c-button/README.md +3 -0
- package/components/c-button/c-button.black.js +7 -0
- package/components/c-button/c-button.brand-basic.js +8 -0
- package/components/c-button/c-button.ghost.js +10 -0
- package/components/c-button/c-button.prototype.js +10 -4
- package/components/c-button/c-button.stripped.js +8 -0
- package/components/c-button/c-button.twig +13 -7
- package/components/c-checkbox-input/c-checkbox-input.prototype.js +6 -0
- package/components/c-checkbox-input/c-checkbox-input.twig +4 -0
- package/components/c-dek/README.md +3 -0
- package/components/c-dek/c-dek.prototype.js +5 -0
- package/components/c-dek/c-dek.twig +9 -0
- package/components/c-email-field/README.md +0 -0
- package/components/c-email-field/c-email-field.ghost.js +10 -0
- package/components/c-email-field/c-email-field.prototype.js +8 -0
- package/components/c-email-field/c-email-field.twig +4 -0
- package/components/c-figcaption/c-figcaption.prototype.js +9 -0
- package/components/c-figcaption/c-figcaption.twig +16 -0
- package/components/c-heading/README.md +4 -0
- package/components/c-heading/c-heading.prototype.js +8 -3
- package/components/c-heading/c-heading.twig +11 -2
- package/components/c-hidden-field/c-hidden-field.prototype.js +5 -0
- package/components/c-hidden-field/c-hidden-field.twig +1 -0
- package/components/c-icon/c-icon.full.js +6 -5
- package/components/c-icon/c-icon.prototype.js +12 -10
- package/components/c-icon/c-icon.twig +22 -2
- package/components/c-input/c-input.prototype.js +8 -0
- package/components/c-input/c-input.twig +14 -0
- package/components/c-label/README.md +12 -0
- package/components/c-label/c-label.prototype.js +7 -0
- package/components/c-label/c-label.twig +19 -0
- package/components/c-lazy-image/README.md +35 -0
- package/components/c-lazy-image/c-lazy-image.prototype.js +17 -0
- package/components/c-lazy-image/c-lazy-image.twig +31 -0
- package/components/c-link/README.md +1 -0
- package/components/c-link/c-link.prototype.js +8 -5
- package/components/c-link/c-link.twig +11 -1
- package/components/c-logo/c-logo.prototype.js +7 -0
- package/components/c-logo/c-logo.twig +10 -0
- package/components/c-nav-link/c-nav-link.prototype.js +7 -0
- package/components/c-nav-link/c-nav-link.twig +10 -0
- package/components/c-play-badge/c-play-badge.prototype.js +3 -0
- package/components/c-play-badge/c-play-badge.twig +7 -0
- package/components/c-select-option/c-select-option.prototype.js +5 -0
- package/components/c-select-option/c-select-option.twig +5 -0
- package/components/c-span/c-span.prototype.js +6 -7
- package/components/c-span/c-span.tag.js +7 -0
- package/components/c-svg/c-svg.prototype.js +4 -0
- package/components/c-svg/c-svg.twig +3 -0
- package/components/c-tagline/README.md +3 -0
- package/components/c-tagline/c-tagline.prototype.js +4 -0
- package/components/c-tagline/c-tagline.twig +3 -3
- package/components/c-timestamp/c-timestamp.prototype.js +5 -4
- package/components/c-timestamp/c-timestamp.twig +9 -1
- package/components/c-title/README.md +7 -0
- package/components/c-title/c-title.prototype.js +7 -3
- package/components/c-title/c-title.twig +14 -2
- package/css.html +44 -0
- package/index.html +7 -25
- package/index.js +2 -1
- 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/article-callout/article-callout.prototype.js +5 -0
- package/modules/article-callout/article-callout.twig +3 -0
- package/modules/article-excerpt/article-excerpt.prototype.js +4 -0
- package/modules/article-excerpt/article-excerpt.twig +1 -0
- package/modules/article-kicker/article-kicker.prototype.js +6 -0
- package/modules/article-kicker/article-kicker.twig +13 -0
- package/modules/article-tags/article-tags.prototype.js +9 -10
- package/modules/article-tags/article-tags.twig +1 -1
- package/modules/article-timestamp/article-timestamp.prototype.js +13 -0
- package/modules/article-timestamp/article-timestamp.twig +5 -0
- package/modules/article-title/article-title.prototype.js +4 -0
- package/modules/article-title/article-title.twig +1 -0
- package/modules/author/author.prototype.js +43 -0
- package/modules/author/author.twig +38 -0
- package/modules/author-blurb/author-blurb.prototype.js +56 -0
- package/modules/author-blurb/author-blurb.twig +27 -0
- package/modules/author-details/author-details.prototype.js +70 -0
- package/modules/author-details/author-details.twig +25 -0
- package/modules/back-to-list/back-to-list.prototype.js +11 -0
- package/modules/back-to-list/back-to-list.twig +5 -0
- package/modules/badge/badge.prototype.js +10 -6
- package/modules/badge/badge.twig +1 -1
- 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/breadcrumbs/breadcrumbs.prototype.js +4 -5
- package/modules/breadcrumbs/breadcrumbs.twig +1 -1
- package/modules/breaking-news/breaking-news.prototype.js +29 -0
- package/modules/breaking-news/breaking-news.twig +18 -0
- package/modules/button/button.prototype.js +9 -0
- package/modules/button/button.twig +7 -0
- package/modules/buy-now/buy-now.prototype.js +36 -0
- package/modules/buy-now/buy-now.twig +23 -0
- package/modules/carousel-grid/README.md +7 -0
- package/modules/carousel-grid/carousel-grid.overlay.js +26 -0
- package/modules/carousel-grid/carousel-grid.prototype.js +50 -0
- package/modules/carousel-grid/carousel-grid.twig +17 -0
- package/modules/carousel-slider/carousel-slider.prototype.js +56 -0
- package/modules/carousel-slider/carousel-slider.twig +11 -0
- package/modules/container/README.md +3 -0
- package/modules/container/container.prototype.js +7 -0
- package/modules/container/container.twig +1 -0
- package/modules/content-showcase/content-showcase.prototype.js +30 -0
- package/modules/content-showcase/content-showcase.the-moth.js +33 -0
- package/modules/content-showcase/content-showcase.twig +7 -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 +27 -0
- package/modules/featured-stories/featured-stories.twig +18 -0
- package/modules/featured-video/featured-video.prototype.js +33 -0
- package/modules/featured-video/featured-video.twig +8 -0
- package/modules/featured-video/featured-video.video-post.js +10 -0
- package/modules/footer/README.md +15 -0
- package/modules/footer/footer.prototype.js +14 -0
- package/modules/footer/footer.twig +22 -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/footer-menus/README.md +3 -0
- package/modules/footer-menus/footer-menus.prototype.js +9 -9
- package/modules/footer-menus/footer-menus.twig +2 -2
- package/modules/footer-newsletter/README.md +5 -0
- package/modules/footer-newsletter/footer-newsletter.prototype.js +21 -0
- package/modules/footer-newsletter/footer-newsletter.twig +5 -0
- package/modules/footer-social/README.md +3 -0
- package/modules/footer-social/footer-social.prototype.js +27 -20
- package/modules/footer-social/footer-social.twig +2 -2
- package/modules/footer-tip/footer-tip.prototype.js +21 -13
- package/modules/footer-tip/footer-tip.twig +2 -2
- 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.h1.js +8 -0
- package/modules/heading/heading.h2.js +8 -0
- package/modules/heading/heading.h3.js +8 -0
- package/modules/heading/heading.h4.js +7 -0
- package/modules/heading/heading.h5.js +7 -0
- package/modules/heading/heading.h6.js +7 -0
- package/modules/heading/heading.prototype.js +9 -0
- package/modules/heading/heading.twig +3 -0
- package/modules/hero-image-story/hero-image-story.prototype.js +41 -0
- package/modules/hero-image-story/hero-image-story.twig +8 -0
- package/modules/injected-related-content/injected-related-content.prototype.js +61 -0
- package/modules/injected-related-content/injected-related-content.twig +23 -0
- package/modules/linked-gallery/linked-gallery.prototype.js +56 -0
- package/modules/linked-gallery/linked-gallery.twig +21 -0
- package/modules/list/list.ordered.js +7 -0
- package/modules/list/list.prototype.js +57 -0
- package/modules/list/list.twig +11 -0
- package/modules/listicle-item/listicle-item.prototype.js +11 -0
- package/modules/listicle-item/listicle-item.twig +3 -0
- 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/more-stories-button/more-stories-button.profile.js +12 -0
- package/modules/more-stories-button/more-stories-button.prototype.js +29 -0
- package/modules/more-stories-button/more-stories-button.twig +13 -0
- package/modules/newsletter/newsletter.prototype.js +46 -0
- package/modules/newsletter/newsletter.twig +21 -0
- package/modules/newsletter-cta/newsletter-cta.prototype.js +21 -0
- package/modules/newsletter-cta/newsletter-cta.twig +22 -0
- package/modules/newswire/newswire.prototype.js +46 -0
- package/modules/newswire/newswire.twig +16 -0
- package/modules/page-404/page-404.prototype.js +44 -0
- package/modules/page-404/page-404.twig +32 -0
- package/modules/paragraph/paragraph.narrow.js +8 -0
- package/modules/paragraph/paragraph.prototype.js +8 -0
- package/modules/paragraph/paragraph.twig +3 -0
- package/modules/pmc-footer/pmc-footer.prototype.js +26 -24
- package/modules/pmc-footer/pmc-footer.twig +11 -9
- package/modules/post-content-image/post-content-image.prototype.js +14 -0
- package/modules/post-content-image/post-content-image.twig +3 -0
- package/modules/production-credits/production-credits.prototype.js +5 -0
- package/modules/production-credits/production-credits.twig +4 -0
- package/modules/profile-blurb/profile-blurb.card.js +28 -0
- package/modules/profile-blurb/profile-blurb.prototype.js +45 -0
- package/modules/profile-blurb/profile-blurb.twig +37 -0
- package/modules/profile-body/profile-body.prototype.js +20 -0
- package/modules/profile-body/profile-body.twig +15 -0
- package/modules/profile-browse-by/profile-browse-by.prototype.js +29 -0
- package/modules/profile-browse-by/profile-browse-by.twig +6 -0
- package/modules/profile-card-list/profile-card-list.prototype.js +25 -0
- package/modules/profile-card-list/profile-card-list.twig +7 -0
- package/modules/profile-filter/profile-filter.prototype.js +26 -0
- package/modules/profile-filter/profile-filter.twig +15 -0
- package/modules/profile-gallery/profile-gallery.prototype.js +28 -0
- package/modules/profile-gallery/profile-gallery.twig +13 -0
- package/modules/profile-header/profile-header.prototype.js +29 -0
- package/modules/profile-header/profile-header.twig +27 -0
- package/modules/profile-highlights/profile-highlights.prototype.js +22 -0
- package/modules/profile-highlights/profile-highlights.twig +17 -0
- package/modules/profile-landing-header/profile-landing-header.prototype.js +17 -0
- package/modules/profile-landing-header/profile-landing-header.twig +12 -0
- package/modules/profile-landing-river/profile-landing-river.prototype.js +21 -0
- package/modules/profile-landing-river/profile-landing-river.twig +13 -0
- package/modules/profile-related-stories/profile-related-stories.prototype.js +33 -0
- package/modules/profile-related-stories/profile-related-stories.twig +9 -0
- package/modules/pullquote/pullquote.prototype.js +8 -0
- package/modules/pullquote/pullquote.twig +3 -0
- 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/secondary-stories/secondary-stories.prototype.js +119 -0
- package/modules/secondary-stories/secondary-stories.twig +22 -0
- package/modules/section-heading/section-heading.h2.js +9 -0
- package/modules/section-heading/section-heading.h3.js +10 -0
- package/modules/section-heading/section-heading.prototype.js +14 -0
- package/modules/section-heading/section-heading.twig +8 -0
- package/modules/separator/separator.prototype.js +4 -0
- package/modules/separator/separator.thick.js +7 -0
- package/modules/separator/separator.twig +1 -0
- package/modules/separator/separator.wide-thick.js +7 -0
- package/modules/separator/separator.wide.js +7 -0
- package/modules/social-share/social-share.prototype.js +43 -0
- package/modules/social-share/social-share.twig +30 -0
- package/modules/special-coverage/special-coverage.prototype.js +47 -0
- package/modules/special-coverage/special-coverage.twig +29 -0
- package/modules/story/story.borders.js +8 -0
- package/modules/story/story.center-vertical-borders.js +7 -0
- package/modules/story/story.center-vertical.js +11 -0
- package/modules/story/story.prototype.js +43 -0
- package/modules/story/story.right-borders.js +9 -0
- package/modules/story/story.right.js +14 -0
- package/modules/story/story.story-arc.js +9 -0
- package/modules/story/story.twig +88 -0
- package/modules/story/story.vertical-borders.js +7 -0
- package/modules/story/story.vertical.js +11 -0
- package/modules/story-arc-stories/story-arc-stories.prototype.js +21 -0
- package/modules/story-arc-stories/story-arc-stories.twig +14 -0
- package/modules/story-featured-quote/story-featured-quote.prototype.js +28 -0
- package/modules/story-featured-quote/story-featured-quote.twig +27 -0
- package/modules/story-grid/story-grid.prototype.js +24 -0
- package/modules/story-grid/story-grid.river.js +15 -0
- package/modules/story-grid/story-grid.twig +17 -0
- package/modules/sub-header/sub-header.prototype.js +8 -0
- package/modules/sub-header/sub-header.twig +7 -0
- package/modules/top-stories/top-stories.prototype.js +41 -0
- package/modules/top-stories/top-stories.twig +12 -0
- package/modules/top-stories/top-stories.xl.js +14 -0
- package/modules/vlanding-playlist/README.md +1 -0
- package/modules/vlanding-playlist/vlanding-playlist.prototype.js +34 -0
- package/modules/vlanding-playlist/vlanding-playlist.twig +20 -0
- package/modules/vlanding-video-card/README.md +1 -0
- package/modules/vlanding-video-card/vlanding-video-card.prototype.js +25 -0
- package/modules/vlanding-video-card/vlanding-video-card.twig +56 -0
- package/modules/vlanding-video-showcase/README.md +12 -0
- package/modules/vlanding-video-showcase/vlanding-video-showcase.prototype.js +68 -0
- package/modules/vlanding-video-showcase/vlanding-video-showcase.twig +46 -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-author/o-author.prototype.js +14 -0
- package/objects/o-author/o-author.twig +17 -0
- package/objects/o-card/README.md +1 -0
- package/objects/o-card/o-card.prototype.js +25 -0
- package/objects/o-card/o-card.twig +75 -0
- package/objects/o-card-list/README.md +3 -0
- package/objects/o-card-list/o-card-list.prototype.js +13 -0
- package/objects/o-card-list/o-card-list.twig +7 -0
- package/objects/o-category-link/o-category-link.prototype.js +6 -0
- package/objects/o-category-link/o-category-link.twig +5 -0
- package/objects/o-checkbox-input-list/o-checkbox-input-list.prototype.js +16 -0
- package/objects/o-checkbox-input-list/o-checkbox-input-list.twig +15 -0
- package/objects/o-collection-item/o-collection-item.floated.js +8 -0
- package/objects/o-collection-item/o-collection-item.prototype.js +11 -0
- package/objects/o-collection-item/o-collection-item.twig +5 -0
- package/objects/o-email-capture-form/README.md +11 -0
- package/objects/o-email-capture-form/o-email-capture-form.minimal.js +15 -0
- package/objects/o-email-capture-form/o-email-capture-form.prototype.js +17 -0
- package/objects/o-email-capture-form/o-email-capture-form.twig +16 -0
- package/objects/o-figure/README.md +17 -0
- package/objects/o-figure/o-figure.prototype.js +15 -7
- package/objects/o-figure/o-figure.twig +22 -45
- package/objects/o-header/o-header.prototype.js +12 -10
- package/objects/o-header/o-header.twig +5 -1
- 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-icon-button/README.md +5 -0
- package/objects/o-icon-button/o-icon-button.prototype.js +21 -0
- package/objects/o-icon-button/o-icon-button.search.js +9 -0
- package/objects/o-icon-button/o-icon-button.twig +29 -0
- package/objects/o-indicator/README.md +1 -0
- package/objects/o-indicator/o-indicator.photos.js +12 -0
- package/objects/o-indicator/o-indicator.prototype.js +8 -0
- package/objects/o-indicator/o-indicator.twig +9 -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/README.md +2 -2
- package/objects/o-nav/o-nav.horizontal.js +6 -6
- package/objects/o-nav/o-nav.prototype.js +17 -13
- package/objects/o-nav/o-nav.twig +29 -3
- package/objects/o-select-nav/o-select-nav.prototype.js +17 -0
- package/objects/o-select-nav/o-select-nav.twig +9 -0
- package/objects/o-social-list/o-social-list.prototype.js +21 -31
- package/objects/o-social-list/o-social-list.twig +10 -2
- package/objects/o-span-group/README.md +1 -0
- package/objects/o-span-group/o-span-group.prototype.js +11 -0
- package/objects/o-span-group/o-span-group.twig +5 -0
- package/objects/o-sponsored-by/o-sponsored-by.prototype.js +9 -10
- package/objects/o-sponsored-by/o-sponsored-by.twig +2 -2
- package/objects/o-story-arc-item/o-story-arc-item.prototype.js +29 -0
- package/objects/o-story-arc-item/o-story-arc-item.twig +9 -0
- package/objects/o-sub-header/o-sub-header.prototype.js +39 -0
- package/objects/o-sub-header/o-sub-header.twig +9 -0
- package/objects/o-tease/o-tease.prototype.js +24 -20
- package/objects/o-tease/o-tease.twig +7 -3
- package/objects/o-tease-list/o-tease-list.prototype.js +12 -24
- package/objects/o-tease-list/o-tease-list.twig +5 -1
- package/objects/o-video-card/o-video-card.prototype.js +45 -0
- package/objects/o-video-card/o-video-card.twig +67 -0
- package/package.json +6 -9
- package/pattern.html +61 -9
- package/style-guide/colors.html +33 -0
- package/style-guide/fonts.html +22 -0
- package/style-guide/index.html +14 -0
- package/components/c-button/c-button.scss +0 -33
- package/components/c-tagline/c-tagline.json +0 -4
- package/components/c-tagline/c-tagline.scss +0 -19
- package/objects/o-figure/o-figure.scss +0 -46
- package/objects/o-tease/o-tease.scss +0 -30
- package/scratch-pad.css +0 -3
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
|
|
3
|
+
const c_title_prototype = require( '../../components/c-title/c-title.prototype' );
|
|
4
|
+
const c_title = clonedeep( c_title_prototype );
|
|
5
|
+
|
|
6
|
+
const c_logo_prototype = require( '../../components/c-logo/c-logo.prototype' );
|
|
7
|
+
const c_logo = clonedeep( c_logo_prototype );
|
|
8
|
+
|
|
9
|
+
const o_email_capture_form_prototype = require( '../../objects/o-email-capture-form/o-email-capture-form.prototype' );
|
|
10
|
+
const o_email_capture_form = clonedeep( o_email_capture_form_prototype );
|
|
11
|
+
|
|
12
|
+
const c_tagline_prototype = require( '../../components/c-tagline/c-tagline.prototype' );
|
|
13
|
+
const c_tagline = clonedeep( c_tagline_prototype );
|
|
14
|
+
|
|
15
|
+
const c_tagline_terms = clonedeep( c_tagline_prototype );
|
|
16
|
+
|
|
17
|
+
c_tagline.c_tagline_classes = 'lrv-u-margin-t-1 lrv-u-margin-b-00 lrv-u-text-align-center lrv-u-font-size-20 lrv-u-line-height-small lrv-u-margin-b-2';
|
|
18
|
+
c_tagline.c_tagline_text = 'Sign Up for our Newsletters';
|
|
19
|
+
|
|
20
|
+
c_logo.c_logo_classes = 'lrv-a-unstyle-link lrv-u-display-contents lrv-u-width-100p lrv-u-color-black';
|
|
21
|
+
|
|
22
|
+
o_email_capture_form.c_email_field.c_email_field_input_placeholder_attr = 'Email';
|
|
23
|
+
o_email_capture_form.c_email_field.c_email_field_input_classes += ' lrv-u-border-a-0 lrv-u-font-size-14 lrv-u-width-100p lrv-u-margin-b-1 lrv-u-padding-lr-1 lrv-u-padding-tb-050 lrv-u-border-radius-5';
|
|
24
|
+
o_email_capture_form.c_email_field.c_email_field_input_id_attr = 'EmailAddress';
|
|
25
|
+
o_email_capture_form.c_email_field.c_email_field_input_name_attr = 'EmailAddress';
|
|
26
|
+
o_email_capture_form.c_button.c_button_text = 'Subscribe Today';
|
|
27
|
+
o_email_capture_form.c_button.c_button_classes += ' lrv-u-background-color-black lrv-u-color-white lrv-u-border-radius-5 lrv-u-width-100p lrv-u-text-align-center lrv-u-padding-a-050 lrv-u-font-weight-bold';
|
|
28
|
+
o_email_capture_form.c_email_field.c_email_field_label_classes = 'lrv-a-screen-reader-only';
|
|
29
|
+
o_email_capture_form.c_email_field.c_email_field_label_text = 'Email Address';
|
|
30
|
+
|
|
31
|
+
c_tagline_terms.c_tagline_classes = 'lrv-u-margin-t-1';
|
|
32
|
+
c_tagline_terms.c_tagline_text = false;
|
|
33
|
+
c_tagline_terms.c_tagline_markup = 'By subscribing, I agree to the <a href="#">Terms of Use</a> and <a href="#">Privacy Policy</a>.';
|
|
34
|
+
|
|
35
|
+
module.exports = {
|
|
36
|
+
newsletter_classes: 'lrv-u-padding-tb-2 lrv-u-padding-lr-2 lrv-u-flex lrv-u-flex-direction-column lrv-u-align-items-center',
|
|
37
|
+
newsletter_typography_class: '',
|
|
38
|
+
newsletter_text_align_class: '',
|
|
39
|
+
newsletter_color_class: '',
|
|
40
|
+
newsletter_background_color_class: '',
|
|
41
|
+
c_title: c_title,
|
|
42
|
+
c_logo: c_logo,
|
|
43
|
+
c_tagline: c_tagline,
|
|
44
|
+
o_email_capture_form: o_email_capture_form,
|
|
45
|
+
c_tagline_terms: c_tagline_terms,
|
|
46
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<div class="newsletter // {{ newsletter_classes }} {{ newsletter_typography_class }} {{ newsletter_text_align_class }} {{ newsletter_color_class }} {{ newsletter_background_color_class }}">
|
|
2
|
+
{% if c_title %}
|
|
3
|
+
{% include "@larva/components/c-title/c-title.twig" with c_title %}
|
|
4
|
+
{% endif %}
|
|
5
|
+
|
|
6
|
+
{% if c_logo %}
|
|
7
|
+
{% include "@larva/components/c-logo/c-logo.twig" with c_logo %}
|
|
8
|
+
{% endif %}
|
|
9
|
+
|
|
10
|
+
{% if c_tagline %}
|
|
11
|
+
{% include "@larva/components/c-tagline/c-tagline.twig" with c_tagline %}
|
|
12
|
+
{% endif %}
|
|
13
|
+
|
|
14
|
+
{% if o_email_capture_form %}
|
|
15
|
+
{% include "@larva/objects/o-email-capture-form/o-email-capture-form.twig" with o_email_capture_form %}
|
|
16
|
+
{% endif %}
|
|
17
|
+
|
|
18
|
+
{% if c_tagline_terms %}
|
|
19
|
+
{% include "@larva/components/c-tagline/c-tagline.twig" with c_tagline_terms %}
|
|
20
|
+
{% endif %}
|
|
21
|
+
</div>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
|
|
3
|
+
const c_heading = clonedeep( require( '@penskemediacorp/larva-patterns/components/c-heading/c-heading.prototype' ) );
|
|
4
|
+
const c_tagline = clonedeep( require( '@penskemediacorp/larva-patterns/components/c-tagline/c-tagline.prototype' ) );
|
|
5
|
+
const c_button = clonedeep( require( '@penskemediacorp/larva-patterns/components/c-button/c-button.brand-basic' ) );
|
|
6
|
+
|
|
7
|
+
c_heading.c_heading_text = 'Newsletters';
|
|
8
|
+
c_heading.c_heading_classes = 'lrv-u-text-transform-uppercase';
|
|
9
|
+
c_tagline.c_tagline_text = 'Sign up for news straight to your inbox every day';
|
|
10
|
+
c_tagline.c_tagline_classes = 'lrv-u-margin-a-00 lrv-u-margin-b-150@mobile-max';
|
|
11
|
+
c_button.c_button_text = 'Subscribe';
|
|
12
|
+
c_button.c_button_url = '#';
|
|
13
|
+
c_button.c_button_target_attr = '_blank';
|
|
14
|
+
c_button.c_button_classes += ' lrv-a-unstyle-link lrv-u-color-white:hover lrv-u-background-color-black:hover lrv-a-hover-effect';
|
|
15
|
+
|
|
16
|
+
module.exports = {
|
|
17
|
+
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',
|
|
18
|
+
c_heading,
|
|
19
|
+
c_tagline,
|
|
20
|
+
c_button,
|
|
21
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<div class="newsletter-cta">
|
|
2
|
+
<div class="{{ newsletter_cta_classes }}">
|
|
3
|
+
<div class="lrv-u-text-align-center@mobile-max">
|
|
4
|
+
{% if c_logo %}
|
|
5
|
+
{% include "@larva/components/c-logo/c-logo.twig" with c_logo %}
|
|
6
|
+
{% endif %}
|
|
7
|
+
|
|
8
|
+
{% if c_heading %}
|
|
9
|
+
{% include "@larva/components/c-heading/c-heading.twig" with c_heading %}
|
|
10
|
+
{% endif %}
|
|
11
|
+
|
|
12
|
+
{% if c_tagline %}
|
|
13
|
+
{% include "@larva/components/c-tagline/c-tagline.twig" with c_tagline %}
|
|
14
|
+
{% endif %}
|
|
15
|
+
|
|
16
|
+
</div>
|
|
17
|
+
|
|
18
|
+
{% if c_button %}
|
|
19
|
+
{% include "@larva/components/c-button/c-button.twig" with c_button %}
|
|
20
|
+
{% endif %}
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
|
|
3
|
+
const o_card_prototype = require( '../../objects/o-card/o-card.prototype' );
|
|
4
|
+
const c_span_prototype = require( '../../components/c-span/c-span.prototype' );
|
|
5
|
+
const c_timestamp_prototype = require( '../../components/c-timestamp/c-timestamp.prototype' );
|
|
6
|
+
const c_heading_prototype = require( '../../components/c-heading/c-heading.prototype' );
|
|
7
|
+
const c_title_prototype = require( '../../components/c-title/c-title.prototype' );
|
|
8
|
+
const c_svg_prototype = require( '../../components/c-svg/c-svg.prototype' );
|
|
9
|
+
|
|
10
|
+
const o_card = clonedeep( o_card_prototype );
|
|
11
|
+
const c_span = clonedeep( c_span_prototype );
|
|
12
|
+
const c_timestamp = clonedeep( c_timestamp_prototype );
|
|
13
|
+
const c_heading = clonedeep( c_heading_prototype );
|
|
14
|
+
const c_title = clonedeep( c_title_prototype );
|
|
15
|
+
const c_svg = clonedeep( c_svg_prototype );
|
|
16
|
+
|
|
17
|
+
c_heading.c_heading_text = 'Newswire';
|
|
18
|
+
c_heading.c_heading_classes = 'lrv-u-font-family-primary lrv-u-font-size-32 lrv-u-margin-b-050';
|
|
19
|
+
|
|
20
|
+
c_span.c_span_classes += ' lrv-u-display-block lrv-u-font-size-14 lrv-u-margin-tb-050 lrv-u-display-block';
|
|
21
|
+
|
|
22
|
+
c_timestamp.c_timestamp_classes = 'lrv-u-font-size-12 lrv-u-color-grey lrv-u-margin-t-auto@desktop';
|
|
23
|
+
|
|
24
|
+
c_title.c_title_text = 'Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi expedita pariatur sint eveniet.';
|
|
25
|
+
c_title.c_title_classes += ' lrv-u-font-size-12 lrv-u-font-size-14@desktop lrv-u-font-weight-normal lrv-u-margin-b-050';
|
|
26
|
+
c_title.c_title_url = false;
|
|
27
|
+
|
|
28
|
+
o_card.o_card_classes = 'lrv-u-flex lrv-u-flex-direction-column';
|
|
29
|
+
o_card.o_card_link_url = '#';
|
|
30
|
+
o_card.o_card_link_classes = 'lrv-a-unstyle-link lrv-u-display-block';
|
|
31
|
+
o_card.o_card_image_wrap_classes = '';
|
|
32
|
+
o_card.c_lazy_image.c_lazy_image_classes += ' lrv-a-hover-effect lrv-a-hover-effect--fade';
|
|
33
|
+
o_card.c_lazy_image.c_lazy_image_crop_class = 'lrv-a-crop-4x3';
|
|
34
|
+
o_card.c_span = c_span;
|
|
35
|
+
o_card.c_title = c_title;
|
|
36
|
+
o_card.c_timestamp = c_timestamp;
|
|
37
|
+
o_card.c_svg = c_svg;
|
|
38
|
+
|
|
39
|
+
module.exports = {
|
|
40
|
+
newswire_classes: 'lrv-a-wrapper lrv-u-padding-b-2',
|
|
41
|
+
newswire_list_classes: 'lrv-a-unstyle-list js-Flickity js-Flickity--fourths js-Flickity--isContained js-Flickity--nav-top-right js-Flickity--bordered-buttons js-Flickity--isFreeScrol js-Flickity--newswire lrv-u-padding-l-00',
|
|
42
|
+
newswire_list_item_classes: 'js-Flickity-cell lrv-u-margin-r-150',
|
|
43
|
+
c_heading: c_heading,
|
|
44
|
+
newswire_aria_labelledby_attr: c_heading.c_heading_id_attr,
|
|
45
|
+
newswire_items: [ o_card, o_card, o_card, o_card, o_card ]
|
|
46
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<section class="newswire // {{ newswire_classes }}">
|
|
2
|
+
{% if c_heading %}
|
|
3
|
+
{% include "@larva/components/c-heading/c-heading.twig" with c_heading %}
|
|
4
|
+
{% endif %}
|
|
5
|
+
<ul class="{{ newswire_list_classes }}"
|
|
6
|
+
{% if newswire_aria_labelledby_attr %}
|
|
7
|
+
aria-labelledby="{{ newswire_aria_labelledby_attr }}"
|
|
8
|
+
{% endif %}
|
|
9
|
+
>
|
|
10
|
+
{% for item in newswire_items %}
|
|
11
|
+
<li class="{{ newswire_list_item_classes }}">
|
|
12
|
+
{% include "@larva/objects/o-card/o-card.twig" with item %}
|
|
13
|
+
</li>
|
|
14
|
+
{% endfor %}
|
|
15
|
+
</ul>
|
|
16
|
+
</section>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
|
|
3
|
+
const c_heading_prototype = require( '@penskemediacorp/larva-patterns/components/c-heading/c-heading.prototype' );
|
|
4
|
+
const c_heading = clonedeep( c_heading_prototype );
|
|
5
|
+
|
|
6
|
+
const c_svg_prototype = require( '../../components/c-svg/c-svg.prototype.js' );
|
|
7
|
+
const c_svg = clonedeep( c_svg_prototype );
|
|
8
|
+
|
|
9
|
+
const c_title_prototype = require( '@penskemediacorp/larva-patterns/components/c-title/c-title.prototype' );
|
|
10
|
+
const c_title = clonedeep( c_title_prototype );
|
|
11
|
+
|
|
12
|
+
const c_button_prototype = require( '@penskemediacorp/larva-patterns/components/c-button/c-button.prototype' );
|
|
13
|
+
const c_button_home = clonedeep( c_button_prototype );
|
|
14
|
+
const c_button_search = clonedeep( c_button_prototype );
|
|
15
|
+
|
|
16
|
+
c_heading.c_heading_text = '404';
|
|
17
|
+
c_heading.c_heading_classes = 'lrv-a-screen-reader-only';
|
|
18
|
+
c_heading.c_heading_is_primary_heading = true;
|
|
19
|
+
|
|
20
|
+
c_svg.c_svg_name = 'logo-404';
|
|
21
|
+
c_svg.c_svg_classes = 'lrv-u-max-width-100p';
|
|
22
|
+
|
|
23
|
+
c_title.c_title_text = 'OOPS! Something went wrong here!';
|
|
24
|
+
c_title.c_title_classes = 'lrv-a-font-secondary-l lrv-u-text-transform-uppercase lrv-u-margin-b-125';
|
|
25
|
+
c_title.c_title_url = false;
|
|
26
|
+
|
|
27
|
+
c_button_home.c_button_text = 'Back To Homepage';
|
|
28
|
+
c_button_home.c_button_url = '/';
|
|
29
|
+
c_button_home.c_button_classes += ' lrv-u-background-color-black lrv-u-margin-lr-075 lrv-u-text-transform-uppercase lrv-u-font-weight-bold u-background-color-brand-primary-dark:hover lrv-u-color-white lrv-u-color-white:hover lrv-u-padding-tb-050 lrv-u-padding-lr-1';
|
|
30
|
+
|
|
31
|
+
c_button_search.c_button_text = 'Head To Search';
|
|
32
|
+
c_button_search.c_button_url = '#';
|
|
33
|
+
c_button_search.c_button_classes += ' lrv-u-background-color-black lrv-u-margin-lr-075 lrv-u-text-transform-uppercase lrv-u-font-weight-bold u-background-color-brand-primary-dark:hover lrv-u-color-white lrv-u-color-white:hover lrv-u-padding-tb-050 lrv-u-padding-lr-1 lrv-u-margin-t-050@mobile-max';
|
|
34
|
+
|
|
35
|
+
module.exports = {
|
|
36
|
+
c_heading,
|
|
37
|
+
c_title: c_title,
|
|
38
|
+
c_button_home,
|
|
39
|
+
c_button_search,
|
|
40
|
+
c_svg,
|
|
41
|
+
wrapper_classes: 'lrv-u-text-align-center lrv-u-padding-t-1 lrv-u-padding-b-2 lrv-u-margin-b-2 lrv-u-max-width-830 lrv-u-margin-lr-auto',
|
|
42
|
+
page_404_inner_classes: 'lrv-u-margin-lr-auto lrv-u-padding-lr-1',
|
|
43
|
+
button_outer_classes: 'lrv-u-flex lrv-u-justify-content-center lrv-u-align-items-center lrv-u-flex-direction-column@mobile-max',
|
|
44
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<section class="page-404 // {{ wrapper_classes }}">
|
|
2
|
+
<div class="{{ page_404_inner_classes }}">
|
|
3
|
+
{% if c_heading %}
|
|
4
|
+
{% include "@larva/components/c-heading/c-heading.twig" with c_heading %}
|
|
5
|
+
{% endif %}
|
|
6
|
+
|
|
7
|
+
{% if c_svg %}
|
|
8
|
+
{% include "@larva/components/c-svg/c-svg.twig" with c_svg %}
|
|
9
|
+
{% endif %}
|
|
10
|
+
|
|
11
|
+
{% if c_title %}
|
|
12
|
+
{% include "@larva/components/c-title/c-title.twig" with c_title %}
|
|
13
|
+
{% endif %}
|
|
14
|
+
|
|
15
|
+
{% if c_tagline %}
|
|
16
|
+
{% include "@larva/components/c-tagline/c-tagline.twig" with c_tagline %}
|
|
17
|
+
{% endif %}
|
|
18
|
+
|
|
19
|
+
<div class="buttons-outer {{ button_outer_classes }}">
|
|
20
|
+
|
|
21
|
+
{% if c_button_home %}
|
|
22
|
+
{% include "@larva/components/c-button/c-button.twig" with c_button_home %}
|
|
23
|
+
{% endif %}
|
|
24
|
+
|
|
25
|
+
{% if c_button_search %}
|
|
26
|
+
{% include "@larva/components/c-button/c-button.twig" with c_button_search %}
|
|
27
|
+
{% endif %}
|
|
28
|
+
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
</div>
|
|
32
|
+
</section>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const clonedeep = require('lodash.clonedeep');
|
|
2
|
+
|
|
3
|
+
const paragraph_prototype = require( './paragraph.prototype' );
|
|
4
|
+
const paragraph_narrow = clonedeep( paragraph_prototype );
|
|
5
|
+
|
|
6
|
+
paragraph_narrow.paragraph_classes += ' lrv-u-width-75p';
|
|
7
|
+
|
|
8
|
+
module.exports = paragraph_narrow;
|
|
@@ -1,45 +1,47 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
|
|
3
|
+
const c_link_prototype = require( '../../components/c-link/c-link.prototype' );
|
|
4
|
+
const c_tagline = clonedeep( require( '../../components/c-tagline/c-tagline.prototype' ) );
|
|
5
|
+
const c_link = clonedeep( require( '../../components/c-link/c-link.prototype' ) );
|
|
6
|
+
const o_nav = clonedeep( require( '../../objects/o-nav/o-nav.prototype' ) );
|
|
7
|
+
const c_icon = clonedeep( require( '../../components/c-icon/c-icon.full' ) );
|
|
6
8
|
|
|
7
9
|
const data = require( '../../_data/brands.json' );
|
|
8
10
|
|
|
11
|
+
c_tagline.c_tagline_classes = 'lrv-u-margin-a-00';
|
|
12
|
+
c_tagline.c_tagline_text = 'Copyright © 2018 Penske Business Media, LLC. All rights reserved.';
|
|
13
|
+
|
|
14
|
+
c_link.c_link_classes = 'lrv-a-unstyle-link';
|
|
15
|
+
c_link.c_link_text = 'Powered by WordPress.com VIP';
|
|
16
|
+
c_link.c_link_url = '#';
|
|
17
|
+
|
|
9
18
|
o_nav.o_nav_title_text = 'Our Sites';
|
|
10
19
|
o_nav.o_nav_list_items = [];
|
|
11
20
|
|
|
12
|
-
c_icon.c_icon_classes = '
|
|
13
|
-
c_icon.c_icon_name = 'pmc-logo
|
|
21
|
+
c_icon.c_icon_classes = 'lrv-u-max-width-150 lrv-u-max-height-50 lrv-u-color-black';
|
|
22
|
+
c_icon.c_icon_name = 'pmc-logo';
|
|
14
23
|
c_icon.c_icon_url = 'https://pmc.com';
|
|
15
24
|
c_icon.c_icon_rel_name = 'noopener noreferrer';
|
|
16
25
|
|
|
17
26
|
data.brands.forEach( ( brand ) => {
|
|
18
|
-
let c_link =
|
|
27
|
+
let c_link = clonedeep( c_link_prototype );
|
|
19
28
|
|
|
20
29
|
c_link.c_link_text = brand.name;
|
|
21
30
|
c_link.c_link_url = brand.url;
|
|
22
|
-
c_link.c_link_classes += '
|
|
31
|
+
c_link.c_link_classes += ' lrv-u-display-block lrv-u-background-color-brand-primary:hover lrv-u-color-white:hover lrv-u-font-weight-bold lrv-u-padding-lr-1 lrv-u-padding-tb-050';
|
|
23
32
|
|
|
24
33
|
o_nav.o_nav_list_items.push( c_link );
|
|
25
34
|
});
|
|
26
35
|
|
|
27
36
|
o_nav.o_nav_title_id_attr = 'pmc-footer';
|
|
28
|
-
o_nav.o_nav_classes = '
|
|
29
|
-
o_nav.o_nav_title_classes = '
|
|
30
|
-
o_nav.o_nav_list_classes += '
|
|
31
|
-
o_nav.o_nav_list_item_classes = '
|
|
37
|
+
o_nav.o_nav_classes = 'lrv-u-text-transform-uppercase lrv-u-font-size-12 lrv-u-border-a-1 lrv-u-border-color-grey-light lrv-u-flex@tablet lrv-js-MobileHeightToggle lrv-a-hover-dropup@tablet';
|
|
38
|
+
o_nav.o_nav_title_classes = 'lrv-u-padding-lr-1 lrv-u-margin-tb-00 lrv-u-padding-t-1 lrv-u-padding-t-050@tablet lrv-u-padding-b-050 lrv-u-width-100p lrv-a-icon-after lrv-a-icon-arrow-down lrv-a-icon-after:margin-l-auto lrv-u-cursor-pointer lrv-js-MobileHeightToggle-trigger lrv-a-hover-dropup-trigger@tablet';
|
|
39
|
+
o_nav.o_nav_list_classes += ' lrv-u-background-color-white lrv-u-padding-b-050 lrv-js-MobileHeightToggle-target lrv-a-hover-dropup-target@tablet lrv-u-box-shadow-medium@tablet';
|
|
40
|
+
o_nav.o_nav_list_item_classes = 'lrv-u-color-grey-medium-dark';
|
|
32
41
|
|
|
33
42
|
module.exports = {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
},
|
|
39
|
-
"c_link": {
|
|
40
|
-
"c_link_classes": "pmc-a-unstyle-link",
|
|
41
|
-
"c_link_text": "Powered by WordPress.com VIP",
|
|
42
|
-
"c_link_url": "#"
|
|
43
|
-
},
|
|
44
|
-
"o_nav": o_nav
|
|
43
|
+
c_icon: c_icon,
|
|
44
|
+
c_tagline: c_tagline,
|
|
45
|
+
c_link: c_link,
|
|
46
|
+
o_nav: o_nav
|
|
45
47
|
};
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
<div class="
|
|
2
|
-
|
|
1
|
+
<div class="pmc-footer // lrv-u-background-color-white">
|
|
2
|
+
<div class="lrv-a-wrapper lrv-u-align-items-center lrv-u-flex lrv-u-flex-direction-column@mobile-max lrv-u-padding-a-1 lrv-u-font-family-basic lrv-a-space-children-vertical@mobile-max lrv-a-space-children-horizontal@tablet lrv-a-space-children--1">
|
|
3
|
+
{% include "@larva/components/c-icon/c-icon.twig" with c_icon %}
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
<div class="lrv-u-font-size-10 lrv-u-color-grey-medium-dark lrv-u-line-height-normal lrv-u-text-align-center@mobile-max lrv-u-order-100@mobile-max">
|
|
6
|
+
{% include "@larva/components/c-tagline/c-tagline.twig" with c_tagline %}
|
|
7
|
+
{% include "@larva/components/c-link/c-link.twig" with c_link %}
|
|
8
|
+
</div>
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
<div class="lrv-u-flex lrv-u-width-100p@mobile-max lrv-u-flex-grow-1">
|
|
11
|
+
<div class="lrv-u-margin-l-auto@tablet lrv-u-width-100p@mobile-max">
|
|
12
|
+
{% include "@larva/objects/o-nav/o-nav.twig" with o_nav %}
|
|
13
|
+
</div>
|
|
12
14
|
</div>
|
|
13
15
|
</div>
|
|
14
16
|
</div>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
const o_figure = clonedeep( require( '../../objects/o-figure/o-figure.prototype.js' ) );
|
|
3
|
+
|
|
4
|
+
o_figure.c_lazy_image.c_lazy_image_crop_style_attr = '';
|
|
5
|
+
o_figure.c_lazy_image.c_lazy_image_link_url = '';
|
|
6
|
+
|
|
7
|
+
o_figure.c_figcaption.c_figcaption_classes = 'lrv-u-font-size-12 lrv-u-flex lrv-u-flex-direction-column lrv-u-padding-tb-025';
|
|
8
|
+
o_figure.c_figcaption.c_figcaption_caption_classes = 'lrv-u-font-size-14@desktop';
|
|
9
|
+
o_figure.c_figcaption.c_figcaption_credit_classes = 'lrv-u-text-transform-uppercase lrv-u-color-grey';
|
|
10
|
+
|
|
11
|
+
module.exports = {
|
|
12
|
+
post_content_image_classes: '',
|
|
13
|
+
o_figure: o_figure
|
|
14
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
production_credits_classes: '',
|
|
3
|
+
production_credits_title_text: 'Production Credits',
|
|
4
|
+
production_credits_markup: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.'
|
|
5
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<div class="production-credits // {{ production_credits_classes }}">
|
|
2
|
+
<p class="production-credits-title-text // {{ production_credits_title_text_classes }}"> {{ production_credits_title_text }}</p>
|
|
3
|
+
<p class="production-credits-markup // {{ production_credits_markup_classes }}"> {{ production_credits_markup|raw }}</p>
|
|
4
|
+
</div>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
|
|
3
|
+
const profile_blurb_card = clonedeep( require( './profile-blurb.prototype' ) );
|
|
4
|
+
const c_button = clonedeep( require( '../../components/c-button/c-button.prototype' ) );
|
|
5
|
+
|
|
6
|
+
profile_blurb_card.profile_blurb_classes = false;
|
|
7
|
+
profile_blurb_card.c_lazy_image.c_lazy_image_classes = false;
|
|
8
|
+
profile_blurb_card.profile_blurb_image_classes = false;
|
|
9
|
+
profile_blurb_card.o_social_list = false;
|
|
10
|
+
|
|
11
|
+
profile_blurb_card.c_title.c_title_classes = 'lrv-u-font-family-primary lrv-u-text-transform-uppercase lrv-u-font-size-16 lrv-u-color-black';
|
|
12
|
+
|
|
13
|
+
profile_blurb_card.c_tagline.c_tagline_classes = 'lrv-u-margin-tb-00 lrv-u-font-family-primary lrv-u-font-size-14@mobile-max lrv-u-font-size-16 lrv-u-font-size-18@desktop-xl';
|
|
14
|
+
profile_blurb_card.c_tagline_second.c_tagline_classes = 'lrv-u-margin-tb-00 lrv-u-font-size-14@mobile-max lrv-u-font-size-16 lrv-u-font-size-18@desktop-xl lrv-u-font-family-primary lrv-u-display-block';
|
|
15
|
+
|
|
16
|
+
profile_blurb_card.c_dek.c_dek_classes = 'lrv-u-margin-tb-050 lrv-u-font-size-16 lrv-u-font-style-italic';
|
|
17
|
+
|
|
18
|
+
profile_blurb_card.profile_blurb_c_button = 'lrv-u-text-align-center';
|
|
19
|
+
profile_blurb_card.profile_blurb_detail_classes = 'lrv-u-margin-t-050';
|
|
20
|
+
|
|
21
|
+
c_button.c_button_text = 'View Profile';
|
|
22
|
+
c_button.c_button_classes += ' lrv-u-display-inline-block lrv-u-margin-t-1 lrv-u-text-transform-uppercase lrv-u-font-size-14 lrv-u-background-color-black lrv-u-padding-lr-2 lrv-u-padding-tb-050 lrv-u-color-white lrv-u-color-grey-light:hover';
|
|
23
|
+
c_button.c_button_url = '#';
|
|
24
|
+
c_button.c_button_inner_classes = 'lrv-u-padding-lr-1@tablet';
|
|
25
|
+
|
|
26
|
+
profile_blurb_card.c_button = c_button;
|
|
27
|
+
|
|
28
|
+
module.exports = profile_blurb_card;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
|
|
3
|
+
const c_lazy_image = clonedeep( require( '../../components/c-lazy-image/c-lazy-image.prototype' ) );
|
|
4
|
+
const c_title = clonedeep( require( '../../components/c-title/c-title.prototype' ) );
|
|
5
|
+
const c_tagline = clonedeep( require( '../../components/c-tagline/c-tagline.prototype' ) );
|
|
6
|
+
const c_dek = clonedeep( require( '../../components/c-dek/c-dek.prototype' ) );
|
|
7
|
+
const o_social_list = clonedeep( require( '../../objects/o-social-list/o-social-list.prototype' ) );
|
|
8
|
+
const c_tagline_second = clonedeep( c_tagline );
|
|
9
|
+
|
|
10
|
+
c_lazy_image.c_lazy_image_classes = 'u-margin-lr-n10@mobile-max';
|
|
11
|
+
c_lazy_image.c_lazy_image_crop_class = 'lrv-a-crop-4x3';
|
|
12
|
+
|
|
13
|
+
c_title.c_title_text = 'Debra and Leon Black';
|
|
14
|
+
c_title.c_title_classes = 'lrv-u-font-family-primary lrv-u-text-transform-uppercase lrv-u-font-size-26@mobile-max lrv-u-font-size-36 lrv-u-color-black';
|
|
15
|
+
c_title.c_title_url = false;
|
|
16
|
+
c_title.c_title_link_classes = 'lrv-u-color-black';
|
|
17
|
+
|
|
18
|
+
c_tagline.c_tagline_text = 'New York';
|
|
19
|
+
c_tagline.c_tagline_classes = 'lrv-u-margin-tb-00 lrv-u-font-family-primary lrv-u-font-size-22@mobile-max lrv-u-font-size-24';
|
|
20
|
+
|
|
21
|
+
c_tagline_second.c_tagline_text = 'Investment Banking';
|
|
22
|
+
c_tagline_second.c_tagline_classes = 'lrv-u-margin-tb-00 lrv-u-font-size-22@mobile-max lrv-u-font-size-24 lrv-u-font-family-primary lrv-u-display-block';
|
|
23
|
+
|
|
24
|
+
c_dek.c_dek_text = 'Massa tincidunt dui ut ornare lectus sit. Dolor purus non enim praesent elementum facilisis leo. Aliquet eget sit amet tellus cras adipiscing enim eu. ';
|
|
25
|
+
c_dek.c_dek_classes = 'lrv-u-font-size-20 lrv-u-font-style-italic';
|
|
26
|
+
|
|
27
|
+
o_social_list.o_social_list_classes += ' lrv-u-flex';
|
|
28
|
+
|
|
29
|
+
o_social_list.o_social_list_icons.map( ( social_icon ) => {
|
|
30
|
+
social_icon.c_icon_link_classes += ' lrv-u-border-a-1 lrv-u-color-black lrv-u-border-color-grey';
|
|
31
|
+
} );
|
|
32
|
+
|
|
33
|
+
module.exports = {
|
|
34
|
+
profile_blurb_classes: 'lrv-u-flex lrv-u-flex-direction-column@mobile-max',
|
|
35
|
+
profile_blurb_image_classes: 'lrv-u-flex-shrink-0 lrv-u-margin-r-1@tablet',
|
|
36
|
+
profile_blurb_detail_classes: '',
|
|
37
|
+
profile_blurb_c_button_classes: '',
|
|
38
|
+
c_button: false,
|
|
39
|
+
c_lazy_image: c_lazy_image,
|
|
40
|
+
c_title: c_title,
|
|
41
|
+
c_tagline: c_tagline,
|
|
42
|
+
c_tagline_second: c_tagline_second,
|
|
43
|
+
c_dek: c_dek,
|
|
44
|
+
o_social_list: o_social_list,
|
|
45
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<div class="profile-blurb // {{ profile_blurb_classes }} ">
|
|
2
|
+
|
|
3
|
+
<div class="{{ profile_blurb_image_classes }}">
|
|
4
|
+
{% if c_lazy_image %}
|
|
5
|
+
{% include "@larva/components/c-lazy-image/c-lazy-image.twig" with c_lazy_image %}
|
|
6
|
+
{% endif %}
|
|
7
|
+
</div>
|
|
8
|
+
|
|
9
|
+
<div class="{{ profile_blurb_detail_classes }}">
|
|
10
|
+
{% if c_title %}
|
|
11
|
+
{% include "@larva/components/c-title/c-title.twig" with c_title %}
|
|
12
|
+
{% endif %}
|
|
13
|
+
|
|
14
|
+
{% if c_tagline %}
|
|
15
|
+
{% include "@larva/components/c-tagline/c-tagline.twig" with c_tagline %}
|
|
16
|
+
{% endif %}
|
|
17
|
+
|
|
18
|
+
{% if c_tagline_second %}
|
|
19
|
+
{% include "@larva/components/c-tagline/c-tagline.twig" with c_tagline_second %}
|
|
20
|
+
{% endif %}
|
|
21
|
+
|
|
22
|
+
{% if c_dek %}
|
|
23
|
+
{% include "@larva/components/c-dek/c-dek.twig" with c_dek %}
|
|
24
|
+
{% endif %}
|
|
25
|
+
|
|
26
|
+
{% if o_social_list %}
|
|
27
|
+
{% include "@larva/objects/o-social-list/o-social-list.twig" with o_social_list %}
|
|
28
|
+
{% endif %}
|
|
29
|
+
|
|
30
|
+
{% if c_button %}
|
|
31
|
+
<div class="{{ profile_blurb_c_button_classes }}">
|
|
32
|
+
{% include "@larva/components/c-button/c-button.twig" with c_button %}
|
|
33
|
+
</div>
|
|
34
|
+
{% endif %}
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
</div>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
|
|
3
|
+
const c_heading = clonedeep( require( '../../components/c-heading/c-heading.prototype' ) );
|
|
4
|
+
|
|
5
|
+
const c_dek_prototype = require( '../../components/c-dek/c-dek.prototype' );
|
|
6
|
+
const c_dek = clonedeep( c_dek_prototype );
|
|
7
|
+
|
|
8
|
+
c_dek.c_dek_markup = '';
|
|
9
|
+
c_dek.c_dek_classes = 'lrv-u-font-size-28 lrv-u-font-weight-light lrv-u-font-family-body lrv-u-margin-tb-1';
|
|
10
|
+
|
|
11
|
+
c_heading.c_heading_text = 'Overview';
|
|
12
|
+
c_heading.c_heading_classes = 'lrv-u-font-family-secondary lrv-u-font-size-40';
|
|
13
|
+
|
|
14
|
+
module.exports = {
|
|
15
|
+
c_heading: c_heading,
|
|
16
|
+
c_dek: c_dek,
|
|
17
|
+
profile_body_classes: '',
|
|
18
|
+
profile_body_content_classes: 'lrv-u-font-size-18 lrv-u-margin-tb-050',
|
|
19
|
+
profile_body_content_markup: '<b>Perfection</b> 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!'
|
|
20
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<div class="profile-body // {{ profile_body_classes }}">
|
|
2
|
+
|
|
3
|
+
{% if c_heading %}
|
|
4
|
+
{% include "@larva/components/c-heading/c-heading.twig" with c_heading %}
|
|
5
|
+
{% endif %}
|
|
6
|
+
|
|
7
|
+
{% if c_dek %}
|
|
8
|
+
{% include "@larva/components/c-dek/c-dek.twig" with c_dek %}
|
|
9
|
+
{% endif %}
|
|
10
|
+
|
|
11
|
+
<div class="profile-body__content // {{ profile_body_content_classes }}">
|
|
12
|
+
{{ profile_body_content_markup|raw }}
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
</div>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
|
|
3
|
+
const c_heading = clonedeep( require( '../../components/c-heading/c-heading.prototype' ) );
|
|
4
|
+
const o_card_list = clonedeep( require( '../../objects/o-card-list/o-card-list.prototype' ) );
|
|
5
|
+
|
|
6
|
+
c_heading.c_heading_classes += ' lrv-u-text-align-center lrv-u-font-family-secondary lrv-u-font-size-36 lrv-u-font-size-46@desktop-xl lrv-u-padding-b-2';
|
|
7
|
+
c_heading.c_heading_text = 'Browse By Categories';
|
|
8
|
+
|
|
9
|
+
o_card_list.o_card_list_classes += ' lrv-u-flex lrv-a-space-children-horizontal lrv-a-space-children--2 lrv-u-justify-content-space-evenly lrv-u-flex-wrap-wrap';
|
|
10
|
+
|
|
11
|
+
o_card_list.o_card_list_item_classes += ' lrv-u-text-align-center lrv-u-margin-b-1';
|
|
12
|
+
|
|
13
|
+
o_card_list.o_card_list_items.map( o_card => {
|
|
14
|
+
o_card.c_lazy_image.c_lazy_image_img_classes += ' lrv-u-border-radius-50p';
|
|
15
|
+
o_card.c_lazy_image.c_lazy_image_crop_class = 'lrv-a-crop-1x1';
|
|
16
|
+
|
|
17
|
+
o_card.o_card_link_url = '#';
|
|
18
|
+
o_card.o_card_link_classes = 'lrv-a-unstyle-link';
|
|
19
|
+
o_card.c_title.c_title_classes += ' lrv-u-margin-t-1';
|
|
20
|
+
o_card.c_title.c_title_url = false;
|
|
21
|
+
o_card.c_span = false;
|
|
22
|
+
o_card.c_timestamp = false;
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
module.exports = {
|
|
26
|
+
profile_browse_by_classes: '',
|
|
27
|
+
c_heading: c_heading,
|
|
28
|
+
o_card_list: o_card_list,
|
|
29
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<section class="profile-browse-by // {{ profile_browse_by_classes }}">
|
|
2
|
+
<div class="lrv-a-wrapper">
|
|
3
|
+
{% include "@larva/components/c-heading/c-heading.twig" with c_heading %}
|
|
4
|
+
{% include "@larva/objects/o-card-list/o-card-list.twig" with o_card_list %}
|
|
5
|
+
</div>
|
|
6
|
+
</section>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
|
|
3
|
+
const profile_blurb_card = clonedeep( require( '../profile-blurb/profile-blurb.card' ) );
|
|
4
|
+
|
|
5
|
+
module.exports = {
|
|
6
|
+
profile_card_list_classes: 'lrv-a-unstyle-list lrv-a-grid lrv-a-cols2 lrv-a-cols3@tablet',
|
|
7
|
+
profile_card_list: [
|
|
8
|
+
profile_blurb_card,
|
|
9
|
+
profile_blurb_card,
|
|
10
|
+
profile_blurb_card,
|
|
11
|
+
profile_blurb_card,
|
|
12
|
+
profile_blurb_card,
|
|
13
|
+
profile_blurb_card,
|
|
14
|
+
profile_blurb_card,
|
|
15
|
+
profile_blurb_card,
|
|
16
|
+
profile_blurb_card,
|
|
17
|
+
profile_blurb_card,
|
|
18
|
+
profile_blurb_card,
|
|
19
|
+
profile_blurb_card,
|
|
20
|
+
profile_blurb_card,
|
|
21
|
+
profile_blurb_card,
|
|
22
|
+
profile_blurb_card,
|
|
23
|
+
profile_blurb_card
|
|
24
|
+
]
|
|
25
|
+
}
|