mp-design-system 1.2.64 → 1.2.66
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +35 -29
- package/dist/build/js/app.js +13 -4
- package/dist/build/scss/library.css +1 -1
- package/dist/build/scss/main.css +1 -1
- package/dist/build/scss/main2.css +1 -0
- package/package.json +35 -46
- package/src/_data/components.js +0 -104
- package/src/_data/config.js +0 -14
- package/src/_data/helpers.js +0 -6
- package/src/_headers +0 -9
- package/src/_includes/components/accordion/accordion.config.js +0 -28
- package/src/_includes/components/accordion/accordion.md +0 -15
- package/src/_includes/components/accordion/accordion.njk +0 -10
- package/src/_includes/components/accordion/accordion.scss +0 -54
- package/src/_includes/components/accordion/macro.njk +0 -5
- package/src/_includes/components/alert/alert.config.js +0 -65
- package/src/_includes/components/alert/alert.njk +0 -27
- package/src/_includes/components/alert/alert.scss +0 -80
- package/src/_includes/components/alert/macro.njk +0 -5
- package/src/_includes/components/back-to-top/back-to-top.config.js +0 -10
- package/src/_includes/components/back-to-top/back-to-top.njk +0 -7
- package/src/_includes/components/back-to-top/back-to-top.scss +0 -22
- package/src/_includes/components/back-to-top/macro.njk +0 -5
- package/src/_includes/components/breadcrumb/breadcrumb.config.js +0 -20
- package/src/_includes/components/breadcrumb/breadcrumb.njk +0 -19
- package/src/_includes/components/breadcrumb/breadcrumb.scss +0 -69
- package/src/_includes/components/breadcrumb/macro.njk +0 -5
- package/src/_includes/components/button/button.config.js +0 -89
- package/src/_includes/components/button/button.njk +0 -38
- package/src/_includes/components/button/button.scss +0 -178
- package/src/_includes/components/button/macro.njk +0 -5
- package/src/_includes/components/campaign/campaign.config.js +0 -68
- package/src/_includes/components/campaign/campaign.njk +0 -26
- package/src/_includes/components/campaign/campaign.scss +0 -108
- package/src/_includes/components/campaign/macro.njk +0 -5
- package/src/_includes/components/card/card.config.js +0 -1058
- package/src/_includes/components/card/card.njk +0 -206
- package/src/_includes/components/card/card.scss +0 -508
- package/src/_includes/components/card/existing-customer-card.config.js +0 -51
- package/src/_includes/components/card/existing-customer-card.njk +0 -40
- package/src/_includes/components/card/existing-customer-card.scss +0 -100
- package/src/_includes/components/card/industry-card.config.js +0 -51
- package/src/_includes/components/card/industry-card.njk +0 -34
- package/src/_includes/components/card/industry-card.scss +0 -85
- package/src/_includes/components/card/macro.njk +0 -29
- package/src/_includes/components/card/measurement-type-card.config.js +0 -35
- package/src/_includes/components/card/measurement-type-card.njk +0 -35
- package/src/_includes/components/card/measurement-type-card.scss +0 -56
- package/src/_includes/components/card/product-card.config.js +0 -91
- package/src/_includes/components/card/product-card.njk +0 -58
- package/src/_includes/components/card/product-card.scss +0 -88
- package/src/_includes/components/card/search-result-card.config.js +0 -29
- package/src/_includes/components/card/search-result-card.njk +0 -33
- package/src/_includes/components/card/search-result-card.scss +0 -48
- package/src/_includes/components/card/technology-card.config.js +0 -35
- package/src/_includes/components/card/technology-card.njk +0 -35
- package/src/_includes/components/card/technology-card.scss +0 -56
- package/src/_includes/components/card-new/card-new.config.js +0 -95
- package/src/_includes/components/card-new/card-new.md +0 -0
- package/src/_includes/components/card-new/card-new.njk +0 -169
- package/src/_includes/components/card-new/card-new.scss +0 -156
- package/src/_includes/components/card-new/macro.njk +0 -5
- package/src/_includes/components/comparison-table/comparison-table.config.js +0 -92
- package/src/_includes/components/comparison-table/comparison-table.njk +0 -76
- package/src/_includes/components/comparison-table/comparison-table.scss +0 -187
- package/src/_includes/components/comparison-table/macro.njk +0 -5
- package/src/_includes/components/component/categories.js +0 -5
- package/src/_includes/components/component/component.njk +0 -71
- package/src/_includes/components/component/preview-card-example.njk +0 -347
- package/src/_includes/components/component/preview-cards-three-alt.njk +0 -3
- package/src/_includes/components/component/preview-cards-three.njk +0 -3
- package/src/_includes/components/component/preview-cards-two.njk +0 -3
- package/src/_includes/components/component/preview-content-width.njk +0 -5
- package/src/_includes/components/component/preview-default.njk +0 -3
- package/src/_includes/components/component/preview-fixed-width.njk +0 -5
- package/src/_includes/components/component/preview-form.njk +0 -3
- package/src/_includes/components/component/preview-icons.njk +0 -3
- package/src/_includes/components/component/preview-sidebar.njk +0 -5
- package/src/_includes/components/embed/embed.njk +0 -11
- package/src/_includes/components/embed/embed.scss +0 -17
- package/src/_includes/components/embed/macro.njk +0 -9
- package/src/_includes/components/embed/youtube.config.js +0 -19
- package/src/_includes/components/embed/youtube.njk +0 -5
- package/src/_includes/components/event-card/event-card.config.js +0 -108
- package/src/_includes/components/event-card/event-card.njk +0 -1
- package/src/_includes/components/event-card/event-card.scss +0 -49
- package/src/_includes/components/event-card/macro.njk +0 -5
- package/src/_includes/components/eyebrow/eyebrow.config.js +0 -84
- package/src/_includes/components/eyebrow/eyebrow.njk +0 -24
- package/src/_includes/components/eyebrow/eyebrow.scss +0 -71
- package/src/_includes/components/eyebrow/macro.njk +0 -5
- package/src/_includes/components/facet/facet.config.js +0 -110
- package/src/_includes/components/facet/facet.njk +0 -25
- package/src/_includes/components/facet/facet.scss +0 -49
- package/src/_includes/components/facet/macro.njk +0 -5
- package/src/_includes/components/featured-article-card/featured-article-card.config.js +0 -32
- package/src/_includes/components/featured-article-card/featured-article-card.njk +0 -24
- package/src/_includes/components/featured-article-card/featured-article-card.scss +0 -34
- package/src/_includes/components/featured-article-card/macro.njk +0 -5
- package/src/_includes/components/features-table/features-table.config.js +0 -137
- package/src/_includes/components/features-table/features-table.njk +0 -364
- package/src/_includes/components/features-table/features-table.scss +0 -96
- package/src/_includes/components/features-table/macro.njk +0 -5
- package/src/_includes/components/filter-search/filter-search.config.js +0 -16
- package/src/_includes/components/filter-search/filter-search.njk +0 -11
- package/src/_includes/components/filter-search/filter-search.scss +0 -33
- package/src/_includes/components/filter-search/macro.njk +0 -5
- package/src/_includes/components/footer/footer.config.js +0 -7
- package/src/_includes/components/footer/footer.njk +0 -81
- package/src/_includes/components/footer/footer.scss +0 -127
- package/src/_includes/components/footer/macro.njk +0 -5
- package/src/_includes/components/gallery/gallery.config.js +0 -55
- package/src/_includes/components/gallery/gallery.md +0 -1
- package/src/_includes/components/gallery/gallery.njk +0 -51
- package/src/_includes/components/gallery/gallery.scss +0 -54
- package/src/_includes/components/gallery/macro.njk +0 -5
- package/src/_includes/components/header/header.config.js +0 -38
- package/src/_includes/components/header/header.md +0 -4
- package/src/_includes/components/header/header.njk +0 -111
- package/src/_includes/components/header/header.scss +0 -273
- package/src/_includes/components/header/macro.njk +0 -5
- package/src/_includes/components/hero/hero.config.js +0 -144
- package/src/_includes/components/hero/hero.njk +0 -109
- package/src/_includes/components/hero/hero.scss +0 -356
- package/src/_includes/components/hero/macro.njk +0 -5
- package/src/_includes/components/hotspot-image/hotspot-image.config.js +0 -55
- package/src/_includes/components/hotspot-image/hotspot-image.njk +0 -41
- package/src/_includes/components/hotspot-image/hotspot-image.scss +0 -103
- package/src/_includes/components/hotspot-image/macro.njk +0 -5
- package/src/_includes/components/icon/icon.config.js +0 -18
- package/src/_includes/components/icon/icon.md +0 -1
- package/src/_includes/components/icon/icon.njk +0 -13
- package/src/_includes/components/icon/icon.scss +0 -6
- package/src/_includes/components/icon/macro.njk +0 -5
- package/src/_includes/components/input/checkbox.config.js +0 -41
- package/src/_includes/components/input/checkbox.njk +0 -2
- package/src/_includes/components/input/input.config.js +0 -67
- package/src/_includes/components/input/input.njk +0 -15
- package/src/_includes/components/input/input.scss +0 -136
- package/src/_includes/components/input/macro.njk +0 -25
- package/src/_includes/components/input/radio.config.js +0 -41
- package/src/_includes/components/input/radio.njk +0 -2
- package/src/_includes/components/input/radio.scss +0 -143
- package/src/_includes/components/input/select.config.js +0 -70
- package/src/_includes/components/input/select.njk +0 -13
- package/src/_includes/components/input/textarea.config.js +0 -51
- package/src/_includes/components/input/textarea.njk +0 -4
- package/src/_includes/components/input/toggle.config.js +0 -41
- package/src/_includes/components/input/toggle.njk +0 -5
- package/src/_includes/components/input/toggle.scss +0 -75
- package/src/_includes/components/internal-nav/internal-nav.config.js +0 -41
- package/src/_includes/components/internal-nav/internal-nav.njk +0 -24
- package/src/_includes/components/internal-nav/internal-nav.scss +0 -74
- package/src/_includes/components/internal-nav/macro.njk +0 -5
- package/src/_includes/components/meta-box/macro.njk +0 -5
- package/src/_includes/components/meta-box/meta-box.config.js +0 -74
- package/src/_includes/components/meta-box/meta-box.njk +0 -36
- package/src/_includes/components/meta-box/meta-box.scss +0 -10
- package/src/_includes/components/off-canvas/macro.njk +0 -5
- package/src/_includes/components/off-canvas/off-canvas.config.js +0 -28
- package/src/_includes/components/off-canvas/off-canvas.njk +0 -28
- package/src/_includes/components/off-canvas/off-canvas.scss +0 -102
- package/src/_includes/components/option-list/macro.njk +0 -5
- package/src/_includes/components/option-list/option-list.config.js +0 -51
- package/src/_includes/components/option-list/option-list.njk +0 -10
- package/src/_includes/components/option-list/option-list.scss +0 -39
- package/src/_includes/components/post-meta/macro.njk +0 -5
- package/src/_includes/components/post-meta/post-meta.config.js +0 -44
- package/src/_includes/components/post-meta/post-meta.njk +0 -16
- package/src/_includes/components/post-meta/post-meta.scss +0 -7
- package/src/_includes/components/product-card/macro.njk +0 -5
- package/src/_includes/components/product-card/product-card.config.js +0 -84
- package/src/_includes/components/product-card/product-card.njk +0 -1
- package/src/_includes/components/product-card/product-card.scss +0 -36
- package/src/_includes/components/product-signpost/macro.njk +0 -3
- package/src/_includes/components/product-signpost/product-signpost.config.js +0 -43
- package/src/_includes/components/product-signpost/product-signpost.njk +0 -16
- package/src/_includes/components/product-signpost/product-signpost.scss +0 -61
- package/src/_includes/components/prose/macro.njk +0 -11
- package/src/_includes/components/prose/prose.config.js +0 -65
- package/src/_includes/components/prose/prose.md +0 -1
- package/src/_includes/components/prose/prose.njk +0 -17
- package/src/_includes/components/quote/macro.njk +0 -5
- package/src/_includes/components/quote/quote.config.js +0 -19
- package/src/_includes/components/quote/quote.njk +0 -9
- package/src/_includes/components/quote/quote.scss +0 -51
- package/src/_includes/components/resource-card/macro.njk +0 -5
- package/src/_includes/components/resource-card/resource-card.config.js +0 -59
- package/src/_includes/components/resource-card/resource-card.njk +0 -1
- package/src/_includes/components/resource-card/resource-card.scss +0 -0
- package/src/_includes/components/scroll-spy/macro.njk +0 -5
- package/src/_includes/components/scroll-spy/scroll-spy.config.js +0 -24
- package/src/_includes/components/scroll-spy/scroll-spy.md +0 -3
- package/src/_includes/components/scroll-spy/scroll-spy.njk +0 -5
- package/src/_includes/components/scroll-spy/scroll-spy.scss +0 -54
- package/src/_includes/components/series/macro.njk +0 -5
- package/src/_includes/components/series/series.config.js +0 -35
- package/src/_includes/components/series/series.njk +0 -15
- package/src/_includes/components/series/series.scss +0 -20
- package/src/_includes/components/signpost/macro.njk +0 -5
- package/src/_includes/components/signpost/signpost.config.js +0 -36
- package/src/_includes/components/signpost/signpost.njk +0 -21
- package/src/_includes/components/signpost/signpost.scss +0 -66
- package/src/_includes/components/slat/slat.config.js +0 -59
- package/src/_includes/components/slat/slat.njk +0 -15
- package/src/_includes/components/slat/slat.scss +0 -53
- package/src/_includes/components/table/macro.njk +0 -11
- package/src/_includes/components/table/table.config.js +0 -68
- package/src/_includes/components/table/table.md +0 -16
- package/src/_includes/components/table/table.njk +0 -28
- package/src/_includes/components/table/table.scss +0 -157
- package/src/_includes/components/tabs/macro.njk +0 -9
- package/src/_includes/components/tabs/tabs-radio.config.js +0 -32
- package/src/_includes/components/tabs/tabs-radio.njk +0 -9
- package/src/_includes/components/tabs/tabs.config.js +0 -57
- package/src/_includes/components/tabs/tabs.njk +0 -17
- package/src/_includes/components/tabs/tabs.scss +0 -105
- package/src/_includes/components/twi/macro.njk +0 -5
- package/src/_includes/components/twi/twi.config.js +0 -46
- package/src/_includes/components/twi/twi.md +0 -1
- package/src/_includes/components/twi/twi.njk +0 -30
- package/src/_includes/components/twi/twi.scss +0 -44
- package/src/_includes/components/usp/macro.njk +0 -5
- package/src/_includes/components/usp/usp.config.js +0 -55
- package/src/_includes/components/usp/usp.md +0 -101
- package/src/_includes/components/usp/usp.njk +0 -42
- package/src/_includes/components/usp/usp.scss +0 -60
- package/src/_includes/content-page.njk +0 -53
- package/src/_includes/includes/color-swatches.njk +0 -260
- package/src/_includes/includes/related-events.njk +0 -60
- package/src/_includes/includes/resources.njk +0 -78
- package/src/_includes/includes/system-footer.njk +0 -30
- package/src/_includes/includes/system-header.njk +0 -30
- package/src/_includes/includes/system-scripts.njk +0 -88
- package/src/_includes/layout.njk +0 -69
- package/src/_includes/library-navigation/brand-nav.njk +0 -67
- package/src/_includes/library-navigation/components-nav.njk +0 -88
- package/src/_includes/library-navigation/content-nav.njk +0 -53
- package/src/_includes/library-navigation/system-nav.njk +0 -9
- package/src/_includes/library.njk +0 -5
- package/src/_includes/navigation/blog.njk +0 -16
- package/src/_includes/navigation/corporate.njk +0 -25
- package/src/_includes/navigation/store.njk +0 -29
- package/src/_includes/page.njk +0 -14
- package/src/_includes/patterns-page.njk +0 -41
- package/src/_includes/system-home-page.njk +0 -28
- package/src/_includes/system-page.njk +0 -27
- package/src/_includes/system.njk +0 -39
- package/src/_redirects +0 -13
- package/src/assets/fonts/Inter-Bold.woff +0 -0
- package/src/assets/fonts/Inter-Bold.woff2 +0 -0
- package/src/assets/fonts/Inter-Regular.woff +0 -0
- package/src/assets/fonts/Inter-Regular.woff2 +0 -0
- package/src/assets/fonts/Inter-SemiBold.woff +0 -0
- package/src/assets/fonts/Inter-SemiBold.woff2 +0 -0
- package/src/assets/js/app.js +0 -40
- package/src/assets/js/imports/accordion.js +0 -17
- package/src/assets/js/imports/carousel.js +0 -22
- package/src/assets/js/imports/clear-form.js +0 -27
- package/src/assets/js/imports/comparison.js +0 -64
- package/src/assets/js/imports/facet.js +0 -23
- package/src/assets/js/imports/gallery.js +0 -87
- package/src/assets/js/imports/hero-pattern.js +0 -94
- package/src/assets/js/imports/hero-video.js +0 -53
- package/src/assets/js/imports/hotspot-image.js +0 -91
- package/src/assets/js/imports/internal-nav.js +0 -41
- package/src/assets/js/imports/off-canvas.js +0 -219
- package/src/assets/js/imports/responsive-table.js +0 -30
- package/src/assets/js/imports/scroll-spy.js +0 -46
- package/src/assets/js/imports/scrollbar-width.js +0 -15
- package/src/assets/js/imports/tabs.js +0 -58
- package/src/assets/js/imports/utilities.js +0 -31
- package/src/assets/scss/components/form.scss +0 -306
- package/src/assets/scss/components/headings.scss +0 -68
- package/src/assets/scss/components/index.scss +0 -52
- package/src/assets/scss/components/lightbox.scss +0 -64
- package/src/assets/scss/components/product-finder.scss +0 -75
- package/src/assets/scss/elements/index.scss +0 -2
- package/src/assets/scss/elements/reset.scss +0 -139
- package/src/assets/scss/elements/typography.scss +0 -25
- package/src/assets/scss/foundations/animation.scss +0 -4
- package/src/assets/scss/foundations/colour.scss +0 -85
- package/src/assets/scss/foundations/index.scss +0 -4
- package/src/assets/scss/foundations/space.scss +0 -57
- package/src/assets/scss/foundations/typography.scss +0 -159
- package/src/assets/scss/library.scss +0 -672
- package/src/assets/scss/main.scss +0 -6
- package/src/assets/scss/objects/button-wrap.scss +0 -18
- package/src/assets/scss/objects/clickable-parent.scss +0 -3
- package/src/assets/scss/objects/grid.scss +0 -329
- package/src/assets/scss/objects/index.scss +0 -4
- package/src/assets/scss/objects/prose.scss +0 -169
- package/src/assets/scss/objects/syntax-highlighting.scss +0 -211
- package/src/assets/scss/tools/breakout.scss +0 -17
- package/src/assets/scss/tools/cutoff.scss +0 -50
- package/src/assets/scss/tools/index.scss +0 -172
- package/src/assets/scss/utilities/colour.scss +0 -10
- package/src/assets/scss/utilities/disabled.scss +0 -8
- package/src/assets/scss/utilities/display.scss +0 -156
- package/src/assets/scss/utilities/divider.scss +0 -6
- package/src/assets/scss/utilities/ellipsis.scss +0 -7
- package/src/assets/scss/utilities/flex.scss +0 -47
- package/src/assets/scss/utilities/flow.scss +0 -69
- package/src/assets/scss/utilities/gap.scss +0 -3
- package/src/assets/scss/utilities/hr.scss +0 -23
- package/src/assets/scss/utilities/index.scss +0 -18
- package/src/assets/scss/utilities/link.scss +0 -26
- package/src/assets/scss/utilities/scroll-shadows.scss +0 -69
- package/src/assets/scss/utilities/space.scss +0 -370
- package/src/assets/scss/utilities/typography.scss +0 -35
- package/src/assets/scss/utilities/wrap.scss +0 -24
- package/src/assets/svg/arc.svg +0 -1
- package/src/assets/svg/concentric.svg +0 -1
- package/src/assets/svg/crystal.svg +0 -1
- package/src/assets/svg/dots-pattern.svg +0 -1
- package/src/brand/colors.njk +0 -69
- package/src/brand/illustration.md +0 -50
- package/src/brand/images.md +0 -101
- package/src/brand/index.njk +0 -147
- package/src/brand/logo.md +0 -107
- package/src/brand/patterns.njk +0 -49
- package/src/brand/requirements.md +0 -98
- package/src/brand/resources.njk +0 -75
- package/src/brand/typography.md +0 -101
- package/src/components/colour.njk +0 -327
- package/src/components/creating-a-component.md +0 -163
- package/src/components/css.md +0 -65
- package/src/components/flow.njk +0 -131
- package/src/components/grid/generic.njk +0 -99
- package/src/components/grid/index.njk +0 -86
- package/src/components/grid/layout.njk +0 -56
- package/src/components/grid/wrap.njk +0 -20
- package/src/components/iconography.njk +0 -92
- package/src/components/index.njk +0 -65
- package/src/components/installation.md +0 -61
- package/src/components/publishing-the-system.md +0 -25
- package/src/components/space.njk +0 -191
- package/src/components/typography.njk +0 -135
- package/src/components/utilities.md +0 -182
- package/src/components-full-pages.njk +0 -24
- package/src/components-pages.njk +0 -103
- package/src/content/and-so/please-write-responsibly.md +0 -15
- package/src/content/and-so/sitting-down.md +0 -13
- package/src/content/big-ideas.md +0 -63
- package/src/content/boilerplate.md +0 -33
- package/src/content/elevator-pitch.md +0 -33
- package/src/content/index.njk +0 -126
- package/src/content/our-voice/1-big-picture.md +0 -37
- package/src/content/our-voice/2-whats-most-important.md +0 -38
- package/src/content/our-voice/3-write-like-we-speak.md +0 -50
- package/src/content/our-voice/4-write-to-be-skimmed.md +0 -50
- package/src/content/our-voice/5-active-sentences.md +0 -73
- package/src/content/our-voice/6-add-energy.md +0 -34
- package/src/content/our-voice/7-small-surprises.md +0 -44
- package/src/content/our-voice/seven-steps.md +0 -21
- package/src/content/our-voice/which-techniques-when.md +0 -39
- package/src/content/real-life-examples/01-who-we-are-boilerplate.md +0 -39
- package/src/content/real-life-examples/02-event-announcement.md +0 -38
- package/src/content/real-life-examples/03-customer-support-letter.md +0 -58
- package/src/content/real-life-examples/04-delay-in-shipment-letter.md +0 -62
- package/src/content/real-life-examples/05-overview-events-training.md +0 -41
- package/src/content/real-life-examples/06-digital-product-description.md +0 -40
- package/src/content/real-life-examples/07-recruitment.md +0 -42
- package/src/content/real-life-examples/08-industry-sector-1.md +0 -43
- package/src/content/real-life-examples/09-industry-sector-2.md +0 -47
- package/src/content/real-life-examples/10-website-information.md +0 -50
- package/src/content/real-life-examples/11-internal-update.md +0 -37
- package/src/content/real-life-examples/12-value-proposition.md +0 -44
- package/src/index.njk +0 -152
- package/src/patterns/form.njk +0 -349
- package/src/patterns/grid-of-cards.njk +0 -66
- package/src/patterns/index.njk +0 -19
- package/src/patterns/mp-form.njk +0 -111
- package/src/patterns/usps.njk +0 -149
- package/src/prototype/blog-post.njk +0 -123
- package/src/prototype/blog.njk +0 -168
- package/src/prototype/card-test.njk +0 -147
- package/src/prototype/creating-a-page.njk +0 -74
- package/src/prototype/events-hub.njk +0 -520
- package/src/prototype/form-altcha.njk +0 -705
- package/src/prototype/form-cloudflare.njk +0 -688
- package/src/prototype/form-hcaptcha.njk +0 -693
- package/src/prototype/home.njk +0 -24
- package/src/prototype/index.njk +0 -893
- package/src/prototype/oma.njk +0 -167
- package/src/prototype/product.njk +0 -480
- package/src/prototype/products.njk +0 -163
- package/src/prototype/range.njk +0 -263
- package/src/prototype/request-a-quote.njk +0 -147
- package/src/prototype/sections.njk +0 -295
- package/src/prototype/spline.njk +0 -16
- package/src/prototype/thanks.njk +0 -31
- package/src/prototype/webinar.njk +0 -118
- package/src/prototype/webinars-3-2-1.njk +0 -397
- package/src/prototype/webinars.njk +0 -405
- package/src/quickstart.md +0 -41
- package/src/robots.txt +0 -5
- package/src/static/adobe/MP Franklin colour swatches.ai +0 -914
- package/src/static/img/aeris.jpg +0 -0
- package/src/static/img/article-1.jpg +0 -0
- package/src/static/img/article-2.jpg +0 -0
- package/src/static/img/blog-image-1.jpg +0 -0
- package/src/static/img/blog-page-image-1.jpg +0 -0
- package/src/static/img/blog-page-image-2.jpg +0 -0
- package/src/static/img/blog-page-image-3.jpg +0 -0
- package/src/static/img/blog-page-image-4.jpg +0 -0
- package/src/static/img/blog-page-image-5.jpg +0 -0
- package/src/static/img/blog-page-image-6.jpg +0 -0
- package/src/static/img/campaign.jpg +0 -0
- package/src/static/img/case-study-1.jpg +0 -0
- package/src/static/img/case-study-2.jpg +0 -0
- package/src/static/img/case-study-3.jpg +0 -0
- package/src/static/img/empyrean.jpg +0 -0
- package/src/static/img/epsilon.jpg +0 -0
- package/src/static/img/favicon-32x32.png +0 -0
- package/src/static/img/favicon.svg +0 -1
- package/src/static/img/featured-blog-post.jpg +0 -0
- package/src/static/img/featured-event-1.jpg +0 -0
- package/src/static/img/featured-event-2.jpg +0 -0
- package/src/static/img/featured-event-3.jpg +0 -0
- package/src/static/img/flow-2.png +0 -0
- package/src/static/img/flow-diagram.png +0 -0
- package/src/static/img/flow.png +0 -0
- package/src/static/img/grid-captivate-1.jpg +0 -0
- package/src/static/img/homepage_1_back.webp +0 -0
- package/src/static/img/homepage_1_back_alt.webp +0 -0
- package/src/static/img/homepage_1_front_full.webp +0 -0
- package/src/static/img/homepage_2_back.webp +0 -0
- package/src/static/img/homepage_2_back_alt.webp +0 -0
- package/src/static/img/homepage_2_front_full.webp +0 -0
- package/src/static/img/itcss.svg +0 -8
- package/src/static/img/leneo.jpg +0 -0
- package/src/static/img/mastersizer.jpg +0 -0
- package/src/static/img/microcal.jpg +0 -0
- package/src/static/img/morphologi.jpg +0 -0
- package/src/static/img/omnisec.jpg +0 -0
- package/src/static/img/open-graph-image.jpg +0 -0
- package/src/static/img/product-accessory-1.jpg +0 -0
- package/src/static/img/product-accessory-2.jpg +0 -0
- package/src/static/img/product-image.jpg +0 -0
- package/src/static/img/products-1.jpg +0 -0
- package/src/static/img/products-2.jpg +0 -0
- package/src/static/img/products-3.jpg +0 -0
- package/src/static/img/products-4.jpg +0 -0
- package/src/static/img/products-5.jpg +0 -0
- package/src/static/img/products-6.jpg +0 -0
- package/src/static/img/qualityspec.jpg +0 -0
- package/src/static/img/range-product-1.jpg +0 -0
- package/src/static/img/range-product-2.jpg +0 -0
- package/src/static/img/range.jpg +0 -0
- package/src/static/img/salt.png +0 -0
- package/src/static/img/sector-1.jpg +0 -0
- package/src/static/img/sector-2.jpg +0 -0
- package/src/static/img/sector-3.jpg +0 -0
- package/src/static/img/sector-4.jpg +0 -0
- package/src/static/img/sector-5.jpg +0 -0
- package/src/static/img/slide-1.jpg +0 -0
- package/src/static/img/slide-2.jpg +0 -0
- package/src/static/img/slide-3.jpg +0 -0
- package/src/static/img/slide-4.webp +0 -0
- package/src/static/img/slide-5.webp +0 -0
- package/src/static/img/slide-6.webp +0 -0
- package/src/static/img/slide-7.webp +0 -0
- package/src/static/img/zetasizer.jpg +0 -0
- package/src/static/pdf/PN12558_Physical_branding_v23.pdf +0 -0
- package/src/static/pdf/Power of One - Malvern Panalytical rebranding guidance.pdf +0 -0
- package/src/static/svg/crop-diagram-1.svg +0 -1
- package/src/static/svg/crop-diagram-2.svg +0 -1
- package/src/static/svg/icon-globe-alt--white.svg +0 -4
- package/src/static/svg/icon-globe-alt.svg +0 -4
- package/src/static/svg/icon-live-webinars--white.svg +0 -6
- package/src/static/svg/icon-live-webinars.svg +0 -6
- package/src/static/svg/icon-recorded-webinars--white.svg +0 -4
- package/src/static/svg/icon-recorded-webinars.svg +0 -4
- package/src/static/svg/icon-user-training--white.svg +0 -5
- package/src/static/svg/icon-user-training.svg +0 -5
- package/src/static/svg/imaging-matrix.svg +0 -56
- package/src/static/svg/large-envelope.svg +0 -1
- package/src/static/svg/large-globe.svg +0 -1
- package/src/static/svg/large-student.svg +0 -1
- package/src/static/svg/logo-black.svg +0 -1
- package/src/static/svg/logo-color-white-text.svg +0 -1
- package/src/static/svg/logo-simple.svg +0 -1
- package/src/static/svg/logo-small.svg +0 -1
- package/src/static/svg/logo-spacing-horizontal.svg +0 -1
- package/src/static/svg/logo-spacing-vertical.svg +0 -1
- package/src/static/svg/logo-stacked.svg +0 -1
- package/src/static/svg/logo-white.svg +0 -1
- package/src/static/svg/logo-x.svg +0 -1
- package/src/static/svg/logo.svg +0 -1
- package/src/static/svg/sprite.svg +0 -48
- package/src/static/svg/typography-spacing.svg +0 -2345
- package/src/static/zip/MP_logo.zip +0 -0
- package/src/static/zip/SVG_patterns.zip +0 -0
@@ -1,88 +0,0 @@
|
|
1
|
-
.c-product-card {
|
2
|
-
background: color('white');
|
3
|
-
display: flex;
|
4
|
-
flex-flow: column;
|
5
|
-
border: 1px solid color('petrol', 'step-2');
|
6
|
-
|
7
|
-
&__body {
|
8
|
-
@include padding('s-m');
|
9
|
-
display: flex;
|
10
|
-
flex-flow: column;
|
11
|
-
flex-grow: 1;
|
12
|
-
|
13
|
-
& > * + * {
|
14
|
-
@include margin-top('xs');
|
15
|
-
}
|
16
|
-
}
|
17
|
-
|
18
|
-
&__heading {
|
19
|
-
@extend .c-h, .c-h--step-0;
|
20
|
-
}
|
21
|
-
|
22
|
-
&__lede {
|
23
|
-
@extend .u-step--1;
|
24
|
-
}
|
25
|
-
|
26
|
-
&__footer {
|
27
|
-
@include margin-top('auto');
|
28
|
-
@include padding-top('s');
|
29
|
-
display: flex;
|
30
|
-
flex-flow: row;
|
31
|
-
flex-wrap: wrap;
|
32
|
-
gap: var(--space-2xs);
|
33
|
-
|
34
|
-
& > * {
|
35
|
-
flex-grow: 1;
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
|
-
&__image {
|
40
|
-
height: 10em;
|
41
|
-
order: -1;
|
42
|
-
|
43
|
-
img {
|
44
|
-
height: 100%;
|
45
|
-
width: 100%;
|
46
|
-
aspect-ratio: 16/9;
|
47
|
-
object-fit: contain;
|
48
|
-
}
|
49
|
-
}
|
50
|
-
}
|
51
|
-
|
52
|
-
.c-product-card--features-list {
|
53
|
-
.c-product-card {
|
54
|
-
&__heading {
|
55
|
-
@extend .c-h--step-1;
|
56
|
-
}
|
57
|
-
|
58
|
-
&__lede {
|
59
|
-
@extend .u-step-0;
|
60
|
-
}
|
61
|
-
|
62
|
-
&__features-list {
|
63
|
-
@include margin-top('2xs');
|
64
|
-
list-style: none;
|
65
|
-
|
66
|
-
&-heading {
|
67
|
-
@include margin-top('s');
|
68
|
-
font-weight: weight("bold");
|
69
|
-
}
|
70
|
-
|
71
|
-
& > * + * {
|
72
|
-
@include margin-top('3xs');
|
73
|
-
}
|
74
|
-
}
|
75
|
-
|
76
|
-
&__feature {
|
77
|
-
&--tick {
|
78
|
-
svg {
|
79
|
-
color: color('green');
|
80
|
-
}
|
81
|
-
}
|
82
|
-
|
83
|
-
&--cross {
|
84
|
-
color: color('grey', 'step-2');
|
85
|
-
}
|
86
|
-
}
|
87
|
-
}
|
88
|
-
}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
const categories = require('../component/categories');
|
2
|
-
|
3
|
-
module.exports = {
|
4
|
-
title: 'Search result card',
|
5
|
-
category: categories.card,
|
6
|
-
component: {
|
7
|
-
name: 'search-result-card',
|
8
|
-
folder: 'card'
|
9
|
-
},
|
10
|
-
preview: 'content-width',
|
11
|
-
context: {
|
12
|
-
title: 'Mastersizer range',
|
13
|
-
description: 'The Mastersizer range of laser diffraction particle size analyzers set the standard for delivering rapid, accurate particle size distributions for both wet and dry dispersions.',
|
14
|
-
link: '/en/products/product-range/mastersizer-range',
|
15
|
-
tag: 'Product range'
|
16
|
-
},
|
17
|
-
variants: [
|
18
|
-
],
|
19
|
-
props: [
|
20
|
-
{
|
21
|
-
table: [
|
22
|
-
['title', 'string'],
|
23
|
-
['description', 'string'],
|
24
|
-
['link', 'string'],
|
25
|
-
['tag', 'string'],
|
26
|
-
]
|
27
|
-
}
|
28
|
-
]
|
29
|
-
}
|
@@ -1,33 +0,0 @@
|
|
1
|
-
{%- from "components/eyebrow/macro.njk" import eyebrow -%}
|
2
|
-
|
3
|
-
<article class="mp c-search-result-card">
|
4
|
-
<header class="c-search-result-card__header">
|
5
|
-
{% if params.title | length %}
|
6
|
-
<h2 class="c-search-result-card__title">
|
7
|
-
{% if params.link | length %}
|
8
|
-
<a href="{{ params.link }}" aria-label="{{ params.title }}">
|
9
|
-
{{ params.title }}
|
10
|
-
</a>
|
11
|
-
{% else %}
|
12
|
-
{{ params.title }}
|
13
|
-
{% endif %}
|
14
|
-
</h2>
|
15
|
-
{% endif %}
|
16
|
-
{% if params.tag | length %}
|
17
|
-
<div class="c-search-result-card__tag">
|
18
|
-
{{ eyebrow({
|
19
|
-
text: params.tag,
|
20
|
-
colour: 'blue'
|
21
|
-
}) }}
|
22
|
-
</div>
|
23
|
-
{% endif %}
|
24
|
-
</header>
|
25
|
-
<div class="c-search-result-card__body">
|
26
|
-
{% if params.description | length %}
|
27
|
-
<p class="c-search-result-card__description">{{ params.description }}</p>
|
28
|
-
{% endif %}
|
29
|
-
{% if params.link | length %}
|
30
|
-
<span class="c-search-result-card__url">{{ params.link }}</span>
|
31
|
-
{% endif %}
|
32
|
-
</div>
|
33
|
-
</article>
|
@@ -1,48 +0,0 @@
|
|
1
|
-
.c-search-result-card {
|
2
|
-
@extend .u-flow--xs;
|
3
|
-
@include padding-top('m');
|
4
|
-
@include padding-bottom('m');
|
5
|
-
position: relative;
|
6
|
-
|
7
|
-
&:focus-within {
|
8
|
-
outline: 2px solid color('petrol');
|
9
|
-
}
|
10
|
-
|
11
|
-
&:where(:hover) .c-search-result-card__title {
|
12
|
-
text-decoration: underline;
|
13
|
-
text-underline-offset: 0.1em;
|
14
|
-
}
|
15
|
-
|
16
|
-
&__header,
|
17
|
-
&__body {
|
18
|
-
display: flex;
|
19
|
-
flex-direction: column;
|
20
|
-
}
|
21
|
-
|
22
|
-
&__title {
|
23
|
-
@include step(1);
|
24
|
-
|
25
|
-
a {
|
26
|
-
@include clickable-parent;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
|
30
|
-
&__tag,
|
31
|
-
&__description + &__url {
|
32
|
-
@include margin-bottom('2xs');
|
33
|
-
order: -1;
|
34
|
-
}
|
35
|
-
|
36
|
-
&__body {
|
37
|
-
@extend .o-prose;
|
38
|
-
@include step(-1);
|
39
|
-
}
|
40
|
-
|
41
|
-
&__url {
|
42
|
-
color: color('utility-blue');
|
43
|
-
overflow: hidden;
|
44
|
-
display: -webkit-box;
|
45
|
-
-webkit-line-clamp: 1;
|
46
|
-
-webkit-box-orient: vertical;
|
47
|
-
}
|
48
|
-
}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
const categories = require('../component/categories');
|
2
|
-
|
3
|
-
module.exports = {
|
4
|
-
title: 'Technology card',
|
5
|
-
category: categories.card,
|
6
|
-
component: {
|
7
|
-
name: 'technology-card',
|
8
|
-
folder: 'card'
|
9
|
-
},
|
10
|
-
preview: 'cards-three',
|
11
|
-
context: {
|
12
|
-
title: 'X-ray Diffraction (XRD)',
|
13
|
-
link: '#',
|
14
|
-
description: 'XRD is the only laboratory technique that non-destructively and accurately obtains information such as chemical composition.',
|
15
|
-
image: {
|
16
|
-
src: '/static/img/range-product-1.jpg',
|
17
|
-
alt: ''
|
18
|
-
},
|
19
|
-
footer: {
|
20
|
-
button: {
|
21
|
-
label: 'View technology'
|
22
|
-
}
|
23
|
-
}
|
24
|
-
},
|
25
|
-
variants: [],
|
26
|
-
props: [
|
27
|
-
{
|
28
|
-
table: [
|
29
|
-
['title', 'string'],
|
30
|
-
['link', 'string'],
|
31
|
-
['image', 'object', 'Image object']
|
32
|
-
]
|
33
|
-
}
|
34
|
-
]
|
35
|
-
}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
{%- from "components/twi/macro.njk" import twi -%}
|
2
|
-
|
3
|
-
{%- set classes = 'mp c-technology-card' -%}
|
4
|
-
|
5
|
-
{%- if params.classes -%}{% set classes = classes + ' ' + params.classes %}{%- endif -%}
|
6
|
-
|
7
|
-
<article class="{{ classes }}" role="article" aria-label="Technology card">
|
8
|
-
<div class="c-technology-card__body">
|
9
|
-
{% if params.title | length %}
|
10
|
-
<h3 class="c-technology-card__heading">
|
11
|
-
{% if params.link | length %}
|
12
|
-
<a href="{{ params.link }}" aria-label="{{ params.title }}">
|
13
|
-
{{ params.title }}
|
14
|
-
</a>
|
15
|
-
{% else %}
|
16
|
-
{{ params.title }}
|
17
|
-
{% endif %}
|
18
|
-
</h3>
|
19
|
-
{% endif %}
|
20
|
-
{% if params.description | length %}
|
21
|
-
<p class="c-technology-card__lede">{{ params.description }}</p>
|
22
|
-
{% endif %}
|
23
|
-
{% if params.footer.button | length %}
|
24
|
-
<footer class="c-technology-card__footer">
|
25
|
-
{{ twi({ label: params.footer.button.label, icon: 'arrow-right', classes: 'c-twi--small u-link' }) }}
|
26
|
-
</footer>
|
27
|
-
{% endif %}
|
28
|
-
</div>
|
29
|
-
{% if params.image | length %}
|
30
|
-
<figure class="c-technology-card__image">
|
31
|
-
<img src="{{ params.image.src }}" alt="{{ params.image.alt or params.title }}" />
|
32
|
-
</figure>
|
33
|
-
{% endif %}
|
34
|
-
</article>
|
35
|
-
|
@@ -1,56 +0,0 @@
|
|
1
|
-
.c-technology-card {
|
2
|
-
background: color('white');
|
3
|
-
display: flex;
|
4
|
-
flex-flow: column;
|
5
|
-
border: 1px solid color('petrol', 'step-2');
|
6
|
-
position: relative;
|
7
|
-
|
8
|
-
&:focus-within {
|
9
|
-
outline: 2px solid color('petrol');
|
10
|
-
}
|
11
|
-
|
12
|
-
&:where(:hover) .c-twi.u-link {
|
13
|
-
text-decoration: underline;
|
14
|
-
text-underline-offset: 0.1em;
|
15
|
-
}
|
16
|
-
|
17
|
-
&__body {
|
18
|
-
@include padding('s-m');
|
19
|
-
display: flex;
|
20
|
-
flex-flow: column;
|
21
|
-
flex-grow: 1;
|
22
|
-
|
23
|
-
& > * + * {
|
24
|
-
@include margin-top('xs');
|
25
|
-
}
|
26
|
-
}
|
27
|
-
|
28
|
-
&__heading {
|
29
|
-
@extend .c-h, .c-h--step-0;
|
30
|
-
|
31
|
-
a {
|
32
|
-
@include clickable-parent;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
&__lede {
|
37
|
-
@extend .u-step--1;
|
38
|
-
}
|
39
|
-
|
40
|
-
&__footer {
|
41
|
-
@include margin-top('auto');
|
42
|
-
@include padding-top('s');
|
43
|
-
}
|
44
|
-
|
45
|
-
&__image {
|
46
|
-
height: 10em;
|
47
|
-
order: -1;
|
48
|
-
|
49
|
-
img {
|
50
|
-
height: 100%;
|
51
|
-
width: 100%;
|
52
|
-
aspect-ratio: 16/9;
|
53
|
-
object-fit: cover;
|
54
|
-
}
|
55
|
-
}
|
56
|
-
}
|
@@ -1,95 +0,0 @@
|
|
1
|
-
const categories = require('../component/categories');
|
2
|
-
|
3
|
-
module.exports = {
|
4
|
-
title: 'NEW Card',
|
5
|
-
component: {
|
6
|
-
name: 'card-new',
|
7
|
-
},
|
8
|
-
category: categories.card,
|
9
|
-
context: {
|
10
|
-
type: 'generic',
|
11
|
-
theme: 'bordered',
|
12
|
-
size: 'medium',
|
13
|
-
header: {
|
14
|
-
title: 'Mining and minerals'
|
15
|
-
},
|
16
|
-
body: {
|
17
|
-
content: `<p>Explore the world of iron, base metals, bauxite, clay, coal, industrial minerals and precious metals in 3D.</p>`
|
18
|
-
},
|
19
|
-
image: {
|
20
|
-
src: '/static/img/sector-3.jpg',
|
21
|
-
alt: 'Alt text'
|
22
|
-
},
|
23
|
-
link: {
|
24
|
-
label: 'View industry',
|
25
|
-
url: '#'
|
26
|
-
}
|
27
|
-
},
|
28
|
-
variants: [
|
29
|
-
{
|
30
|
-
title: 'Blog post',
|
31
|
-
context: {
|
32
|
-
theme: 'alt',
|
33
|
-
header: {
|
34
|
-
title: 'The future is 3D',
|
35
|
-
date: {
|
36
|
-
date: new Date(2021,10,18)
|
37
|
-
}
|
38
|
-
},
|
39
|
-
body: {
|
40
|
-
content: `<p>Materials characterisation will help "additive manufacturing" change how we make things forever.</p>`
|
41
|
-
},
|
42
|
-
body: {
|
43
|
-
keySpecs: [
|
44
|
-
{
|
45
|
-
title: 'Products',
|
46
|
-
term: 'Morphologi G3-ID'
|
47
|
-
},
|
48
|
-
{
|
49
|
-
title: 'Technologies',
|
50
|
-
term: 'Morphologically-directed Raman spectroscopy (MDRS)'
|
51
|
-
}
|
52
|
-
]
|
53
|
-
},
|
54
|
-
image: {
|
55
|
-
src: '/static/img/case-study-1.jpg',
|
56
|
-
alt: 'Alt text'
|
57
|
-
},
|
58
|
-
link: {
|
59
|
-
label: 'Read the blog post',
|
60
|
-
url: '#'
|
61
|
-
}
|
62
|
-
}
|
63
|
-
},
|
64
|
-
{
|
65
|
-
title: 'Software download',
|
66
|
-
context: {
|
67
|
-
theme: 'alt',
|
68
|
-
header: {
|
69
|
-
title: 'NanoSight NTA software update 3.4.4',
|
70
|
-
meta: ['05 October 2020']
|
71
|
-
},
|
72
|
-
body: {
|
73
|
-
content: `<p>Capture</p><ul>
|
74
|
-
<li>USB camera support.</li></ul>
|
75
|
-
<p>Other</p><ul>
|
76
|
-
<li>Improved logging: Instrument log files will no longer be overwritten at the start of each day.</li>
|
77
|
-
<li>Improved handling of corrupt/unreadable video files.</li>
|
78
|
-
<li>New script comman for automated/unattended data export.</li>
|
79
|
-
<li>Resolved HASP issues in Windows 10 (Version 2004)</li>
|
80
|
-
</ul>`
|
81
|
-
},
|
82
|
-
image: false,
|
83
|
-
footer: {
|
84
|
-
buttons: [
|
85
|
-
{
|
86
|
-
link: '#',
|
87
|
-
label: 'Download',
|
88
|
-
classes: 'c-button--inline'
|
89
|
-
},
|
90
|
-
]
|
91
|
-
}
|
92
|
-
}
|
93
|
-
}
|
94
|
-
]
|
95
|
-
}
|
File without changes
|
@@ -1,169 +0,0 @@
|
|
1
|
-
{%- from "components/button/macro.njk" import button -%}
|
2
|
-
{%- from "components/twi/macro.njk" import twi -%}
|
3
|
-
{%- from "components/prose/macro.njk" import prose -%}
|
4
|
-
|
5
|
-
{% set header = params.header %}
|
6
|
-
|
7
|
-
{% set classNames = '' %}
|
8
|
-
{% if params.type %}
|
9
|
-
{% set classNames = classNames + ' c-card-new--' + params.type %}
|
10
|
-
{% endif %}
|
11
|
-
{% if params.theme %}
|
12
|
-
{% set classNames = classNames + ' c-card-new--' + params.theme %}
|
13
|
-
{% endif %}
|
14
|
-
{% if params.size %}
|
15
|
-
{% set classNames = classNames + ' c-card-new--' + params.size %}
|
16
|
-
{% endif %}
|
17
|
-
|
18
|
-
{% set buttonSize = 'c-button--small' %}
|
19
|
-
{% if params.size == 'large '%}
|
20
|
-
{% set buttonSize = '' %}
|
21
|
-
{% endif %}
|
22
|
-
|
23
|
-
{% if header.location %}
|
24
|
-
{% if header.location == 'Virtual' %}
|
25
|
-
{% set locationIcon = 'monitor' %}
|
26
|
-
{% else %}
|
27
|
-
{% set locationIcon = 'map-pin' %}
|
28
|
-
{% endif %}
|
29
|
-
{% endif %}
|
30
|
-
|
31
|
-
{% set isPast = header.date.date | isInPast %}
|
32
|
-
{% set footerClass = 'o-button-wrap' if params.footer.buttons | length %}
|
33
|
-
|
34
|
-
<article class="mp c-card-new {{classNames}}">
|
35
|
-
{% if params.tag %}<p class="c-card__tag">{{params.tag}}</p>{% endif %}
|
36
|
-
<div class="c-card-new__inner">
|
37
|
-
<div class="c-card-new__body">
|
38
|
-
{% if header %}
|
39
|
-
<header class="c-card-new__header">
|
40
|
-
{% if header.date and not isPast %}
|
41
|
-
<time class="c-card__datetime">
|
42
|
-
<span class="c-card__day">{{header.date.date.getDate()}}</span>
|
43
|
-
<span class="c-card__month">{{header.date.date.getMonth() | months}}</span>
|
44
|
-
</time>
|
45
|
-
{% endif %}
|
46
|
-
{% if header.time or header.duration or header.location or header.language or header.meta or isPast %}
|
47
|
-
<p class="c-card__meta">
|
48
|
-
{% if header.duration %}
|
49
|
-
{{ twi({
|
50
|
-
icon: 'play',
|
51
|
-
label: header.duration
|
52
|
-
}) }}
|
53
|
-
{% endif %}
|
54
|
-
{% if isPast %}
|
55
|
-
<span>{{header.date.date | formatLong}}</span>
|
56
|
-
{% endif %}
|
57
|
-
{% if header.date.time and header.date.timezone %}
|
58
|
-
<span>
|
59
|
-
{{header.date.time}} {{header.date.timezone}}
|
60
|
-
</span>
|
61
|
-
{% endif %}
|
62
|
-
{% if header.location %}
|
63
|
-
{{ twi({
|
64
|
-
icon: locationIcon,
|
65
|
-
label: header.location
|
66
|
-
}) }}
|
67
|
-
{% endif %}
|
68
|
-
{% if header.language and not header.location %}
|
69
|
-
<span>{{header.language}}</span>
|
70
|
-
{% endif %}
|
71
|
-
{% if header.meta %}
|
72
|
-
{% for item in header.meta %}
|
73
|
-
<span>{{item}}</span>
|
74
|
-
{% endfor %}
|
75
|
-
{% endif %}
|
76
|
-
</p>
|
77
|
-
{% endif %}
|
78
|
-
<h2 class="c-h c-card-new__title">
|
79
|
-
{% if params.link and not params.footer.buttons | length %}<a class="o-clickable-parent" href="{{params.link.url}}">{% endif %}
|
80
|
-
{{header.title}}
|
81
|
-
{% if params.link and not params.footer.buttons | length %}</a>{% endif %}
|
82
|
-
</h2>
|
83
|
-
{% if header.subtitle %}
|
84
|
-
<h3 class="c-h c-h--tagline">{{header.subtitle}}</h3>
|
85
|
-
{% endif %}
|
86
|
-
</header>
|
87
|
-
{% endif %}
|
88
|
-
{% if params.body.content %}
|
89
|
-
{% if not params.body.prose %}
|
90
|
-
{{ params.body.content | safe }}
|
91
|
-
{% else %}
|
92
|
-
{{ prose({
|
93
|
-
wrap: '',
|
94
|
-
classes: 'u-step--1',
|
95
|
-
content: params.body.content
|
96
|
-
}) }}
|
97
|
-
{% endif %}
|
98
|
-
{% endif %}
|
99
|
-
{% if params.list %}
|
100
|
-
<ul class="c-features-list">
|
101
|
-
{% for item in params.list %}
|
102
|
-
<li>
|
103
|
-
{% if item.icon %}
|
104
|
-
{% if not item.classes %}
|
105
|
-
{% if item.icon == "tick" %}
|
106
|
-
{% set iconColour = 'c-twi--green' %}
|
107
|
-
{% endif %}
|
108
|
-
{% if item.icon == "cross" %}
|
109
|
-
{% set iconColour = 'c-twi--grey' %}
|
110
|
-
{% endif %}
|
111
|
-
{% endif %}
|
112
|
-
{{ twi({
|
113
|
-
icon: item.icon,
|
114
|
-
label: item.label,
|
115
|
-
classes: iconColour or item.classes
|
116
|
-
}) }}
|
117
|
-
{% else %}
|
118
|
-
{{item.label}}
|
119
|
-
{% endif %}
|
120
|
-
</li>
|
121
|
-
{% endfor %}
|
122
|
-
</ul>
|
123
|
-
{% endif %}
|
124
|
-
{% if params.body.keySpecs | length %}
|
125
|
-
<div class="c-card__specs">
|
126
|
-
{% for spec in params.body.keySpecs %}
|
127
|
-
<dl>
|
128
|
-
<dt>{{ spec.title }}:</dt>
|
129
|
-
{% if spec.term %}
|
130
|
-
<dd>{{ spec.term | safe }}</dd>
|
131
|
-
{% else %}
|
132
|
-
{% for term in spec.terms %}
|
133
|
-
<dd>{{ term | safe }}</dd>
|
134
|
-
{% endfor %}
|
135
|
-
{% endif %}
|
136
|
-
</dl>
|
137
|
-
{% endfor %}
|
138
|
-
</div>
|
139
|
-
{% endif %}
|
140
|
-
{% if params.footer.buttons %}
|
141
|
-
<footer class="c-card-new__footer {{footerClass}}">
|
142
|
-
{% for item in params.footer.buttons %}
|
143
|
-
{{ button({
|
144
|
-
label: item.label,
|
145
|
-
colour: item.colour,
|
146
|
-
classes: buttonSize,
|
147
|
-
link: item.link
|
148
|
-
}) }}
|
149
|
-
{% endfor %}
|
150
|
-
</footer>
|
151
|
-
{% elseif params.link.label %}
|
152
|
-
<footer class="c-card-new__footer ">
|
153
|
-
{{ twi({
|
154
|
-
label: params.link.label,
|
155
|
-
link: params.link.url,
|
156
|
-
classes: 'u-link'
|
157
|
-
}) }}
|
158
|
-
</footer>
|
159
|
-
{% endif %}
|
160
|
-
</div>
|
161
|
-
{% if params.image %}
|
162
|
-
{% if params.link or params.type !== 'generic' %}<a class="c-card-new__image" href="{{params.link.url}}">{% endif %}
|
163
|
-
<figure>
|
164
|
-
<img src="{{params.image.src}}" alt="{{params.image.alt or 'Alt'}}">
|
165
|
-
</figure>
|
166
|
-
{% if params.link or params.type !== 'generic' %}</a>{% endif %}
|
167
|
-
{% endif %}
|
168
|
-
</div>
|
169
|
-
</article>
|