diff --git a/dotcom-rendering/src/components/ExpandableMarketingCard.stories.tsx b/dotcom-rendering/src/components/ExpandableMarketingCard.stories.tsx
index 8924fbcf7cf..a8a87b2721c 100644
--- a/dotcom-rendering/src/components/ExpandableMarketingCard.stories.tsx
+++ b/dotcom-rendering/src/components/ExpandableMarketingCard.stories.tsx
@@ -32,8 +32,6 @@ export const Default = {
chromatic: {
viewports: [
breakpoints.mobile,
- breakpoints.mobileMedium,
- breakpoints.phablet,
breakpoints.tablet,
breakpoints.desktop,
],
diff --git a/dotcom-rendering/src/components/ExpandableMarketingCard.tsx b/dotcom-rendering/src/components/ExpandableMarketingCard.tsx
index 01546958e18..dde37329e26 100644
--- a/dotcom-rendering/src/components/ExpandableMarketingCard.tsx
+++ b/dotcom-rendering/src/components/ExpandableMarketingCard.tsx
@@ -24,10 +24,44 @@ interface BannersIllustrationProps {
styles?: SerializedStyles;
}
+const smallIllustrationStyles = css`
+ display: none;
+ ${from.phablet} {
+ display: inline;
+ }
+ ${from.leftCol} {
+ display: none;
+ }
+`;
+const largeIllustrationStyles = css`
+ display: inline;
+ ${from.phablet} {
+ display: none;
+ }
+ ${from.leftCol} {
+ display: inline;
+ }
+`;
+
const BannersIllustration = ({ type, styles }: BannersIllustrationProps) => {
const { assetOrigin } = useConfig();
- const src = `${assetOrigin}static/frontend/logos/red-blue-banner-${type}.svg`;
- return ;
+ const smallSrc = `${assetOrigin}static/frontend/logos/red-blue-small-banner-${type}.svg`;
+ const largeSrc = `${assetOrigin}static/frontend/logos/red-blue-large-banner-${type}.svg`;
+
+ return (
+ <>
+
+
+ >
+ );
};
const fillBarStyles = css`
@@ -64,6 +98,10 @@ const summaryStyles = css`
z-index: 1;
width: 100%;
`;
+const contractedSummaryStyles = css`
+ ${summaryStyles}
+ cursor: pointer;
+`;
const headingStyles = css`
display: flex;
@@ -162,7 +200,6 @@ interface Props {
setIsClosed: Dispatch>;
}
-// todo - semantic html accordion-details?
export const ExpandableMarketingCard = ({
guardianBaseURL,
heading,
@@ -182,7 +219,8 @@ export const ExpandableMarketingCard = ({
styles={imageTopStyles}
/>
{
@@ -220,6 +258,7 @@ export const ExpandableMarketingCard = ({
{heading}
+ {isWeb && (
+
+
+
+
+
+ )}
+ {isWeb && (
+
+
+
+
+
+ )}
{
/>
- {isWeb && (
-
-
-
-
-
-
-
- )}
diff --git a/dotcom-rendering/src/layouts/ShowcaseLayout.tsx b/dotcom-rendering/src/layouts/ShowcaseLayout.tsx
index bda4ad0f2c3..7b1b281a22b 100644
--- a/dotcom-rendering/src/layouts/ShowcaseLayout.tsx
+++ b/dotcom-rendering/src/layouts/ShowcaseLayout.tsx
@@ -580,6 +580,24 @@ export const ShowcaseLayout = (props: WebProps | AppsProps) => {
+ {isWeb && (
+
+
+
+
+
+ )}
{
)}
+ {isWeb && (
+
+
+
+
+
+ )}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dotcom-rendering/src/static/logos/red-blue-small-banner-faded.svg b/dotcom-rendering/src/static/logos/red-blue-small-banner-faded.svg
new file mode 100644
index 00000000000..4ded194ae58
--- /dev/null
+++ b/dotcom-rendering/src/static/logos/red-blue-small-banner-faded.svg
@@ -0,0 +1,33 @@
+
diff --git a/dotcom-rendering/src/static/logos/red-blue-small-banner-top.svg b/dotcom-rendering/src/static/logos/red-blue-small-banner-top.svg
new file mode 100644
index 00000000000..8e80855e76a
--- /dev/null
+++ b/dotcom-rendering/src/static/logos/red-blue-small-banner-top.svg
@@ -0,0 +1,31 @@
+