@penskemediacorp/larva-patterns 1.2.0-alpha.0 → 1.3.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/README.md +9 -6
- 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/_data/brands.json +40 -0
- package/_templates/pattern-nav.html +52 -0
- 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 +73 -0
- 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 +11 -0
- package/components/c-button/c-button.stripped.js +8 -0
- package/components/c-button/c-button.twig +19 -0
- 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 +10 -0
- package/components/c-heading/c-heading.twig +29 -0
- 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 +8 -0
- package/components/c-icon/c-icon.prototype.js +12 -0
- package/components/c-icon/c-icon.twig +34 -0
- 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 +9 -0
- package/components/c-link/c-link.twig +13 -0
- 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/{src/components/c-label/c-label.scss → components/c-span/README.md} +0 -19
- package/components/c-span/c-span.prototype.js +7 -0
- package/components/c-span/c-span.tag.js +7 -0
- package/components/c-span/c-span.twig +11 -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/{src/components → components}/c-tagline/c-tagline.twig +3 -3
- package/components/c-timestamp/c-timestamp.prototype.js +6 -0
- package/components/c-timestamp/c-timestamp.twig +9 -0
- package/components/c-title/README.md +7 -0
- package/components/c-title/c-title.prototype.js +9 -0
- package/{src/components → components}/c-title/c-title.twig +14 -2
- package/css.html +44 -0
- package/index.html +9 -0
- package/index.js +4 -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/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 +24 -0
- package/modules/article-tags/article-tags.twig +3 -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-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 +11 -0
- package/modules/badge/badge.twig +3 -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/breadcrumbs/breadcrumbs.prototype.js +7 -0
- package/modules/breadcrumbs/breadcrumbs.twig +3 -0
- 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 +29 -0
- package/modules/content-showcase/content-showcase.the-moth.js +31 -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/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 +18 -0
- package/modules/footer-menus/footer-menus.twig +5 -0
- 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 +36 -0
- package/modules/footer-social/footer-social.twig +5 -0
- package/modules/footer-tip/footer-tip.prototype.js +23 -0
- package/modules/footer-tip/footer-tip.twig +5 -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.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/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/paragraph/paragraph.prototype.js +8 -0
- package/modules/paragraph/paragraph.twig +3 -0
- package/modules/pmc-footer/README.md +3 -0
- package/modules/pmc-footer/pmc-footer.prototype.js +47 -0
- package/modules/pmc-footer/pmc-footer.twig +17 -0
- 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/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/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 +32 -0
- package/modules/story-featured-quote/story-featured-quote.twig +25 -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/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 +13 -0
- package/objects/o-author/o-author.twig +13 -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-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 +16 -0
- package/objects/o-figure/o-figure.twig +34 -0
- package/objects/o-header/o-header.prototype.js +14 -0
- package/{src/objects → 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 +21 -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 +3 -0
- package/objects/o-nav/o-nav.horizontal.js +8 -0
- package/objects/o-nav/o-nav.prototype.js +23 -0
- package/objects/o-nav/o-nav.twig +40 -0
- 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 +23 -0
- package/objects/o-social-list/o-social-list.twig +15 -0
- 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 +10 -0
- package/{src/objects → 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 +26 -0
- package/{src/objects → objects}/o-tease/o-tease.twig +7 -3
- package/objects/o-tease-list/o-tease-list.prototype.js +14 -0
- package/{src/objects → objects}/o-tease-list/o-tease-list.twig +5 -1
- package/package.json +7 -12
- package/pattern.html +68 -0
- package/style-guide/colors.html +33 -0
- package/style-guide/fonts.html +22 -0
- package/style-guide/index.html +14 -0
- package/src/components/.DS_Store +0 -0
- package/src/components/c-button/.DS_Store +0 -0
- package/src/components/c-button/c-button.prototype.js +0 -5
- package/src/components/c-button/c-button.scss +0 -33
- package/src/components/c-button/c-button.twig +0 -13
- package/src/components/c-heading/.DS_Store +0 -0
- package/src/components/c-heading/c-heading.prototype.js +0 -5
- package/src/components/c-heading/c-heading.scss +0 -12
- package/src/components/c-heading/c-heading.twig +0 -20
- package/src/components/c-label/.DS_Store +0 -0
- package/src/components/c-label/c-label.prototype.js +0 -8
- package/src/components/c-label/c-label.twig +0 -11
- package/src/components/c-nav-link/c-nav-link.prototype.js +0 -6
- package/src/components/c-nav-link/c-nav-link.scss +0 -14
- package/src/components/c-nav-link/c-nav-link.twig +0 -3
- package/src/components/c-tagline/.DS_Store +0 -0
- package/src/components/c-tagline/c-tagline.json +0 -4
- package/src/components/c-tagline/c-tagline.scss +0 -19
- package/src/components/c-timestamp/.DS_Store +0 -0
- package/src/components/c-timestamp/c-timestamp.prototype.js +0 -5
- package/src/components/c-timestamp/c-timestamp.scss +0 -5
- package/src/components/c-timestamp/c-timestamp.twig +0 -1
- package/src/components/c-title/.DS_Store +0 -0
- package/src/components/c-title/c-title.prototype.js +0 -5
- package/src/components/c-title/c-title.scss +0 -30
- package/src/components/components.scss +0 -1
- package/src/objects/.DS_Store +0 -0
- package/src/objects/o-figure/.DS_Store +0 -0
- package/src/objects/o-figure/o-figure.prototype.js +0 -8
- package/src/objects/o-figure/o-figure.scss +0 -46
- package/src/objects/o-figure/o-figure.twig +0 -57
- package/src/objects/o-header/.DS_Store +0 -0
- package/src/objects/o-header/o-header.prototype.js +0 -12
- package/src/objects/o-header/o-header.scss +0 -5
- package/src/objects/o-nav/o-nav.prototype.js +0 -20
- package/src/objects/o-nav/o-nav.scss +0 -41
- package/src/objects/o-nav/o-nav.twig +0 -14
- package/src/objects/o-sponsored-by/.DS_Store +0 -0
- package/src/objects/o-sponsored-by/o-sponsored-by.prototype.js +0 -11
- package/src/objects/o-sponsored-by/o-sponsored-by.scss +0 -5
- package/src/objects/o-tease/.DS_Store +0 -0
- package/src/objects/o-tease/o-tease.prototype.js +0 -22
- package/src/objects/o-tease/o-tease.scss +0 -30
- package/src/objects/o-tease-list/.DS_Store +0 -0
- package/src/objects/o-tease-list/o-tease-list.prototype.js +0 -25
- package/src/objects/o-tease-list/o-tease-list.scss +0 -11
- package/src/objects/objects.scss +0 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<section class="secondary-stories {{ secondary_stories_classes }}">
|
|
2
|
+
<div class="stories-content-primary // {{ stories_content_primary_classes }} ">
|
|
3
|
+
<div class="stories-content-primary-inner // {{ stories_content_primary_inner_classes }} ">
|
|
4
|
+
<div class="stories-card-primary // {{ stories_card_primary_classes }}">
|
|
5
|
+
{% include "@larva/objects/o-card/o-card.twig" with stories[0] %}
|
|
6
|
+
</div>
|
|
7
|
+
<div class="stories-card-secondary // {{ stories_card_secondary_classes }} ">
|
|
8
|
+
<div class=" stories-card-secondary-inner // {{ stories_card_secondary_inner_classes }}">
|
|
9
|
+
{% include "@larva/objects/o-card/o-card.twig" with stories[1] %}
|
|
10
|
+
{% include "@larva/objects/o-card/o-card.twig" with stories[2] %}
|
|
11
|
+
</div>
|
|
12
|
+
{% include "@larva/objects/o-card/o-card.twig" with stories[3] %}
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="stories-content-secondary // {{ stories_content_secondary_classes }} ">
|
|
17
|
+
<div class="stories-content-secondary-inner // {{ stories_content_secondary_inner_classes }} ">
|
|
18
|
+
{% include "@larva/objects/o-card/o-card.twig" with stories[4] %}
|
|
19
|
+
{% include "@larva/objects/o-card/o-card.twig" with stories[5] %}
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</section>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<hr class="separator larva // {{ separator_classes }} {{ separator_border_color_class }}" />
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
|
|
3
|
+
const c_icon = clonedeep( require( '../../components/c-icon/c-icon.prototype' ) );
|
|
4
|
+
const social_share_primary_items = [ 'facebook', 'twitter', 'pinterest', 'tumblr', 'reddit', 'linkedin', 'print' ];
|
|
5
|
+
|
|
6
|
+
const social_share_primary = [];
|
|
7
|
+
const social_share_secondary = [];
|
|
8
|
+
|
|
9
|
+
const c_icon_struct = clonedeep( c_icon );
|
|
10
|
+
c_icon_struct.c_icon_link_classes = 'lrv-a-unstyle-link lrv-u-display-block lrv-u-display-inline-flex';
|
|
11
|
+
c_icon_struct.c_icon_url = '#';
|
|
12
|
+
c_icon_struct.c_icon_classes = 'lrv-u-width-16 lrv-u-height-16';
|
|
13
|
+
|
|
14
|
+
for ( let i = 0; i < social_share_primary_items.length; i++ ) {
|
|
15
|
+
let c_icon_social = clonedeep( c_icon_struct );
|
|
16
|
+
|
|
17
|
+
c_icon_social.c_icon_rel_name = social_share_primary_items[i];
|
|
18
|
+
c_icon_social.c_icon_name = social_share_primary_items[i];
|
|
19
|
+
|
|
20
|
+
if ( 3 < i ) {
|
|
21
|
+
social_share_primary.push( c_icon_social );
|
|
22
|
+
} else {
|
|
23
|
+
social_share_secondary.push( c_icon_social );
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
const c_icon_plus = clonedeep( c_icon );
|
|
28
|
+
c_icon_plus.c_icon_link_classes = 'lrv-a-unstyle-button lrv-u-cursor-pointer';
|
|
29
|
+
c_icon_plus.c_icon_url = '';
|
|
30
|
+
c_icon_plus.c_icon_rel_name = 'plus';
|
|
31
|
+
c_icon_plus.c_icon_name = 'plus';
|
|
32
|
+
c_icon_plus.c_icon_classes = 'lrv-u-width-16 lrv-u-height-16';
|
|
33
|
+
|
|
34
|
+
module.exports = {
|
|
35
|
+
social_share_classes: '',
|
|
36
|
+
social_share_prefix: false,
|
|
37
|
+
social_share_prefix_classes: 'lrv-u-display-none@mobile-max lrv-u-color-grey lrv-u-font-size-10 lrv-u-text-transform-uppercase lrv-u-margin-r-1@tablet lrv-u-margin-b-050@mobile-max',
|
|
38
|
+
social_share_prefix_text: 'Share',
|
|
39
|
+
social_share_items_classes: 'lrv-a-space-children--1 lrv-a-space-children-horizontal',
|
|
40
|
+
social_share_primary: social_share_primary,
|
|
41
|
+
social_share_secondary: social_share_secondary,
|
|
42
|
+
c_icon_plus: c_icon_plus
|
|
43
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<div class="social-share // lrv-u-align-items-center lrv-u-flex {{ social_share_classes }}">
|
|
2
|
+
{% if social_share_prefix %}
|
|
3
|
+
<span class="{{ social_share_prefix_classes }}">
|
|
4
|
+
{{ social_share_prefix_text }}
|
|
5
|
+
</span>
|
|
6
|
+
{% endif %}
|
|
7
|
+
|
|
8
|
+
<h2 id="article-social-share" class="lrv-a-screen-reader-only">Services to share this page.</h2>
|
|
9
|
+
<ul class="lrv-a-unstyle-list lrv-u-flex lrv-u-flex-wrap-wrap {{ social_share_items_classes }}" data-collapsible="collapsed" aria-labelledby="article-social-share">
|
|
10
|
+
{% for item in social_share_primary %}
|
|
11
|
+
<li class="{{ social_share_item_classes }}">
|
|
12
|
+
{% include "@larva/components/c-icon/c-icon.twig" with item %}
|
|
13
|
+
</li>
|
|
14
|
+
{% endfor %}
|
|
15
|
+
|
|
16
|
+
{% if social_share_secondary %}
|
|
17
|
+
<li data-collapsible-toggle>
|
|
18
|
+
<button class="c-button {{ c_icon_plus['c_icon_link_classes'] }}" title="Show more sharing options" data-toggle>
|
|
19
|
+
{% include "@larva/components/c-icon/c-icon.twig" with c_icon_plus %}
|
|
20
|
+
</button>
|
|
21
|
+
</li>
|
|
22
|
+
|
|
23
|
+
{% for item in social_share_secondary %}
|
|
24
|
+
<li class="{{ social_share_item_classes }}" data-collapsible-panel>
|
|
25
|
+
{% include "@larva/components/c-icon/c-icon.twig" with item %}
|
|
26
|
+
</li>
|
|
27
|
+
{% endfor %}
|
|
28
|
+
{% endif %}
|
|
29
|
+
</ul>
|
|
30
|
+
</div>
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
|
|
3
|
+
const story_card = clonedeep( require( '@penskemediacorp/larva-patterns/modules/story/story.vertical' ) );
|
|
4
|
+
const c_heading = clonedeep( require('@penskemediacorp/larva-patterns/components/c-heading/c-heading.prototype') );
|
|
5
|
+
const c_lazy_image = clonedeep( require( '@penskemediacorp/larva-patterns/components/c-lazy-image/c-lazy-image.prototype.js' ) );
|
|
6
|
+
|
|
7
|
+
c_heading.c_heading_classes += ' a-font-theme-primary-s lrv-u-font-size-32@desktop lrv-u-font-size-28 lrv-u-line-height-small lrv-u-text-transform-uppercase lrv-u-line-height-small';
|
|
8
|
+
|
|
9
|
+
heading_1 = clonedeep( c_heading );
|
|
10
|
+
heading_2 = clonedeep( c_heading );
|
|
11
|
+
|
|
12
|
+
heading_1.c_heading_text = 'Rolling Stone';
|
|
13
|
+
heading_1.c_heading_classes += ' lrv-u-color-brand-primary';
|
|
14
|
+
|
|
15
|
+
heading_2.c_heading_text = 'Reports';
|
|
16
|
+
|
|
17
|
+
c_lazy_image.c_lazy_image_crop_class = 'lrv-a-crop-5x1';
|
|
18
|
+
|
|
19
|
+
story_card.story_classes += ' lrv-u-padding-lr-2@desktop-xl lrv-u-padding-lr-1@desktop lrv-u-padding-tb-125@mobile-max lrv-u-flex-basis-100p';
|
|
20
|
+
story_card.c_dek.c_dek_classes = 'lrv-a-font-body-s lrv-a-hidden@mobile-max lrv-u-margin-a-00';
|
|
21
|
+
story_card.c_title.c_title_classes = 'lrv-a-font-primary-xs lrv-u-display-block lrv-u-margin-b-050 ';
|
|
22
|
+
story_card.c_title.c_title_link_classes += ' lrv-a-truncate-ellipsis-5line';
|
|
23
|
+
story_card.story_grid_secondary_classes = 'lrv-a-span2';
|
|
24
|
+
story_card.story_links_classes += ' lrv-u-margin-tb-00@desktop lrv-u-margin-tb-00@mobile-max lrv-u-margin-t-1@desktop';
|
|
25
|
+
story_card.story_nav_classes = 'lrv-a-font-secondary-m';
|
|
26
|
+
story_card.story_grid_classes = 'lrv-u-flex lrv-u-flex-direction-column@desktop';
|
|
27
|
+
story_card.story_grid_primary_classes = 'lrv-u-flex-basis-50p@mobile-max lrv-u-margin-r-1@mobile-max';
|
|
28
|
+
story_card.story_grid_secondary_classes = 'lrv-u-flex-basis-50p@mobile-max';
|
|
29
|
+
story_card.c_span = false;
|
|
30
|
+
story_card.c_dek = false;
|
|
31
|
+
story_card.c_tagline_author = false;
|
|
32
|
+
story_card.c_timestamp = false;
|
|
33
|
+
story_card.c_link_bottom = false;
|
|
34
|
+
|
|
35
|
+
const special_coverage_items = [ story_card, story_card, story_card, story_card ];
|
|
36
|
+
|
|
37
|
+
module.exports = {
|
|
38
|
+
special_coverage_wrapper_classes: 'lrv-u-flex lrv-u-flex-direction-column@mobile-max lrv-u-padding-lr-150@mobile-max',
|
|
39
|
+
special_coverage_banner_classes: 'lrv-u-margin-r-2@desktop lrv-u-padding-tb-1 lrv-u-padding-tb-2@desktop lrv-u-flex-basis-15p@desktop',
|
|
40
|
+
special_coverage_items_classes: ' lrv-u-flex lrv-a-children-border-horizontal@desktop lrv-a-children-border-vertical@mobile-max lrv-u-flex-direction-column@mobile-max lrv-u-flex-basis-85p@desktop',
|
|
41
|
+
special_coverage_heading_classes: 'lrv-u-padding-b-150@desktop lrv-u-padding-b-125@mobile-max lrv-u-border-b-1',
|
|
42
|
+
special_coverage_logo_classes: 'lrv-u-padding-t-150@desktop lrv-u-padding-t-125@mobile-max',
|
|
43
|
+
heading_1,
|
|
44
|
+
heading_2,
|
|
45
|
+
c_lazy_image,
|
|
46
|
+
special_coverage_items,
|
|
47
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<div class="special-coverage {{ special_coverage_classes }}">
|
|
2
|
+
<div class="{{ special_coverage_wrapper_classes }}">
|
|
3
|
+
<div class="{{ special_coverage_banner_classes }}">
|
|
4
|
+
{% if special_coverage_heading_classes %}
|
|
5
|
+
<div class="special-coverage-heading {{ special_coverage_heading_classes }}">
|
|
6
|
+
{% if heading_1 %}
|
|
7
|
+
{% include "@larva/components/c-heading/c-heading.twig" with heading_1 %}
|
|
8
|
+
{% endif %}
|
|
9
|
+
{% if heading_2 %}
|
|
10
|
+
{% include "@larva/components/c-heading/c-heading.twig" with heading_2 %}
|
|
11
|
+
{% endif %}
|
|
12
|
+
</div>
|
|
13
|
+
{% endif %}
|
|
14
|
+
{% if c_lazy_image %}
|
|
15
|
+
<div class="special-coverage-logo {{ special_coverage_logo_classes }}">
|
|
16
|
+
{% include "@larva/components/c-lazy-image/c-lazy-image.twig" with c_lazy_image %}
|
|
17
|
+
</div>
|
|
18
|
+
{% endif %}
|
|
19
|
+
</div>
|
|
20
|
+
<div class="{{ special_coverage_items_classes }}">
|
|
21
|
+
{% for item in special_coverage_items %}
|
|
22
|
+
{% include "@larva/modules/story/story.twig" with item %}
|
|
23
|
+
{% endfor %}
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
{% if c_span %}
|
|
27
|
+
{% include "@larva/components/c-span/c-span.twig" with c_span %}
|
|
28
|
+
{% endif %}
|
|
29
|
+
<div>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const { __experimentalCloneWithFallback } = require( '@penskemediacorp/larva' );
|
|
2
|
+
|
|
3
|
+
const story_borders = __experimentalCloneWithFallback( 'modules/story/story.prototype' );
|
|
4
|
+
|
|
5
|
+
story_borders.story_grid_classes += ' lrv-u-border-a-1';
|
|
6
|
+
story_borders.story_grid_secondary_classes += ' lrv-u-padding-r-2@desktop-xl lrv-u-padding-r-00 lrv-u-padding-r-1@desktop';
|
|
7
|
+
|
|
8
|
+
module.exports = story_borders;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
|
|
3
|
+
const story_center_vertical_borders = clonedeep( require( './story.center-vertical' ) );
|
|
4
|
+
|
|
5
|
+
story_center_vertical_borders.story_grid_classes += ' lrv-u-border-a-1';
|
|
6
|
+
|
|
7
|
+
module.exports = story_center_vertical_borders;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
|
|
3
|
+
const story_center_vertical = clonedeep( require( './story.vertical' ) );
|
|
4
|
+
|
|
5
|
+
story_center_vertical.story_nav_classes += ' lrv-u-justify-content-center';
|
|
6
|
+
story_center_vertical.story_links_classes += ' lrv-u-justify-content-center';
|
|
7
|
+
story_center_vertical.c_link_bottom_wrapper_classes += ' lrv-u-justify-content-center';
|
|
8
|
+
|
|
9
|
+
story_center_vertical.story_grid_secondary_classes += ' lrv-u-text-align-center';
|
|
10
|
+
|
|
11
|
+
module.exports = story_center_vertical;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
const { __experimentalCloneWithFallback } = require( '@penskemediacorp/larva' );
|
|
2
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
3
|
+
|
|
4
|
+
const c_span = __experimentalCloneWithFallback( 'components/c-span/c-span.tag' );
|
|
5
|
+
const c_title = __experimentalCloneWithFallback( 'components/c-title/c-title.prototype' );
|
|
6
|
+
const c_dek = __experimentalCloneWithFallback( 'components/c-dek/c-dek.prototype' );
|
|
7
|
+
const c_tagline = __experimentalCloneWithFallback( 'components/c-tagline/c-tagline.prototype' );
|
|
8
|
+
const c_timestamp = __experimentalCloneWithFallback( 'components/c-timestamp/c-timestamp.prototype' );
|
|
9
|
+
|
|
10
|
+
const c_tagline_author = clonedeep( c_tagline );
|
|
11
|
+
const c_lazy_image = clonedeep( require( '../../components/c-lazy-image/c-lazy-image.prototype' ) );
|
|
12
|
+
|
|
13
|
+
c_title.c_title_text = '‘A Momentous Weekend’: LACMA’s High-Stakes Collectors Committee Event Raises $2.4 M.';
|
|
14
|
+
c_title.c_title_classes = 'lrv-u-font-size-14 lrv-u-font-size-26@tablet lrv-u-font-size-32@desktop lrv-u-font-family-primary lrv-u-display-block lrv-u-font-weight-normal lrv-u-font-weight-bold@desktop lrv-u-line-height-small lrv-u-margin-b-050';
|
|
15
|
+
c_title.c_title_link_classes = 'lrv-a-unstyle-link lrv-u-color-brand-primary:hover';
|
|
16
|
+
|
|
17
|
+
c_dek.c_dek_text = false;
|
|
18
|
+
c_dek.c_dek_markup = 'Lorem ipsum <i>dolor</i> sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation.';
|
|
19
|
+
|
|
20
|
+
c_tagline_author.c_tagline_classes = 'lrv-u-margin-l-050';
|
|
21
|
+
c_tagline_author.c_tagline_markup = "<a href='#'>Staff Writer</a>";
|
|
22
|
+
c_tagline_author.c_tagline_text = false;
|
|
23
|
+
|
|
24
|
+
c_lazy_image.c_lazy_image_crop_class = 'lrv-a-crop-3x2';
|
|
25
|
+
|
|
26
|
+
module.exports = {
|
|
27
|
+
story_classes: '',
|
|
28
|
+
story_nav_classes: 'lrv-u-font-size-12 lrv-u-font-family-primary lrv-u-text-transform-uppercase lrv-u-font-weight-bold lrv-u-color-black ',
|
|
29
|
+
story_nav_layout_classes: 'lrv-u-flex lrv-u-align-items-center lrv-a-space-children-horizontal lrv-a-space-children--2 lrv-a-hidden@mobile-max lrv-u-margin-t-050',
|
|
30
|
+
story_grid_classes: 'lrv-a-grid lrv-a-cols3',
|
|
31
|
+
story_grid_primary_classes: 'lrv-u-margin-r-2@desktop-xl lrv-u-margin-r-00 lrv-u-margin-r-1@desktop',
|
|
32
|
+
story_grid_secondary_classes: 'lrv-a-span2',
|
|
33
|
+
story_links_classes: '',
|
|
34
|
+
c_span,
|
|
35
|
+
c_link: false,
|
|
36
|
+
c_link_bottom: false,
|
|
37
|
+
c_link_bottom_wrapper_classes: '',
|
|
38
|
+
c_title: c_title,
|
|
39
|
+
c_dek: c_dek,
|
|
40
|
+
c_lazy_image: c_lazy_image,
|
|
41
|
+
c_tagline_author,
|
|
42
|
+
c_timestamp,
|
|
43
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
|
|
3
|
+
const story_right_borders = clonedeep( require( './story.right' ) );
|
|
4
|
+
|
|
5
|
+
story_right_borders.story_grid_classes += ' lrv-u-border-a-1';
|
|
6
|
+
|
|
7
|
+
story_right_borders.story_grid_secondary_classes += ' lrv-u-padding-l-2@desktop-xl lrv-u-padding-l-00 lrv-u-padding-l-1@desktop';
|
|
8
|
+
|
|
9
|
+
module.exports = story_right_borders;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const { __experimentalCloneWithFallback } = require( '@penskemediacorp/larva' );
|
|
2
|
+
|
|
3
|
+
const story_right = __experimentalCloneWithFallback( 'modules/story/story.prototype' );
|
|
4
|
+
|
|
5
|
+
story_right.story_grid_primary_classes = 'lrv-u-margin-l-2@desktop-xl lrv-u-margin-l-00 lrv-u-margin-l-1@desktop';
|
|
6
|
+
|
|
7
|
+
story_right.story_grid_primary_classes += ' lrv-u-order-100';
|
|
8
|
+
story_right.story_grid_secondary_classes += ' lrv-u-order-n1 lrv-u-text-align-right';
|
|
9
|
+
|
|
10
|
+
story_right.story_nav_classes += ' lrv-u-justify-content-end';
|
|
11
|
+
story_right.story_links_classes += ' lrv-u-justify-content-end';
|
|
12
|
+
story_right.c_link_bottom_wrapper_classes += ' lrv-u-justify-content-end';
|
|
13
|
+
|
|
14
|
+
module.exports = story_right;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
|
|
3
|
+
const story_story_arc = clonedeep( require( './story.prototype' ) );
|
|
4
|
+
|
|
5
|
+
const story_arc_stories = clonedeep( require( '../story-arc-stories/story-arc-stories.prototype' ) );
|
|
6
|
+
|
|
7
|
+
story_story_arc.story_arc_stories = story_arc_stories;
|
|
8
|
+
|
|
9
|
+
module.exports = story_story_arc;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
<div class="story lrv-u-padding-tb-1 lrv-u-padding-tb-2@desktop // {{ story_classes }}">
|
|
2
|
+
<div class="{{ story_grid_classes }}">
|
|
3
|
+
|
|
4
|
+
<div class="{{ story_grid_primary_classes }} // lrv-a-glue-parent u-padding-t-1@mobile-max lrv-u-flex lrv-u-flex-direction-column lrv-u-height-100p lrv-u-justify-content-start">
|
|
5
|
+
<div class="lrv-a-glue-parent">
|
|
6
|
+
{% if c_lazy_image %}
|
|
7
|
+
{% include "@larva/components/c-lazy-image/c-lazy-image.twig" with c_lazy_image %}
|
|
8
|
+
{% endif %}
|
|
9
|
+
|
|
10
|
+
{% if o_indicator %}
|
|
11
|
+
{% include "@larva/objects/o-indicator/o-indicator.twig" with o_indicator %}
|
|
12
|
+
{% endif %}
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
|
|
16
|
+
<div class="{{ story_grid_secondary_classes }} // lrv-u-flex lrv-u-flex-direction-column lrv-u-height-100p lrv-u-justify-content-center">
|
|
17
|
+
{% if c_title %}
|
|
18
|
+
{% include "@larva/components/c-title/c-title.twig" with c_title %}
|
|
19
|
+
{% endif %}
|
|
20
|
+
|
|
21
|
+
{% if c_dek %}
|
|
22
|
+
{% include "@larva/components/c-dek/c-dek.twig" with c_dek %}
|
|
23
|
+
{% endif %}
|
|
24
|
+
|
|
25
|
+
<ul class="lrv-u-flex lrv-u-order-n1 lrv-a-unstyle-list lrv-a-space-children-horizontal lrv-a-space-children--050 lrv-u-margin-b-050 u-letter-spacing-012 // {{ story_links_classes }}">
|
|
26
|
+
|
|
27
|
+
{% if c_link_top %}
|
|
28
|
+
<li>
|
|
29
|
+
{% include "@larva/components/c-link/c-link.twig" with c_link_top %}
|
|
30
|
+
</li>
|
|
31
|
+
{% endif %}
|
|
32
|
+
|
|
33
|
+
{% if c_span %}
|
|
34
|
+
<li>
|
|
35
|
+
{% include "@larva/components/c-span/c-span.twig" with c_span %}
|
|
36
|
+
</li>
|
|
37
|
+
{% endif %}
|
|
38
|
+
|
|
39
|
+
{% if article_kicker %}
|
|
40
|
+
<li>
|
|
41
|
+
{% include "@larva/modules/article-kicker/article-kicker.twig" with article_kicker %}
|
|
42
|
+
</li>
|
|
43
|
+
{% endif %}
|
|
44
|
+
</ul>
|
|
45
|
+
|
|
46
|
+
<ul class="lrv-a-unstyle-list // {{ story_nav_classes }} {{ story_nav_layout_classes }}">
|
|
47
|
+
{% if c_button %}
|
|
48
|
+
<li class="lrv-u-flex">
|
|
49
|
+
{% include "@larva/components/c-button/c-button.twig" with c_button %}
|
|
50
|
+
</li>
|
|
51
|
+
{% endif %}
|
|
52
|
+
|
|
53
|
+
{% if c_tagline_author %}
|
|
54
|
+
<li class="lrv-u-flex // {{ c_tagline_author_wrapper_classes }}">
|
|
55
|
+
By {% include "@larva/components/c-tagline/c-tagline.twig" with c_tagline_author %}
|
|
56
|
+
</li>
|
|
57
|
+
{% endif %}
|
|
58
|
+
|
|
59
|
+
{% if c_timestamp %}
|
|
60
|
+
<li>
|
|
61
|
+
{% include "@larva/components/c-timestamp/c-timestamp.twig" with c_timestamp %}
|
|
62
|
+
</li>
|
|
63
|
+
{% endif %}
|
|
64
|
+
</ul>
|
|
65
|
+
|
|
66
|
+
{% if c_link_bottom %}
|
|
67
|
+
<div class="lrv-u-flex lrv-u-order-100 lrv-u-margin-t-050 // {{ c_link_bottom_wrapper_classes }}">
|
|
68
|
+
{% if c_link_bottom %}
|
|
69
|
+
{% include "@larva/components/c-link/c-link.twig" with c_link_bottom %}
|
|
70
|
+
{% endif %}
|
|
71
|
+
</div>
|
|
72
|
+
{% endif %}
|
|
73
|
+
|
|
74
|
+
</div>
|
|
75
|
+
|
|
76
|
+
</div>
|
|
77
|
+
|
|
78
|
+
{% if story_arc_stories %}
|
|
79
|
+
<div class="lrv-u-margin-t-1 lrv-u-margin-t-2@desktop">
|
|
80
|
+
{% include "@larva/modules/story-arc-stories/story-arc-stories.twig" with story_arc_stories %}
|
|
81
|
+
</div>
|
|
82
|
+
{% endif %}
|
|
83
|
+
|
|
84
|
+
</div>
|
|
85
|
+
|
|
86
|
+
{% if is_river_story %}
|
|
87
|
+
{{ story_after_wp_action }}
|
|
88
|
+
{% endif %}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const { __experimentalCloneWithFallback } = require( '@penskemediacorp/larva' );
|
|
2
|
+
|
|
3
|
+
const story_vertical = __experimentalCloneWithFallback( 'modules/story/story.prototype' );
|
|
4
|
+
|
|
5
|
+
story_vertical.story_grid_classes = '';
|
|
6
|
+
|
|
7
|
+
story_vertical.story_grid_primary_classes = 'lrv-u-margin-r-00';
|
|
8
|
+
|
|
9
|
+
story_vertical.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';
|
|
10
|
+
|
|
11
|
+
module.exports = story_vertical;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
2
|
+
|
|
3
|
+
const c_span = clonedeep( require( '../../components/c-span/c-span.prototype' ) );
|
|
4
|
+
const c_button = clonedeep( require( '../../components/c-button/c-button.prototype' ) );
|
|
5
|
+
const o_story_arc_item = clonedeep( require( '../../objects/o-story-arc-item/o-story-arc-item.prototype' ) );
|
|
6
|
+
|
|
7
|
+
c_span.c_span_text = 'Event Coverage:';
|
|
8
|
+
c_span.c_span_classes += ' lrv-u-font-weight-bold';
|
|
9
|
+
|
|
10
|
+
c_button.c_button_text = 'Art Basel Hong Kong';
|
|
11
|
+
c_button.c_button_url = '#';
|
|
12
|
+
|
|
13
|
+
module.exports = {
|
|
14
|
+
c_span: c_span,
|
|
15
|
+
c_button: c_button,
|
|
16
|
+
story_arc_stories: [
|
|
17
|
+
o_story_arc_item,
|
|
18
|
+
o_story_arc_item,
|
|
19
|
+
o_story_arc_item,
|
|
20
|
+
]
|
|
21
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<section class="story-arc-stories {{ story_arc_stories_classes }}">
|
|
2
|
+
<div class="lrv-u-font-family-primary lrv-u-margin-b-050">
|
|
3
|
+
{% include "@larva/components/c-span/c-span.twig" with c_span %}
|
|
4
|
+
{% include "@larva/components/c-button/c-button.twig" with c_button %}
|
|
5
|
+
</div>
|
|
6
|
+
|
|
7
|
+
<div class="lrv-u-overflow-hidden lrv-u-max-width-100vw lrv-u-padding-b-1">
|
|
8
|
+
<div class="lrv-u-width-100p lrv-u-max-width-100p a-scrollable-grid@desktop-max lrv-a-grid lrv-a-cols3@desktop">
|
|
9
|
+
{% for item in story_arc_stories %}
|
|
10
|
+
{% include "@larva/objects/o-story-arc-item/o-story-arc-item.twig" with item %}
|
|
11
|
+
{% endfor %}
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
</section>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const { __experimentalCloneWithFallback } = require( '@penskemediacorp/larva' );
|
|
2
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
const c_title = __experimentalCloneWithFallback( 'components/c-title/c-title.prototype' );
|
|
6
|
+
const c_dek = __experimentalCloneWithFallback( 'components/c-dek/c-dek.prototype' );
|
|
7
|
+
const c_tagline = __experimentalCloneWithFallback( 'components/c-tagline/c-tagline.prototype' );
|
|
8
|
+
|
|
9
|
+
const c_tagline_author = clonedeep( c_tagline );
|
|
10
|
+
|
|
11
|
+
c_title.c_title_text = '‘A Momentous Weekend’: LACMA’s High-Stakes Collectors Committee Event Raises $2.4 M.';
|
|
12
|
+
c_title.c_title_classes = 'lrv-u-font-size-14 lrv-u-font-family-primary lrv-u-display-block lrv-u-font-weight-normal lrv-u-line-height-small';
|
|
13
|
+
c_title.c_title_link_classes = 'lrv-a-unstyle-link lrv-u-color-brand-primary:hover';
|
|
14
|
+
|
|
15
|
+
c_dek.c_dek_text = false;
|
|
16
|
+
c_dek.c_dek_markup = 'Lorem ipsum <i>dolor</i> sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation.';
|
|
17
|
+
c_dek.c_dek_classes = 'lrv-a-font-primary-l';
|
|
18
|
+
|
|
19
|
+
c_tagline_author.c_tagline_classes = 'lrv-u-margin-l-050';
|
|
20
|
+
c_tagline_author.c_tagline_markup = "<a href='#'>Staff Writer</a>";
|
|
21
|
+
c_tagline_author.c_tagline_text = false;
|
|
22
|
+
|
|
23
|
+
module.exports = {
|
|
24
|
+
story_featured_quote_classes: 'lrv-u-text-align-center',
|
|
25
|
+
story_nav_classes: 'lrv-u-font-size-12 lrv-u-font-family-primary lrv-u-text-transform-uppercase lrv-u-font-weight-bold lrv-u-color-black ',
|
|
26
|
+
story_nav_layout_classes: 'lrv-u-flex lrv-u-align-items-center lrv-a-space-children-horizontal lrv-a-space-children--2 lrv-a-hidden@mobile-max lrv-u-margin-t-050 lrv-u-justify-content-center',
|
|
27
|
+
c_title: c_title,
|
|
28
|
+
c_dek: c_dek,
|
|
29
|
+
c_dek_url:'#',
|
|
30
|
+
c_dek_url_classes:'lrv-u-color-black lrv-a-unstyle-link',
|
|
31
|
+
c_tagline_author,
|
|
32
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<div class="story lrv-u-padding-tb-1 lrv-u-padding-tb-2@desktop // {{ story_featured_quote_classes }}">
|
|
2
|
+
<div class="{{ story_featured_quote_primary_classes }} // lrv-u-flex lrv-u-flex-direction-column lrv-u-height-100p lrv-u-justify-content-center">
|
|
3
|
+
{% if c_dek_url %}
|
|
4
|
+
<a href="{{ c_dek_url }}" class="c-dek__link ">
|
|
5
|
+
{% endif %}
|
|
6
|
+
{% if c_dek %}
|
|
7
|
+
{% include "@larva/components/c-dek/c-dek.twig" with c_dek %}
|
|
8
|
+
{% endif %}
|
|
9
|
+
{% if c_dek_url %}
|
|
10
|
+
</a>
|
|
11
|
+
{% endif %}
|
|
12
|
+
|
|
13
|
+
<ul class="lrv-a-unstyle-list // {{ story_nav_classes }} {{ story_nav_layout_classes }}">
|
|
14
|
+
{% if c_title %}
|
|
15
|
+
{% include "@larva/components/c-title/c-title.twig" with c_title %}
|
|
16
|
+
{% endif %}
|
|
17
|
+
|
|
18
|
+
{% if c_tagline_author %}
|
|
19
|
+
<li class="lrv-u-flex // {{ c_tagline_author_wrapper_classes }}">
|
|
20
|
+
By {% include "@larva/components/c-tagline/c-tagline.twig" with c_tagline_author %}
|
|
21
|
+
</li>
|
|
22
|
+
{% endif %}
|
|
23
|
+
</ul>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const { __experimentalCloneWithFallback } = require( '@penskemediacorp/larva' );
|
|
2
|
+
|
|
3
|
+
const story_card = __experimentalCloneWithFallback( 'modules/story/story.vertical' );
|
|
4
|
+
|
|
5
|
+
story_card.c_dek.c_dek_classes = 'lrv-a-font-body-s lrv-a-hidden@mobile-max lrv-u-margin-a-00';
|
|
6
|
+
story_card.c_title.c_title_classes = 'lrv-a-font-primary-xxs lrv-u-display-block lrv-u-margin-b-050';
|
|
7
|
+
story_card.story_grid_secondary_classes = 'lrv-a-span2';
|
|
8
|
+
story_card.story_links_classes += ' lrv-u-margin-t-050';
|
|
9
|
+
story_card.story_nav_classes = 'lrv-a-font-secondary-m';
|
|
10
|
+
|
|
11
|
+
module.exports = {
|
|
12
|
+
story_grid_classes: '',
|
|
13
|
+
story_grid_grid_classes: 'lrv-a-grid lrv-a-cols2 lrv-a-cols4@desktop',
|
|
14
|
+
story_grid_story_cards: [
|
|
15
|
+
story_card,
|
|
16
|
+
story_card,
|
|
17
|
+
story_card,
|
|
18
|
+
story_card,
|
|
19
|
+
story_card,
|
|
20
|
+
story_card,
|
|
21
|
+
story_card,
|
|
22
|
+
story_card,
|
|
23
|
+
],
|
|
24
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const { __experimentalCloneWithFallback } = require( '@penskemediacorp/larva' );
|
|
2
|
+
const clonedeep = require( 'lodash.clonedeep' );
|
|
3
|
+
|
|
4
|
+
const story_grid = __experimentalCloneWithFallback( 'modules/story-grid/story-grid.prototype' );
|
|
5
|
+
const story_prototype = __experimentalCloneWithFallback( 'modules/story/story.prototype' );
|
|
6
|
+
const c_span = __experimentalCloneWithFallback( 'components/c-span/c-span.prototype' );
|
|
7
|
+
|
|
8
|
+
story_grid.story_grid_story_cards = story_grid.story_grid_story_cards.map( () => clonedeep( story_prototype ) );
|
|
9
|
+
|
|
10
|
+
story_grid.story_grid_grid_classes = '';
|
|
11
|
+
|
|
12
|
+
c_span.c_span_text = 'Read more';
|
|
13
|
+
story_grid.c_span = c_span;
|
|
14
|
+
|
|
15
|
+
module.exports = story_grid;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<div class="story-grid lrv-u-padding-tb-1 lrv-u-padding-tb-2@desktop // {{ story_grid_classes }}">
|
|
2
|
+
|
|
3
|
+
{% if o_header %}
|
|
4
|
+
{% include "@larva/objects/o-header/o-header.twig" with o_header %}
|
|
5
|
+
{% endif %}
|
|
6
|
+
|
|
7
|
+
<ul class="{{ story_grid_grid_classes }} // lrv-a-unstyle-list lrv-u-margin-b-050">
|
|
8
|
+
{% for item in story_grid_story_cards %}
|
|
9
|
+
<li class="{{ story_grid_grid_item_classes }}">
|
|
10
|
+
{% include "@larva/modules/story/story.twig" with item %}
|
|
11
|
+
</li>
|
|
12
|
+
{% endfor %}
|
|
13
|
+
</ul>
|
|
14
|
+
{% if c_span %}
|
|
15
|
+
{% include "@larva/components/c-span/c-span.twig" with c_span %}
|
|
16
|
+
{% endif %}
|
|
17
|
+
</div>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const { __experimentalCloneWithFallback } = require( '@penskemediacorp/larva' );
|
|
2
|
+
|
|
3
|
+
const o_sub_header = __experimentalCloneWithFallback( 'objects/o-sub-header/o-sub-header.prototype' );
|
|
4
|
+
|
|
5
|
+
module.exports = {
|
|
6
|
+
sub_header_classes: '',
|
|
7
|
+
o_sub_header: o_sub_header,
|
|
8
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{% if o_sub_header %}
|
|
2
|
+
<div class="sub-header // {{ sub_header_classes }} lrv-u-padding-t-1 lrv-u-padding-t-2@desktop-xl lrv-u-padding-b-1@mobile-max">
|
|
3
|
+
<div class="lrv-a-wrapper">
|
|
4
|
+
{% include "@larva/objects/o-sub-header/o-sub-header.twig" with o_sub_header %}
|
|
5
|
+
</div>
|
|
6
|
+
</div>
|
|
7
|
+
{% endif %}
|