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-07-15 15:10:04 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2021-07-15 15:45:25 +0200
commit829be3c973f5ca837431c3ca10909412b675e668 (patch)
tree4228b7173d5a058f1a4f2fd77fb4691cf29bc90f /opendc-web/opendc-web-ui/src/components/home/StakeholderSection.js
parent1a2416043f0b877f570e89da74e0d0a4aff1d8ae (diff)
refactor(ui): Extract OpenDC landing page from web interface
This change extracts the landing page from the web interface in order to separate the development of the two. This allows the landing page to be developed independently of the actual OpenDC web application.
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.js47
1 files changed, 0 insertions, 47 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
deleted file mode 100644
index aa689ba4..00000000
--- a/opendc-web/opendc-web-ui/src/components/home/StakeholderSection.js
+++ /dev/null
@@ -1,47 +0,0 @@
-import PropTypes from 'prop-types'
-import React from 'react'
-import { Row, Col } from 'reactstrap'
-import ContentSection from './ContentSection'
-
-const Stakeholder = ({ name, title, subtitle }) => (
- <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="img-fluid"
- alt={title}
- />
- <div className="text-center mt-2">
- <h4>{title}</h4>
- <p>{subtitle}</p>
- </div>
- </Col>
-)
-
-Stakeholder.propTypes = {
- name: PropTypes.string,
- title: PropTypes.string,
- subtitle: PropTypes.string,
-}
-
-const StakeholderSection = ({ className }) => (
- <ContentSection name="stakeholders" title="Stakeholders" className={className}>
- <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" />
- </Row>
- </ContentSection>
-)
-
-StakeholderSection.propTypes = {
- className: PropTypes.string,
-}
-
-export default StakeholderSection