Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions dotcom-rendering/src/layouts/FullPageInteractiveLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ interface AppsProps extends CommonProps {
type HeaderProps = {
article: ArticleDeprecated;
NAV: NavType;
format: ArticleFormat;
renderAds?: boolean;
};

Expand Down Expand Up @@ -143,7 +142,7 @@ const Renderer = ({
return <div css={adStyles}>{output}</div>;
};

const NavHeader = ({ article, NAV, format, renderAds }: HeaderProps) => {
const NavHeader = ({ article, NAV, renderAds }: HeaderProps) => {
return (
<section
/* Note, some interactives require this - e.g. https://www.theguardian.com/environment/ng-interactive/2015/jun/05/carbon-bomb-the-coal-boom-choking-china. */
Expand Down Expand Up @@ -177,7 +176,7 @@ const NavHeader = ({ article, NAV, format, renderAds }: HeaderProps) => {
discussionApiUrl={article.config.discussionApiUrl}
idApiUrl={article.config.idApiUrl}
contributionsServiceUrl={article.contributionsServiceUrl}
showSubNav={format.theme !== ArticleSpecial.Labs}
showSubNav={false}
showSlimNav={true}
hasPageSkin={false}
hasPageSkinContentSelfConstrain={false}
Expand Down Expand Up @@ -226,7 +225,6 @@ export const FullPageInteractiveLayout = (props: WebProps | AppsProps) => {
<NavHeader
article={article}
NAV={props.NAV}
format={format}
renderAds={renderAds}
/>

Expand Down
2 changes: 1 addition & 1 deletion dotcom-rendering/src/layouts/InteractiveLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ export const InteractiveLayout = (props: WebProps | AppsProps) => {
discussionApiUrl={article.config.discussionApiUrl}
idApiUrl={article.config.idApiUrl}
contributionsServiceUrl={contributionsServiceUrl}
showSubNav={format.theme !== ArticleSpecial.Labs}
showSlimNav={true}
showSubNav={false}
hasPageSkin={false}
hasPageSkinContentSelfConstrain={false}
pageId={article.pageId}
Expand Down