summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/src/components/home/ScreenshotSection.js
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-05-09 11:11:14 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2021-05-09 11:12:33 +0200
commitdceed47c17241a25b58437a9772cc418551ac30a (patch)
tree3bc93f9bd43f7ad013fb3bbf576a29936580f2b9 /opendc-web/opendc-web-ui/src/components/home/ScreenshotSection.js
parent85e9603897c020bb4634c7c941d66f2c06dcacb7 (diff)
ui: Update screenshots of OpenDC user-interface
Diffstat (limited to 'opendc-web/opendc-web-ui/src/components/home/ScreenshotSection.js')
-rw-r--r--opendc-web/opendc-web-ui/src/components/home/ScreenshotSection.js21
1 files changed, 13 insertions, 8 deletions
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 }) => (
<ContentSection name={name} title={title}>
- <div className="row">
- <div
- className={classNames('col-xl-5 col-lg-5 col-md-5 col-sm-12 col-12 text-left', {
+ <Row>
+ <Col
+ xl="5"
+ lg="5"
+ md="5"
+ sm="!2"
+ className={classNames('text-left my-auto', {
'order-1': !imageIsRight,
})}
>
{children}
- </div>
- <div className="col-xl-7 col-lg-7 col-md-7 col-sm-12 col-12">
+ </Col>
+ <Col xl="7" lg="7" md="7" sm="12">
<img src={imageUrl} className="col-12 screenshot" alt={caption} />
- <div className="row text-muted justify-content-center">{caption}</div>
- </div>
- </div>
+ <Row className="text-muted justify-content-center">{caption}</Row>
+ </Col>
+ </Row>
</ContentSection>
)