Skip to content

Commit 8832f4d

Browse files
authored
Merge branch 'main' into jm/feat-mparticle-headers
2 parents 2c89d8e + 41556fa commit 8832f4d

File tree

1 file changed

+41
-35
lines changed

1 file changed

+41
-35
lines changed

dotcom-rendering/src/layouts/StandardLayout.tsx

Lines changed: 41 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -505,41 +505,47 @@ export const StandardLayout = (props: WebProps | AppProps) => {
505505
isInFootballRedesignVariantGroup
506506
}
507507
>
508-
<GridItem area="matchNav" element="aside">
509-
<div css={maxWidth}>
510-
{isMatchReport && (
511-
<Island
512-
priority="feature"
513-
defer={{ until: 'visible' }}
514-
>
515-
<GetMatchNav
516-
matchUrl={footballMatchUrl}
517-
format={format}
518-
headlineString={article.headline}
519-
tags={article.tags}
520-
webPublicationDateDeprecated={
521-
article.webPublicationDateDeprecated
522-
}
523-
/>
524-
</Island>
525-
)}
526-
</div>
527-
</GridItem>
528-
<GridItem area="matchtabs" element="aside">
529-
<div css={maxWidth}>
530-
{isMatchReport && (
531-
<Island
532-
priority="critical"
533-
defer={{ until: 'visible' }}
534-
>
535-
<GetMatchTabs
536-
matchUrl={footballMatchUrl}
537-
format={format}
538-
/>
539-
</Island>
540-
)}
541-
</div>
542-
</GridItem>
508+
{!isInFootballRedesignVariantGroup && (
509+
<>
510+
<GridItem area="matchNav" element="aside">
511+
<div css={maxWidth}>
512+
{isMatchReport && (
513+
<Island
514+
priority="feature"
515+
defer={{ until: 'visible' }}
516+
>
517+
<GetMatchNav
518+
matchUrl={footballMatchUrl}
519+
format={format}
520+
headlineString={
521+
article.headline
522+
}
523+
tags={article.tags}
524+
webPublicationDateDeprecated={
525+
article.webPublicationDateDeprecated
526+
}
527+
/>
528+
</Island>
529+
)}
530+
</div>
531+
</GridItem>
532+
<GridItem area="matchtabs" element="aside">
533+
<div css={maxWidth}>
534+
{isMatchReport && (
535+
<Island
536+
priority="critical"
537+
defer={{ until: 'visible' }}
538+
>
539+
<GetMatchTabs
540+
matchUrl={footballMatchUrl}
541+
format={format}
542+
/>
543+
</Island>
544+
)}
545+
</div>
546+
</GridItem>
547+
</>
548+
)}
543549
<GridItem area="media">
544550
<div css={!isMedia && maxWidth}>
545551
<MainMedia

0 commit comments

Comments
 (0)