horizontal
prop to true
remember to set height
prop to auto
. The image you pass for card media should also have its background
prop set to true
in order to allow the image to be cropped and display properly.
+ Leveraging productivity bots that simplify the employee experience injects instant ROI into your business. In just two to three weeks you'll turn all your service agents, back-office workers, or front-line sellers into productivity ninjas. They’ll be happier. You’ll be happier. And your customers will be happier.
{% endset %} {% set card %} - {% include '@bolt-components-card-replacement/card-replacement.twig' with { - media: { - image: { + {% set image %} + {% include '@bolt-elements-image/image.twig' with { + attributes: { src: '/images/content/backgrounds/background-tall-3.jpg', alt: 'Anthem Video', }, + } only %} + {% endset %} + {% include '@bolt-components-card-replacement/card-replacement.twig' with { + media: { + image: image, }, body: { eyebrow: 'Whitepaper', @@ -368,12 +383,17 @@Because once you know the details, you can act. And that makes all the difference.
{% endset %} {% set card %} - {% include '@bolt-components-card-replacement/card-replacement.twig' with { - media: { - image: { + {% set image %} + {% include '@bolt-elements-image/image.twig' with { + attributes: { src: '/images/content/backgrounds/background-tall-2.jpg', alt: 'Anthem Video', }, + } only %} + {% endset %} + {% include '@bolt-components-card-replacement/card-replacement.twig' with { + media: { + image: image, }, body: { eyebrow: 'Whitepaper', @@ -433,12 +453,17 @@Leveraging productivity bots that simplify the employee experience injects instant ROI into your business. In just two to three weeks you'll turn all your service agents, back-office workers, or front-line sellers into productivity ninjas. They’ll be happier. You’ll be happier. And your customers will be happier.
{% endset %} {% set card %} - {% include '@bolt-components-card-replacement/card-replacement.twig' with { - media: { - image: { + {% set image %} + {% include '@bolt-elements-image/image.twig' with { + attributes: { src: '/images/content/backgrounds/background-tall-3.jpg', alt: 'Anthem Video', }, + } only %} + {% endset %} + {% include '@bolt-components-card-replacement/card-replacement.twig' with { + media: { + image: image, }, body: { eyebrow: 'Whitepaper', @@ -498,12 +523,17 @@Capabilities such as auto self-documentation ensure an audit trail is maintained of all activities so compliance risk is minimized and required reporting is streamlined and automated.
{% endset %} {% set card %} - {% include '@bolt-components-card-replacement/card-replacement.twig' with { - media: { - image: { + {% set image %} + {% include '@bolt-elements-image/image.twig' with { + attributes: { src: '/images/content/backgrounds/background-tall-2.jpg', alt: 'Anthem Video', }, + } only %} + {% endset %} + {% include '@bolt-components-card-replacement/card-replacement.twig' with { + media: { + image: image, }, body: { eyebrow: 'Whitepaper', diff --git a/docs-site/src/pages/pattern-lab/_patterns/999-archive/events/event-detail.twig b/docs-site/src/pages/pattern-lab/_patterns/999-archive/events/event-detail.twig index 2019d87e66..888186c2a9 100644 --- a/docs-site/src/pages/pattern-lab/_patterns/999-archive/events/event-detail.twig +++ b/docs-site/src/pages/pattern-lab/_patterns/999-archive/events/event-detail.twig @@ -495,6 +495,27 @@ {# End Speakers section #} {# Start 2017 Highlights section #} + {% set image_1 %} + {% include '@bolt-elements-image/image.twig' with { + attributes: { + src: '/images/placeholders/1200x660.jpg', + }, + } only %} + {% endset %} + {% set image_2 %} + {% include '@bolt-elements-image/image.twig' with { + attributes: { + src: '/images/content/promos/promo-16x9-anthem.jpg', + }, + } only %} + {% endset %} + {% set image_3 %} + {% include '@bolt-elements-image/image.twig' with { + attributes: { + src: '/images/content/promos/promo-16x9-ai.jpg', + }, + } only %} + {% endset %} {% embed '@pl/_band--collection.twig' with { theme: 'xlight', size: 'large', @@ -502,13 +523,11 @@ { pattern: 'card', media: { - image: { - src: '/images/placeholders/1200x660.jpg' - }, + image: image_1, }, body: { eyebrow: 'Article', - headline: 'Headline #2', + headline: 'Headline #1', paragraph: 'Simplify and automate to reduce costs and improve agility.', }, actions: [ @@ -522,9 +541,7 @@ { pattern: 'card', media: { - image: { - src: '/images/content/promos/promo-16x9-anthem.jpg' - }, + image: image_2, }, body: { eyebrow: 'Article', @@ -542,9 +559,7 @@ { pattern: 'card', media: { - image: { - src: '/images/content/promos/promo-16x9-ai.jpg' - }, + image: image_3, }, body: { eyebrow: 'Article', @@ -614,13 +629,11 @@ { pattern: 'card', media: { - image: { - src: '/images/placeholders/1200x660.jpg' - }, + image: image_1, }, body: { eyebrow: 'Article', - headline: 'Headline #2', + headline: 'Headline #1', paragraph: 'Simplify and automate to reduce costs and improve agility.', }, actions: [ @@ -634,9 +647,7 @@ { pattern: 'card', media: { - image: { - src: '/images/content/promos/promo-16x9-anthem.jpg' - }, + image: image_2, }, body: { eyebrow: 'Article', @@ -654,9 +665,7 @@ { pattern: 'card', media: { - image: { - src: '/images/content/promos/promo-16x9-ai.jpg' - }, + image: image_3, }, body: { eyebrow: 'Article', diff --git a/docs-site/src/pages/pattern-lab/_patterns/999-archive/homepage/homepage-japanese.twig b/docs-site/src/pages/pattern-lab/_patterns/999-archive/homepage/homepage-japanese.twig index 4851b8b739..3f9bed2304 100644 --- a/docs-site/src/pages/pattern-lab/_patterns/999-archive/homepage/homepage-japanese.twig +++ b/docs-site/src/pages/pattern-lab/_patterns/999-archive/homepage/homepage-japanese.twig @@ -271,7 +271,27 @@ {% endblock %} {% endembed %} - + {% set image_1 %} + {% include '@bolt-elements-image/image.twig' with { + attributes: { + src: '/images/content/promos/promo-16x9-forrester.jpg', + }, + } only %} + {% endset %} + {% set image_2 %} + {% include '@bolt-elements-image/image.twig' with { + attributes: { + src: '/images/content/promos/promo-16x9-anthem.jpg', + }, + } only %} + {% endset %} + {% set image_3 %} + {% include '@bolt-elements-image/image.twig' with { + attributes: { + src: '/images/content/promos/promo-16x9-ai.jpg', + }, + } only %} + {% endset %} {% embed '@pl/_band--collection.twig' with { theme: 'xlight', size: 'large', @@ -279,9 +299,7 @@ { pattern: 'card', media: { - image: { - src: '/images/content/promos/promo-16x9-forrester.jpg' - }, + image: image_1, }, body: { headline: 'iBPMSでの2017MAGIC QUADRANT', @@ -298,9 +316,7 @@ { pattern: 'card', media: { - image: { - src: '/images/content/promos/promo-16x9-anthem.jpg' - }, + image: image_2, }, body: { headline: 'Robotics and AI Are Changing the World of Work', @@ -317,9 +333,7 @@ { pattern: 'card', media: { - image: { - src: '/images/content/promos/promo-16x9-ai.jpg' - }, + image: image_3, }, body: { headline: 'トランサヴィア:エンドツーエンドのカスタマージャーニー', diff --git a/docs-site/src/pages/pattern-lab/_patterns/999-archive/homepage/homepage.twig b/docs-site/src/pages/pattern-lab/_patterns/999-archive/homepage/homepage.twig index b288c06ac5..2a25f8b9c3 100644 --- a/docs-site/src/pages/pattern-lab/_patterns/999-archive/homepage/homepage.twig +++ b/docs-site/src/pages/pattern-lab/_patterns/999-archive/homepage/homepage.twig @@ -151,8 +151,27 @@ {% endblock %} {% endembed %} - - + {% set image_1 %} + {% include '@bolt-elements-image/image.twig' with { + attributes: { + src: '/images/content/promos/promo-16x9-forrester.jpg', + }, + } only %} + {% endset %} + {% set image_2 %} + {% include '@bolt-elements-image/image.twig' with { + attributes: { + src: '/images/content/promos/promo-16x9-anthem.jpg', + }, + } only %} + {% endset %} + {% set image_3 %} + {% include '@bolt-elements-image/image.twig' with { + attributes: { + src: '/images/content/promos/promo-16x9-ai.jpg', + }, + } only %} + {% endset %} {% embed '@pl/_band--collection.twig' with { theme: 'light', size: 'medium', @@ -160,9 +179,7 @@ { pattern: 'card', media: { - image: { - src: '/images/content/promos/promo-16x9-forrester.jpg' - }, + image: image_1, }, body: { eyebrow: 'Article', @@ -180,9 +197,7 @@ { pattern: 'card', media: { - image: { - src: '/images/content/promos/promo-16x9-anthem.jpg' - }, + image: image_2, }, body: { eyebrow: 'Article', @@ -205,9 +220,7 @@ { pattern: 'card', media: { - image: { - src: '/images/content/promos/promo-16x9-ai.jpg' - }, + image: image_3, }, body: { eyebrow: 'Article', diff --git a/docs-site/src/pages/pattern-lab/_patterns/999-archive/partners/partners-search.twig b/docs-site/src/pages/pattern-lab/_patterns/999-archive/partners/partners-search.twig index bf9edcbf58..c5aeb91c55 100644 --- a/docs-site/src/pages/pattern-lab/_patterns/999-archive/partners/partners-search.twig +++ b/docs-site/src/pages/pattern-lab/_patterns/999-archive/partners/partners-search.twig @@ -339,13 +339,17 @@