diff --git a/src/containers/ListingPage/ListingPage.js b/src/containers/ListingPage/ListingPage.js index f4eecdc0..c9e8d896 100644 --- a/src/containers/ListingPage/ListingPage.js +++ b/src/containers/ListingPage/ListingPage.js @@ -58,20 +58,32 @@ export class ListingPageComponent extends Component { const title = currentListing ? currentListing.attributes.title : ''; const description = currentListing ? currentListing.attributes.description : ''; + // TODO Responsive image-objects need to be thought through when final image sizes are know + const images = currentListing && currentListing.images + ? currentListing.images.map(i => ({ id: i.id, sizes: i.attributes.sizes })) + : []; + + // TODO componentize + const imageCarousel = images.length > 0 + ? ( +