diff --git a/dotcom-rendering/src/layouts/GalleryLayout.tsx b/dotcom-rendering/src/layouts/GalleryLayout.tsx index 686fb11030e..53ba3373210 100644 --- a/dotcom-rendering/src/layouts/GalleryLayout.tsx +++ b/dotcom-rendering/src/layouts/GalleryLayout.tsx @@ -1,4 +1,5 @@ import { css } from '@emotion/react'; +import { Masthead } from '../components/Masthead/Masthead'; import { grid } from '../grid'; import type { NavType } from '../model/extract-nav'; import type { Gallery } from '../types/article'; @@ -23,41 +24,63 @@ const border = css({ borderStyle: 'solid', }); -export const GalleryLayout = (props: WebProps | AppProps) => ( - <> - {props.renderingTarget === 'Web' ? 'Masthead' : null} -
-
Labs header
-
-
Main media
-
- Headline -
-
- Standfirst -
-
Main media caption
-
- Meta -
-
-
Body
-
Submeta
-
- -); +export const GalleryLayout = (props: WebProps | AppProps) => { + const frontendData = props.gallery.frontendData; + return ( + <> + {props.renderingTarget === 'Web' && ( + + )} +
+
Labs header
+
+
Main media
+
+ Headline +
+
+ Standfirst +
+
+ Main media caption +
+
+ Meta +
+
+
Body
+
Submeta
+
+ + ); +};