55 palette as sourcePalette ,
66 space ,
77} from '@guardian/source/foundations' ;
8+ import { Hide } from '@guardian/source/react-components' ;
89import { Fragment } from 'react' ;
910import { AdSlot } from '../components/AdSlot.web' ;
1011import { AppsFooter } from '../components/AppsFooter.importable' ;
@@ -17,7 +18,6 @@ import { Footer } from '../components/Footer';
1718import { DesktopAdSlot , MobileAdSlot } from '../components/GalleryAdSlots' ;
1819import { GalleryImage } from '../components/GalleryImage' ;
1920import { HeaderAdSlot } from '../components/HeaderAdSlot' ;
20- import { Hide } from '../components/Hide' ;
2121import { Island } from '../components/Island' ;
2222import { MainMediaGallery } from '../components/MainMediaGallery' ;
2323import { Masthead } from '../components/Masthead/Masthead' ;
@@ -278,15 +278,15 @@ export const GalleryLayout = (props: WebProps | AppProps) => {
278278 { isWeb && shouldShowAds && (
279279 < div css = { galleryItemAdvertStyles } >
280280 < div css = { galleryInlineAdContainerStyles } >
281- < Hide when = "below" breakpoint = "tablet" >
281+ < Hide until = "tablet" >
282282 < DesktopAdSlot
283283 renderAds = { renderAds }
284284 adSlotIndex = { adPositions . indexOf (
285285 index ,
286286 ) }
287287 />
288288 </ Hide >
289- < Hide when = "above" breakpoint = "tablet" >
289+ < Hide from = "tablet" >
290290 < MobileAdSlot
291291 renderAds = { renderAds }
292292 adSlotIndex = { adPositions . indexOf (
@@ -331,6 +331,7 @@ export const GalleryLayout = (props: WebProps | AppProps) => {
331331 />
332332 </ Section >
333333 ) }
334+ { /** Most Popular container goes here */ }
334335 { isWeb && renderAds && ! isLabs && (
335336 < Section
336337 fullWidth = { true }
0 commit comments