diff --git a/src/components/home/press.jsx b/src/components/home/press.jsx index 2c02a440..81f6eff5 100644 --- a/src/components/home/press.jsx +++ b/src/components/home/press.jsx @@ -15,22 +15,22 @@ const imagesLoadedOptions = { background: ".my-bg-image-el" }; export class LandingPress extends Component { render() { const childElements = [ - require("../../../static/images/gallery/sample/optimized/new_01.jpg"), - require("../../../static/images/gallery/sample/optimized/new_02.jpg"), - require("../../../static/images/gallery/sample/optimized/new_03.jpg"), - require("../../../static/images/gallery/sample/optimized/new_04.jpg"), - require("../../../static/images/gallery/sample/optimized/new_05.jpg"), - require("../../../static/images/gallery/sample/optimized/new_06.jpg"), - require("../../../static/images/gallery/sample/optimized/new_07.jpg"), - require("../../../static/images/gallery/sample/optimized/new_08.jpg"), - require("../../../static/images/gallery/sample/optimized/new_09.jpg"), - require("../../../static/images/gallery/sample/optimized/new_10.jpg"), - require("../../../static/images/gallery/sample/optimized/new_11.jpg"), - require("../../../static/images/gallery/sample/optimized/new_12.jpg") + require("../../../static/images/gallery/sample/optimized/new_01.jpg").default, + require("../../../static/images/gallery/sample/optimized/new_02.jpg").default, + require("../../../static/images/gallery/sample/optimized/new_03.jpg").default, + require("../../../static/images/gallery/sample/optimized/new_04.jpg").default, + require("../../../static/images/gallery/sample/optimized/new_05.jpg").default, + require("../../../static/images/gallery/sample/optimized/new_06.jpg").default, + require("../../../static/images/gallery/sample/optimized/new_07.jpg").default, + require("../../../static/images/gallery/sample/optimized/new_08.jpg").default, + require("../../../static/images/gallery/sample/optimized/new_09.jpg").default, + require("../../../static/images/gallery/sample/optimized/new_10.jpg").default, + require("../../../static/images/gallery/sample/optimized/new_11.jpg").default, + require("../../../static/images/gallery/sample/optimized/new_12.jpg").default ].map(function (src) { return (
- +
); });