From 1ffe2d238df869fc3da35f95471bf4b5485423d9 Mon Sep 17 00:00:00 2001 From: SimonBrehM <134970638+SimonBrehM@users.noreply.github.com> Date: Sun, 7 Jan 2024 00:09:11 +0100 Subject: [PATCH] Update press.jsx --- src/components/home/press.jsx | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) 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 (
- +
); });