summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/src/components/home/StakeholderSection.js
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-05-10 21:32:54 +0200
committerGitHub <noreply@github.com>2021-05-10 21:32:54 +0200
commit1ce710ebaa8b071a3b30447d431f4af422f25156 (patch)
treed0d202eb1166f151113258d06199710fbd8324ec /opendc-web/opendc-web-ui/src/components/home/StakeholderSection.js
parentddefa23e8e86c4eab2d2218646bcef21d547f4bc (diff)
parent09e5fe5a7f9ce8452fa9c042cb493e6fb4de221f (diff)
ui: Update frontend dependencies
This pull request updates the React dependencies used in the OpenDC frontend. * Actualize React, react-konva and react-scripts * Actualize Bootstrap and Reactstrap * Migrate to Redux hooks to reduce clutter
Diffstat (limited to 'opendc-web/opendc-web-ui/src/components/home/StakeholderSection.js')
-rw-r--r--opendc-web/opendc-web-ui/src/components/home/StakeholderSection.js18
1 files changed, 12 insertions, 6 deletions
diff --git a/opendc-web/opendc-web-ui/src/components/home/StakeholderSection.js b/opendc-web/opendc-web-ui/src/components/home/StakeholderSection.js
index e5ed9683..1624b4d2 100644
--- a/opendc-web/opendc-web-ui/src/components/home/StakeholderSection.js
+++ b/opendc-web/opendc-web-ui/src/components/home/StakeholderSection.js
@@ -1,29 +1,35 @@
import React from 'react'
+import { Row, Col } from 'reactstrap'
import ContentSection from './ContentSection'
const Stakeholder = ({ name, title, subtitle }) => (
- <div className="col-xl-4 col-lg-4 col-md-4 col-sm-6 col-6">
- <img
+ <Col xl="4" lg="4" md="4" sm="6">
+ <Col
+ tag="img"
+ xl="3"
+ lg="3"
+ md="4"
+ sm="4"
src={'img/stakeholders/' + name + '.png'}
- className="col-xl-3 col-lg-4 col-md-4 col-sm-4 col-4 img-fluid"
+ className="img-fluid"
alt={title}
/>
<div className="text-center mt-2">
<h4>{title}</h4>
<p>{subtitle}</p>
</div>
- </div>
+ </Col>
)
const StakeholderSection = () => (
<ContentSection name="stakeholders" title="Stakeholders">
- <div className="row justify-content-center">
+ <Row className="justify-content-center">
<Stakeholder name="Manager" title="Managers" subtitle="Seeing is deciding" />
<Stakeholder name="Sales" title="Sales" subtitle="Demo concepts" />
<Stakeholder name="Developer" title="DevOps" subtitle="Develop & tune" />
<Stakeholder name="Researcher" title="Researchers" subtitle="Understand & design" />
<Stakeholder name="Student" title="Students" subtitle="Grasp complex concepts" />
- </div>
+ </Row>
</ContentSection>
)