summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/src/components/home/StakeholderSection.js
blob: 9a4892ed6940ee185d6866b9575cd2ce204f668e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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>
)

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>
)

export default StakeholderSection