diff --git a/dotcom-rendering/src/layouts/StandardLayout.tsx b/dotcom-rendering/src/layouts/StandardLayout.tsx
index 7b2a56f96e9..c63cf2ebfe1 100644
--- a/dotcom-rendering/src/layouts/StandardLayout.tsx
+++ b/dotcom-rendering/src/layouts/StandardLayout.tsx
@@ -24,6 +24,7 @@ import { Carousel } from '../components/Carousel.importable';
import { DecideLines } from '../components/DecideLines';
import { DirectoryPageNav } from '../components/DirectoryPageNav';
import { DiscussionLayout } from '../components/DiscussionLayout';
+import { FootballMatchHeaderWrapper } from '../components/FootballMatchHeaderWrapper.importable';
import { FootballMatchInfoWrapper } from '../components/FootballMatchInfoWrapper.importable';
import { Footer } from '../components/Footer';
import { GetMatchNav } from '../components/GetMatchNav.importable';
@@ -56,6 +57,7 @@ import {
import { canRenderAds } from '../lib/canRenderAds';
import { getContributionsServiceUrl } from '../lib/contributions';
import { decideStoryPackageTrails } from '../lib/decideTrail';
+import type { EditionId } from '../lib/edition';
import { safeParseURL } from '../lib/parse';
import { parse } from '../lib/slot-machine-flags';
import { useBetaAB } from '../lib/useAB';
@@ -69,10 +71,12 @@ const StandardGrid = ({
children,
isMatchReport,
isMedia,
+ isInFootballRedesignVariantGroup,
}: {
children: React.ReactNode;
isMatchReport: boolean;
isMedia: boolean;
+ isInFootballRedesignVariantGroup: boolean;
}) => (
{
editionId,
} = article;
+ const isWeb = renderingTarget === 'Web';
+ const isApps = renderingTarget === 'Apps';
+
const abTests = useBetaAB();
const isInFootballRedesignVariantGroup =
- abTests?.isUserInTestGroup('webex-football-redesign', 'variant') ??
+ (abTests?.isUserInTestGroup('webex-football-redesign', 'variant') &&
+ isWeb) ??
false;
- const isWeb = renderingTarget === 'Web';
- const isApps = renderingTarget === 'Apps';
-
const showBodyEndSlot =
isWeb &&
(parse(article.slotMachineFlags ?? '').showBodyEnd ||
@@ -375,6 +395,11 @@ export const StandardLayout = (props: WebProps | AppProps) => {
? article.matchStatsUrl
: undefined;
+ const footballMatchHeaderUrl =
+ article.matchType === 'FootballMatchType'
+ ? article.matchHeaderUrl
+ : undefined;
+
const isMatchReport =
format.design === ArticleDesign.MatchReport && !!footballMatchUrl;
@@ -442,6 +467,13 @@ export const StandardLayout = (props: WebProps | AppProps) => {
)}
+
+
{isWeb && renderAds && hasSurveyAd && (
)}
@@ -469,6 +501,9 @@ export const StandardLayout = (props: WebProps | AppProps) => {
@@ -1093,7 +1128,44 @@ export const StandardLayout = (props: WebProps | AppProps) => {
);
};
-export const MatchInfoContainer = ({
+const MatchHeaderContainer = ({
+ isMatchReport,
+ isInVariantGroup,
+ footballMatchHeaderUrl,
+ editionId,
+}: {
+ isMatchReport: boolean;
+ isInVariantGroup: boolean;
+ footballMatchHeaderUrl: string | undefined;
+ editionId: EditionId;
+}) => {
+ if (isMatchReport && isInVariantGroup && !!footballMatchHeaderUrl) {
+ const parsedUrl = safeParseURL(footballMatchHeaderUrl);
+ if (!parsedUrl.ok) {
+ log(
+ 'dotcom',
+ new Error(
+ `Failed to parse match header URL: ${footballMatchHeaderUrl}`,
+ ),
+ );
+
+ return null;
+ }
+ return (
+
+
+
+ );
+ }
+
+ return null;
+};
+
+const MatchInfoContainer = ({
isMatchReport,
isInVariantGroup,
footballMatchUrl,
From c883844c37472941c91bb60440004b2fbe9e7f81 Mon Sep 17 00:00:00 2001
From: Marjan Kalanaki <15894063+marjisound@users.noreply.github.com>
Date: Fri, 20 Feb 2026 15:15:51 +0000
Subject: [PATCH 5/5] Remove article title for redesigned match reports
---
.../src/layouts/StandardLayout.tsx | 23 +++++++++++--------
1 file changed, 13 insertions(+), 10 deletions(-)
diff --git a/dotcom-rendering/src/layouts/StandardLayout.tsx b/dotcom-rendering/src/layouts/StandardLayout.tsx
index c63cf2ebfe1..6aac6bbc26a 100644
--- a/dotcom-rendering/src/layouts/StandardLayout.tsx
+++ b/dotcom-rendering/src/layouts/StandardLayout.tsx
@@ -561,16 +561,19 @@ export const StandardLayout = (props: WebProps | AppProps) => {
/>
-
-
-
+ {!isInFootballRedesignVariantGroup && (
+
+
+
+ )}
+
{format.theme === ArticleSpecial.Labs ? (
<>>