Skip to content

Commit d7dbad8

Browse files
authored
Add affiliates disclaimer in leftcol on apps for breakpoints above leftcol (#14342)
1 parent bd67b43 commit d7dbad8

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

dotcom-rendering/src/layouts/ImmersiveLayout.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,9 @@ export const ImmersiveLayout = (props: WebProps | AppProps) => {
601601
article.config.shortUrlId
602602
}
603603
/>
604+
{!!article.affiliateLinksDisclaimer && (
605+
<AffiliateDisclaimer />
606+
)}
604607
</Hide>
605608
</>
606609
) : (

dotcom-rendering/src/layouts/ShowcaseLayout.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,9 @@ export const ShowcaseLayout = (props: WebProps | AppsProps) => {
486486
article.config.shortUrlId
487487
}
488488
/>
489+
{!!article.affiliateLinksDisclaimer && (
490+
<AffiliateDisclaimer />
491+
)}
489492
</Hide>
490493
</>
491494
) : (

dotcom-rendering/src/layouts/StandardLayout.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -645,6 +645,9 @@ export const StandardLayout = (props: WebProps | AppProps) => {
645645
}
646646
/>
647647
</div>
648+
{!!article.affiliateLinksDisclaimer && (
649+
<AffiliateDisclaimer />
650+
)}
648651
</Hide>
649652
</>
650653
) : (

0 commit comments

Comments
 (0)