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,51 +0,0 @@
|
|
1
|
-
const categories = require('../component/categories');
|
2
|
-
|
3
|
-
module.exports = {
|
4
|
-
title: 'Existing customer card',
|
5
|
-
category: categories.card,
|
6
|
-
component: {
|
7
|
-
name: 'existing-customer-card',
|
8
|
-
folder: 'card'
|
9
|
-
},
|
10
|
-
preview: 'cards-two',
|
11
|
-
context: {
|
12
|
-
title: 'Mastersizer accessories',
|
13
|
-
link: 'https://www.malvernpanalytical.com/en/products/product-range/mastersizer-range/mastersizer-3000#accessories',
|
14
|
-
lede: 'Configure your Mastersizer for your application and requirements with our range of accessories.',
|
15
|
-
cta: {
|
16
|
-
label: 'View accessories',
|
17
|
-
},
|
18
|
-
image: {
|
19
|
-
src: 'https://p3.aprimocdn.net/malvernpanalytical/37015a45-6002-4cc3-9650-ad9e00b43396/636216816480633919JL_Original%20file.jpg?quality=60',
|
20
|
-
alt: 'Mastersizer accessories',
|
21
|
-
}
|
22
|
-
},
|
23
|
-
variants: [
|
24
|
-
{
|
25
|
-
title: 'Large',
|
26
|
-
preview: 'fixed-width',
|
27
|
-
context: {
|
28
|
-
width: 'large',
|
29
|
-
title: 'Looking for support?',
|
30
|
-
link: 'https://www.malvernpanalytical.com/en/support/product-support/mastersizer-range',
|
31
|
-
lede: 'Looking for support, manuals or software? Malvern Panalytical will provide the support for your business.',
|
32
|
-
cta: {
|
33
|
-
label: 'Get support',
|
34
|
-
},
|
35
|
-
image: {
|
36
|
-
src: 'https://p3.aprimocdn.net/malvernpanalytical/15fab5ad-6222-460d-aa00-ae0e011438ad/i_110714_063_m3kBROCHURE_w_MV_Original.JPG?quality=60',
|
37
|
-
alt: 'Mastersizer accessories',
|
38
|
-
}
|
39
|
-
}
|
40
|
-
}
|
41
|
-
],
|
42
|
-
props: [
|
43
|
-
{
|
44
|
-
table: [
|
45
|
-
['title', 'string'],
|
46
|
-
['description', 'string'],
|
47
|
-
['url', 'string'],
|
48
|
-
]
|
49
|
-
}
|
50
|
-
]
|
51
|
-
}
|
@@ -1,40 +0,0 @@
|
|
1
|
-
{%- from "components/twi/macro.njk" import twi -%}
|
2
|
-
|
3
|
-
{%- set classNames = "mp c-existing-customer-card" -%}
|
4
|
-
|
5
|
-
{%- if params.width -%}
|
6
|
-
{% set classNames = classNames + " c-existing-customer-card--" + params.width %}
|
7
|
-
{% endif -%}
|
8
|
-
|
9
|
-
<div class="{{ classNames }}">
|
10
|
-
<div class="c-existing-customer-card__wrapper">
|
11
|
-
<div class="c-existing-customer-card__main-wrapper">
|
12
|
-
{% if params.title | length %}
|
13
|
-
<h3 class="c-existing-customer-card__title">
|
14
|
-
{% if params.link | length %}
|
15
|
-
<a href="{{ params.link }}" aria-label="{{ params.title }}">
|
16
|
-
{{ params.title }}
|
17
|
-
</a>
|
18
|
-
{% else %}
|
19
|
-
{{ params.title }}
|
20
|
-
{% endif %}
|
21
|
-
</h3>
|
22
|
-
{% endif %}
|
23
|
-
{% if params.lede | length %}
|
24
|
-
<p class="c-existing-customer-card__lede">{{ params.lede }}</p>
|
25
|
-
{% endif %}
|
26
|
-
{% if params.cta | length %}
|
27
|
-
{{ twi({
|
28
|
-
label: params.cta.label,
|
29
|
-
classes: 'u-link',
|
30
|
-
icon: 'arrow-right'
|
31
|
-
}) }}
|
32
|
-
{% endif %}
|
33
|
-
</div>
|
34
|
-
{% if params.image | length %}
|
35
|
-
<figure class="c-existing-customer-card__media-wrapper">
|
36
|
-
<img class="c-existing-customer-card__image" src="{{ params.image.src }}" alt="{{ params.image.alt }}" />
|
37
|
-
</figure>
|
38
|
-
{% endif %}
|
39
|
-
</div>
|
40
|
-
</div>
|
@@ -1,100 +0,0 @@
|
|
1
|
-
.c-existing-customer-card {
|
2
|
-
background: color('white');
|
3
|
-
position: relative;
|
4
|
-
|
5
|
-
&::before {
|
6
|
-
content: '';
|
7
|
-
position: absolute;
|
8
|
-
top: 0;
|
9
|
-
right: 0;
|
10
|
-
width: 0;
|
11
|
-
height: 0;
|
12
|
-
border-style: solid;
|
13
|
-
border-width: 0 var(--space-l) var(--space-l) 0;
|
14
|
-
border-color: transparent color('grey', 'step-3') transparent transparent;
|
15
|
-
}
|
16
|
-
|
17
|
-
&:focus-within {
|
18
|
-
outline: 2px solid color('petrol');
|
19
|
-
}
|
20
|
-
|
21
|
-
&:where(:hover, :focus-within) .u-link {
|
22
|
-
text-decoration: underline;
|
23
|
-
}
|
24
|
-
|
25
|
-
&__wrapper {
|
26
|
-
@include padding('s-m');
|
27
|
-
display: flex;
|
28
|
-
flex-direction: column;
|
29
|
-
}
|
30
|
-
|
31
|
-
&__main-wrapper {
|
32
|
-
width: auto;
|
33
|
-
@extend .u-flow--s-m;
|
34
|
-
text-align: center;
|
35
|
-
}
|
36
|
-
|
37
|
-
&__title {
|
38
|
-
@include step(2);
|
39
|
-
|
40
|
-
a {
|
41
|
-
@include clickable-parent;
|
42
|
-
}
|
43
|
-
}
|
44
|
-
|
45
|
-
&__lede {
|
46
|
-
line-height: lh('prose');
|
47
|
-
}
|
48
|
-
|
49
|
-
&__media-wrapper {
|
50
|
-
@include margin-top('m');
|
51
|
-
}
|
52
|
-
|
53
|
-
&__image {
|
54
|
-
max-height: 180px;
|
55
|
-
@include margin(0, 'auto');
|
56
|
-
}
|
57
|
-
}
|
58
|
-
|
59
|
-
.c-existing-customer-card--large {
|
60
|
-
@extend .c-existing-customer-card;
|
61
|
-
|
62
|
-
@media (min-width: 55em) {
|
63
|
-
.c-existing-customer-card {
|
64
|
-
&__wrapper {
|
65
|
-
@include o-grid(2);
|
66
|
-
@include padding-right('l-3xl');
|
67
|
-
@include padding-left('l-3xl');
|
68
|
-
display: flex;
|
69
|
-
flex-direction: row;
|
70
|
-
align-items: center;
|
71
|
-
justify-content: space-between;
|
72
|
-
|
73
|
-
& > * {
|
74
|
-
@include margin-bottom(0);
|
75
|
-
}
|
76
|
-
}
|
77
|
-
|
78
|
-
&__main-wrapper {
|
79
|
-
display: flex;
|
80
|
-
flex-direction: column;
|
81
|
-
justify-content: center;
|
82
|
-
text-align: left;
|
83
|
-
}
|
84
|
-
|
85
|
-
&__title {
|
86
|
-
@include step(3);
|
87
|
-
}
|
88
|
-
|
89
|
-
&__media-wrapper {
|
90
|
-
@include margin(0);
|
91
|
-
}
|
92
|
-
|
93
|
-
&__image {
|
94
|
-
max-height: unset;
|
95
|
-
height: auto;
|
96
|
-
width: auto;
|
97
|
-
}
|
98
|
-
}
|
99
|
-
}
|
100
|
-
}
|
@@ -1,51 +0,0 @@
|
|
1
|
-
const categories = require('../component/categories');
|
2
|
-
|
3
|
-
module.exports = {
|
4
|
-
title: 'Industry card',
|
5
|
-
category: categories.card,
|
6
|
-
component: {
|
7
|
-
name: 'industry-card',
|
8
|
-
folder: 'card'
|
9
|
-
},
|
10
|
-
preview: 'cards-three',
|
11
|
-
context: {
|
12
|
-
classes: '',
|
13
|
-
title: 'Mining and minerals',
|
14
|
-
link: '#',
|
15
|
-
description: 'Explore the world of Iron, Base metals, Bauxite, Clay, Coal, Industrial Minerals and Precious Metals in 3D. ',
|
16
|
-
image: {
|
17
|
-
src: '/static/img/sector-3.jpg',
|
18
|
-
alt: ''
|
19
|
-
},
|
20
|
-
footer: {
|
21
|
-
button: {
|
22
|
-
label: 'View industry'
|
23
|
-
}
|
24
|
-
},
|
25
|
-
},
|
26
|
-
variants: [
|
27
|
-
{
|
28
|
-
title: 'Heading only',
|
29
|
-
context: {
|
30
|
-
classes: 'c-industry-card--heading',
|
31
|
-
title: 'Zetasizer Pro',
|
32
|
-
link: '#',
|
33
|
-
description: '',
|
34
|
-
image: {
|
35
|
-
src: '/static/img/range-product-1.jpg',
|
36
|
-
alt: ''
|
37
|
-
},
|
38
|
-
footer: {}
|
39
|
-
},
|
40
|
-
}
|
41
|
-
],
|
42
|
-
props: [
|
43
|
-
{
|
44
|
-
table: [
|
45
|
-
['title', 'string'],
|
46
|
-
['link', 'string'],
|
47
|
-
['image', 'object', 'Image object']
|
48
|
-
]
|
49
|
-
}
|
50
|
-
]
|
51
|
-
}
|
@@ -1,34 +0,0 @@
|
|
1
|
-
{%- from "components/twi/macro.njk" import twi -%}
|
2
|
-
|
3
|
-
{%- set classes = 'mp c-industry-card' -%}
|
4
|
-
|
5
|
-
{%- if params.classes -%}{% set classes = classes + ' ' + params.classes %}{%- endif -%}
|
6
|
-
|
7
|
-
<article class="{{ classes }}" role="article" aria-label="Industry card">
|
8
|
-
<div class="c-industry-card__body">
|
9
|
-
{% if params.title | length %}
|
10
|
-
<h3 class="c-industry-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-industry-card__lede">{{ params.description }}</p>
|
22
|
-
{% endif %}
|
23
|
-
{% if params.footer | length %}
|
24
|
-
<footer class="c-industry-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-industry-card__image">
|
31
|
-
<img src="{{ params.image.src }}" alt="{{ params.image.alt or params.title }}" />
|
32
|
-
</figure>
|
33
|
-
{% endif %}
|
34
|
-
</article>
|
@@ -1,85 +0,0 @@
|
|
1
|
-
.c-industry-card {
|
2
|
-
background: color('white');
|
3
|
-
display: flex;
|
4
|
-
flex-flow: column;
|
5
|
-
border: none;
|
6
|
-
border: 1px solid color('petrol', 'step-2');
|
7
|
-
position: relative;
|
8
|
-
|
9
|
-
&:focus-within {
|
10
|
-
outline: 2px solid color('petrol');
|
11
|
-
}
|
12
|
-
|
13
|
-
&:where(:hover) .c-twi.u-link {
|
14
|
-
text-decoration: underline;
|
15
|
-
text-underline-offset: 0.1em;
|
16
|
-
}
|
17
|
-
|
18
|
-
&__body {
|
19
|
-
@include padding('s-m');
|
20
|
-
display: flex;
|
21
|
-
flex-flow: column;
|
22
|
-
flex-grow: 1;
|
23
|
-
|
24
|
-
& > * + * {
|
25
|
-
@include margin-top('xs');
|
26
|
-
}
|
27
|
-
}
|
28
|
-
|
29
|
-
&__heading {
|
30
|
-
@extend .c-h, .c-h--step-0;
|
31
|
-
|
32
|
-
a {
|
33
|
-
@include clickable-parent;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
|
37
|
-
&__lede {
|
38
|
-
@extend .u-step--1;
|
39
|
-
}
|
40
|
-
|
41
|
-
&__footer {
|
42
|
-
@include margin-top('auto');
|
43
|
-
@include padding-top('s');
|
44
|
-
}
|
45
|
-
|
46
|
-
&__image {
|
47
|
-
max-height: 10em;
|
48
|
-
order: -1;
|
49
|
-
|
50
|
-
img {
|
51
|
-
height: 100%;
|
52
|
-
width: 100%;
|
53
|
-
aspect-ratio: 2/1;
|
54
|
-
object-fit: cover;
|
55
|
-
}
|
56
|
-
}
|
57
|
-
}
|
58
|
-
|
59
|
-
.c-industry-card--heading {
|
60
|
-
border: none;
|
61
|
-
|
62
|
-
.c-industry-card {
|
63
|
-
&__heading {
|
64
|
-
color: color('utility-blue');
|
65
|
-
@include margin-top('xs');
|
66
|
-
font-weight: normal;
|
67
|
-
}
|
68
|
-
|
69
|
-
&__body {
|
70
|
-
@include padding(0);
|
71
|
-
}
|
72
|
-
|
73
|
-
&__image {
|
74
|
-
height: unset;
|
75
|
-
}
|
76
|
-
}
|
77
|
-
|
78
|
-
&:where(:hover) {
|
79
|
-
.c-industry-card {
|
80
|
-
&__heading {
|
81
|
-
text-decoration: underline;
|
82
|
-
}
|
83
|
-
}
|
84
|
-
}
|
85
|
-
}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
{% from "components/component/component.njk" import c %}
|
2
|
-
|
3
|
-
{% macro card(params) %}
|
4
|
-
{{ c({ name: 'card' }, params) }}
|
5
|
-
{% endmacro %}
|
6
|
-
|
7
|
-
{% macro existingCustomerCard(params) %}
|
8
|
-
{{ c({ name: 'existing-customer-card', folder: 'card' }, params) }}
|
9
|
-
{% endmacro %}
|
10
|
-
|
11
|
-
{% macro industryCard(params) %}
|
12
|
-
{{ c({ name: 'industry-card', folder: 'card' }, params) }}
|
13
|
-
{% endmacro %}
|
14
|
-
|
15
|
-
{% macro measurementTypeCard(params) %}
|
16
|
-
{{ c({ name: 'measurement-type-card', folder: 'card' }, params) }}
|
17
|
-
{% endmacro %}
|
18
|
-
|
19
|
-
{% macro productCard(params) %}
|
20
|
-
{{ c({ name: 'product-card', folder: 'card' }, params) }}
|
21
|
-
{% endmacro %}
|
22
|
-
|
23
|
-
{% macro searchResultCard(params) %}
|
24
|
-
{{ c({ name: 'search-result-card', folder: 'card' }, params) }}
|
25
|
-
{% endmacro %}
|
26
|
-
|
27
|
-
{% macro technologyCard(params) %}
|
28
|
-
{{ c({ name: 'technology-card', folder: 'card' }, params) }}
|
29
|
-
{% endmacro %}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
const categories = require('../component/categories');
|
2
|
-
|
3
|
-
module.exports = {
|
4
|
-
title: 'Measurement type card',
|
5
|
-
category: categories.card,
|
6
|
-
component: {
|
7
|
-
name: 'measurement-type-card',
|
8
|
-
folder: 'card'
|
9
|
-
},
|
10
|
-
preview: 'cards-three',
|
11
|
-
context: {
|
12
|
-
title: 'Particle size',
|
13
|
-
link: '#',
|
14
|
-
description: 'Measurement of particle size distributions is routinely carried out across a wide range of industries.',
|
15
|
-
image: {
|
16
|
-
src: '/static/img/range-product-1.jpg',
|
17
|
-
alt: ''
|
18
|
-
},
|
19
|
-
footer: {
|
20
|
-
button: {
|
21
|
-
label: 'View measurement type'
|
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-measurement-type-card' -%}
|
4
|
-
|
5
|
-
{%- if params.classes -%}{% set classes = classes + ' ' + params.classes %}{%- endif -%}
|
6
|
-
|
7
|
-
<article class="{{ classes }}" role="article" aria-label="Measurement type card">
|
8
|
-
<div class="c-measurement-type-card__body">
|
9
|
-
{% if params.title | length %}
|
10
|
-
<h3 class="c-measurement-type-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-measurement-type-card__lede">{{ params.description }}</p>
|
22
|
-
{% endif %}
|
23
|
-
{% if params.footer.button | length %}
|
24
|
-
<footer class="c-measurement-type-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-measurement-type-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-measurement-type-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,91 +0,0 @@
|
|
1
|
-
const categories = require('../component/categories');
|
2
|
-
|
3
|
-
module.exports = {
|
4
|
-
title: 'Product card',
|
5
|
-
category: categories.card,
|
6
|
-
component: {
|
7
|
-
name: 'product-card',
|
8
|
-
folder: 'card'
|
9
|
-
},
|
10
|
-
preview: 'cards-three',
|
11
|
-
context: {
|
12
|
-
title: 'Zetasizer Pro',
|
13
|
-
description: 'The Zetasizer Pro is your go-to instrument to measure a wide range of sample types and concentrations.',
|
14
|
-
image: {
|
15
|
-
src: '/static/img/range-product-1.jpg',
|
16
|
-
alt: ''
|
17
|
-
},
|
18
|
-
footer: {
|
19
|
-
buttons: [
|
20
|
-
{
|
21
|
-
link: '#',
|
22
|
-
label: 'More details',
|
23
|
-
classes: 'c-button--small'
|
24
|
-
},
|
25
|
-
{
|
26
|
-
link: '#',
|
27
|
-
label: 'Request a quote',
|
28
|
-
classes: 'c-button--small'
|
29
|
-
}
|
30
|
-
]
|
31
|
-
}
|
32
|
-
},
|
33
|
-
variants: [
|
34
|
-
{
|
35
|
-
title: 'With features list',
|
36
|
-
preview: 'cards-three',
|
37
|
-
context: {
|
38
|
-
classes: 'c-product-card--features-list',
|
39
|
-
title: 'Zetasizer Pro',
|
40
|
-
description: 'The Zetasizer Pro is your go-to instrument to measure a wide range of sample types and concentrations.',
|
41
|
-
image: {
|
42
|
-
src: '/static/img/range-product-1.jpg',
|
43
|
-
alt: ''
|
44
|
-
},
|
45
|
-
features: [
|
46
|
-
{
|
47
|
-
icon: 'cross',
|
48
|
-
label: 'Classic 90° DLS'
|
49
|
-
},
|
50
|
-
{
|
51
|
-
icon: 'tick',
|
52
|
-
label: 'Dynamic light scattering'
|
53
|
-
},
|
54
|
-
{
|
55
|
-
icon: 'tick',
|
56
|
-
label: 'Static light scattering'
|
57
|
-
},
|
58
|
-
{
|
59
|
-
icon: 'tick',
|
60
|
-
label: 'Non-Invasive Back Scatter DLS'
|
61
|
-
},
|
62
|
-
{
|
63
|
-
icon: 'cross',
|
64
|
-
label: 'Multi-Angle Dynamic Light Scattering'
|
65
|
-
}
|
66
|
-
],
|
67
|
-
footer: {
|
68
|
-
buttons: [
|
69
|
-
{
|
70
|
-
link: '#',
|
71
|
-
label: 'More details'
|
72
|
-
},
|
73
|
-
{
|
74
|
-
link: '#',
|
75
|
-
label: 'Request a quote'
|
76
|
-
}
|
77
|
-
]
|
78
|
-
}
|
79
|
-
},
|
80
|
-
}
|
81
|
-
],
|
82
|
-
props: [
|
83
|
-
{
|
84
|
-
table: [
|
85
|
-
['title', 'string'],
|
86
|
-
['link', 'string'],
|
87
|
-
['image', 'object', 'Image object']
|
88
|
-
]
|
89
|
-
}
|
90
|
-
]
|
91
|
-
}
|
@@ -1,58 +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 classes = 'mp c-product-card' -%}
|
6
|
-
|
7
|
-
{%- if params.classes -%}{% set classes = classes + ' ' + params.classes %}{%- endif -%}
|
8
|
-
|
9
|
-
<article class="{{ classes }}" role="article" aria-label="Product card">
|
10
|
-
<div class="c-product-card__body">
|
11
|
-
{% if params.title | length %}
|
12
|
-
<h3 class="c-product-card__heading">
|
13
|
-
{{ params.title }}
|
14
|
-
</h3>
|
15
|
-
{% endif %}
|
16
|
-
{% if params.description | length %}
|
17
|
-
<p class="c-product-card__lede">{{ params.description }}</p>
|
18
|
-
{% endif %}
|
19
|
-
{% if params.description | length %}
|
20
|
-
{{ prose({
|
21
|
-
wrap: '',
|
22
|
-
classes: 'u-step--1',
|
23
|
-
content: params.description
|
24
|
-
}) }}
|
25
|
-
{% endif %}
|
26
|
-
{% if params.features | length %}
|
27
|
-
<p class="c-product-card__features-list-heading">Features include</p>
|
28
|
-
<ul class="c-product-card__features-list">
|
29
|
-
{% for feature in params.features %}
|
30
|
-
<li class="c-product-card__feature--{{ feature.icon }}">
|
31
|
-
{{ twi({
|
32
|
-
label: feature.label,
|
33
|
-
icon: feature.icon
|
34
|
-
}) }}
|
35
|
-
</li>
|
36
|
-
{% endfor %}
|
37
|
-
</ul>
|
38
|
-
{% endif %}
|
39
|
-
{% if params.footer.buttons | length %}
|
40
|
-
<footer class="c-product-card__footer">
|
41
|
-
{% for item in params.footer.buttons %}
|
42
|
-
{{ button({
|
43
|
-
link: item.link,
|
44
|
-
label: item.label,
|
45
|
-
classes: item.classes,
|
46
|
-
colour: 'outline-green' if loop.index0 == 0 else 'green'
|
47
|
-
}) }}
|
48
|
-
{% endfor %}
|
49
|
-
</footer>
|
50
|
-
{% endif %}
|
51
|
-
</div>
|
52
|
-
{% if params.image | length %}
|
53
|
-
<figure class="c-product-card__image">
|
54
|
-
<img src="{{ params.image.src }}" alt="{{ params.image.alt or params.title }}" />
|
55
|
-
</figure>
|
56
|
-
{% endif %}
|
57
|
-
</article>
|
58
|
-
|