From dceed47c17241a25b58437a9772cc418551ac30a Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Sun, 9 May 2021 11:11:14 +0200 Subject: ui: Update screenshots of OpenDC user-interface --- .../public/img/screenshot-construction.png | Bin 76461 -> 275103 bytes .../public/img/screenshot-simulation-zoom.png | Bin 100583 -> 0 bytes .../public/img/screenshot-simulation.png | Bin 0 -> 291836 bytes .../src/components/home/ScreenshotSection.js | 21 +++++++++++++-------- .../src/components/home/ScreenshotSection.sass | 1 - .../src/components/home/SimulationSection.js | 10 ++++++---- 6 files changed, 19 insertions(+), 13 deletions(-) delete mode 100644 opendc-web/opendc-web-ui/public/img/screenshot-simulation-zoom.png create mode 100644 opendc-web/opendc-web-ui/public/img/screenshot-simulation.png (limited to 'opendc-web') diff --git a/opendc-web/opendc-web-ui/public/img/screenshot-construction.png b/opendc-web/opendc-web-ui/public/img/screenshot-construction.png index 223e8d48..ea20a7c4 100644 Binary files a/opendc-web/opendc-web-ui/public/img/screenshot-construction.png and b/opendc-web/opendc-web-ui/public/img/screenshot-construction.png differ diff --git a/opendc-web/opendc-web-ui/public/img/screenshot-simulation-zoom.png b/opendc-web/opendc-web-ui/public/img/screenshot-simulation-zoom.png deleted file mode 100644 index d7744926..00000000 Binary files a/opendc-web/opendc-web-ui/public/img/screenshot-simulation-zoom.png and /dev/null differ diff --git a/opendc-web/opendc-web-ui/public/img/screenshot-simulation.png b/opendc-web/opendc-web-ui/public/img/screenshot-simulation.png new file mode 100644 index 00000000..1bd989c7 Binary files /dev/null and b/opendc-web/opendc-web-ui/public/img/screenshot-simulation.png differ diff --git a/opendc-web/opendc-web-ui/src/components/home/ScreenshotSection.js b/opendc-web/opendc-web-ui/src/components/home/ScreenshotSection.js index c987d5d0..263590d5 100644 --- a/opendc-web/opendc-web-ui/src/components/home/ScreenshotSection.js +++ b/opendc-web/opendc-web-ui/src/components/home/ScreenshotSection.js @@ -1,23 +1,28 @@ import classNames from 'classnames' import React from 'react' +import { Row, Col } from 'reactstrap' import ContentSection from './ContentSection' import './ScreenshotSection.sass' const ScreenshotSection = ({ name, title, imageUrl, caption, imageIsRight, children }) => ( -
-
+ {children} -
-
+ + {caption} -
{caption}
-
-
+ {caption} + +
) diff --git a/opendc-web/opendc-web-ui/src/components/home/ScreenshotSection.sass b/opendc-web/opendc-web-ui/src/components/home/ScreenshotSection.sass index 2f454cb4..6b1a6ec4 100644 --- a/opendc-web/opendc-web-ui/src/components/home/ScreenshotSection.sass +++ b/opendc-web/opendc-web-ui/src/components/home/ScreenshotSection.sass @@ -1,5 +1,4 @@ .screenshot - outline: 2px black solid padding-left: 0 padding-right: 0 margin-bottom: 5px diff --git a/opendc-web/opendc-web-ui/src/components/home/SimulationSection.js b/opendc-web/opendc-web-ui/src/components/home/SimulationSection.js index b0244cb5..739a5d11 100644 --- a/opendc-web/opendc-web-ui/src/components/home/SimulationSection.js +++ b/opendc-web/opendc-web-ui/src/components/home/SimulationSection.js @@ -5,16 +5,18 @@ const ModelingSection = () => (

Working with OpenDC:

) -- cgit v1.2.3