File tree Expand file tree Collapse file tree
dotcom-rendering/src/layouts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,12 +41,13 @@ const metaFlex = css`
4141
4242export const HostedGalleryLayout = ( props : WebProps | AppProps ) => {
4343 const {
44- content : {
45- frontendData : { pageId, webTitle } ,
46- } ,
44+ content : { frontendData } ,
4745 format,
4846 } = props ;
4947
48+ const branding =
49+ frontendData . commercialProperties [ frontendData . editionId ] . branding ;
50+
5051 return (
5152 < >
5253 { props . renderingTarget === 'Web' ? (
@@ -61,8 +62,8 @@ export const HostedGalleryLayout = (props: WebProps | AppProps) => {
6162 element = "aside"
6263 >
6364 < HostedContentHeader
64- accentColor = { sourcePalette . brand [ 400 ] }
65- branding = "logo"
65+ accentColor = { branding . hostedCampaignColour }
66+ branding = { branding }
6667 />
6768 </ Section >
6869 </ Stuck >
@@ -103,8 +104,8 @@ export const HostedGalleryLayout = (props: WebProps | AppProps) => {
103104 defer = { { until : 'visible' } }
104105 >
105106 < ShareButton
106- pageId = { pageId }
107- webTitle = { webTitle }
107+ pageId = { frontendData . pageId }
108+ webTitle = { frontendData . webTitle }
108109 format = { format }
109110 context = "ArticleMeta"
110111 />
You can’t perform that action at this time.
0 commit comments