Skip to content
Merged
Changes from 2 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
26 changes: 26 additions & 0 deletions dotcom-rendering/src/layouts/GalleryLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import { Island } from '../components/Island';
import { LabsHeader } from '../components/LabsHeader';
import { MainMediaGallery } from '../components/MainMediaGallery';
import { Masthead } from '../components/Masthead/Masthead';
import { OnwardsUpper } from '../components/OnwardsUpper.importable';
import { Section } from '../components/Section';
import { Standfirst } from '../components/Standfirst';
import { StickyBottomBanner } from '../components/StickyBottomBanner.importable';
Expand Down Expand Up @@ -406,6 +407,31 @@ export const GalleryLayout = (props: WebProps | AppProps) => {
storyPackage={gallery.storyPackage}
topBorder={showMerchandisingHigh}
/>

<Island priority="feature" defer={{ until: 'visible' }}>
<OnwardsUpper
ajaxUrl={frontendData.config.ajaxUrl}
hasRelated={frontendData.hasRelated}
hasStoryPackage={frontendData.hasStoryPackage}
isAdFreeUser={frontendData.isAdFreeUser}
pageId={frontendData.pageId}
isPaidContent={!!frontendData.config.isPaidContent}
showRelatedContent={frontendData.config.showRelatedContent}
keywordIds={frontendData.config.keywordIds}
contentType={frontendData.contentType}
tags={frontendData.tags}
format={format}
pillar={format.theme}
editionId={frontendData.editionId}
shortUrlId={frontendData.config.shortUrlId}
discussionApiUrl={frontendData.config.discussionApiUrl}
absoluteServerTimes={
switches['absoluteServerTimes'] ?? false
}
renderingTarget={renderingTarget}
/>
</Island>

{/** More Galleries container goes here */}
{showComments && (
<Section
Expand Down
Loading