diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-10-29 00:53:52 +0100 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-05-10 17:17:30 +0200 |
| commit | 6e6f14db8986f5de6491b51117de0e1b0438b341 (patch) | |
| tree | 7ee3fe59d5eaf03202fc0df4085ca9d4c7c280c0 /opendc-web/opendc-web-ui/src/components/home/StakeholderSection.js | |
| parent | 4d4fb1bb19c045e78c74e57816ebee251e1d7d08 (diff) | |
ui: Adapt home components to Reactstrap
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.js | 18 |
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> ) |
