Skip to content

Commit d82929e

Browse files
Render labs header for DCAR interactive immersives
1 parent dbcf92e commit d82929e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

dotcom-rendering/src/layouts/FullPageInteractiveLayout.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ export const FullPageInteractiveLayout = (props: WebProps | AppsProps) => {
203203
editionId,
204204
} = article;
205205
const isWeb = renderingTarget === 'Web';
206+
const isApps = renderingTarget === 'Apps';
206207

207208
return (
208209
<>
@@ -241,6 +242,20 @@ export const FullPageInteractiveLayout = (props: WebProps | AppsProps) => {
241242
</header>
242243
</>
243244
)}
245+
{isApps && format.theme === ArticleSpecial.Labs && (
246+
<Stuck>
247+
<Section
248+
fullWidth={true}
249+
showTopBorder={false}
250+
padSides={true}
251+
backgroundColour={sourcePalette.labs[400]}
252+
borderColour={sourcePalette.neutral[60]}
253+
sectionId="labs-header"
254+
>
255+
<LabsHeader editionId={editionId} />
256+
</Section>
257+
</Stuck>
258+
)}
244259

245260
<Section
246261
fullWidth={true}

0 commit comments

Comments
 (0)