summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/src/components/home/TeamSection.js
blob: bbbe241e2b7fab2590d2e7251d255bd2a60793df (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
import React from 'react'
import Image from 'next/image'
import { Row, Col } from 'reactstrap'
import ContentSection from './ContentSection'

const TeamLead = ({ photoId, name, description }) => (
    <Col xl="3" lg="3" md="4" sm="6" className="justify-content-center">
        <Row>
            <Col xl="10" lg="10" md="10" sm="8" col="5" className="my-2 mx-auto" alt={name}>
                <Image
                    src={'/img/portraits/' + photoId + '.png'}
                    layout="intrinsic"
                    width={182}
                    height={182}
                    alt={name}
                />
            </Col>
            <Col>
                <h4>{name}</h4>
                <div className="team-member-description">{description}</div>
            </Col>
        </Row>
    </Col>
)

const TeamMember = ({ photoId, name }) => (
    <Col xl="2" lg="2" md="3" sm="4" className="justify-content-center">
        <Row>
            <Col xl="10" lg="10" md="10" sm="8" xs="5" className="my-2 mx-auto">
                <Image
                    src={'/img/portraits/' + photoId + '.png'}
                    layout="intrinsic"
                    width={100}
                    height={100}
                    alt={name}
                />
            </Col>
            <Col>
                <h5>{name}</h5>
            </Col>
        </Row>
    </Col>
)

const TeamSection = ({ className }) => (
    <ContentSection name="team" title="OpenDC Team" className={className}>
        <Row className="justify-content-center">
            <TeamLead photoId="aiosup" name="Prof. dr. ir. Alexandru Iosup" description="Project Lead" />
            <TeamLead photoId="fmastenbroek" name="Fabian Mastenbroek" description="Technology Lead" />
            <TeamLead photoId="gandreadis" name="Georgios Andreadis" description="Former Technology Lead (2018-2020)" />
            <TeamLead photoId="vvanbeek" name="Vincent van Beek" description="Former Technology Lead (2017-2018)" />
        </Row>
        <Row className="justify-content-center mt-5">
            <TeamMember photoId="loverweel" name="Leon Overweel" />
            <TeamMember photoId="lfdversluis" name="Laurens Versluis" />
            <TeamMember photoId="evaneyk" name="Erwin van Eyk" />
            <TeamMember photoId="sjounaid" name="Soufiane Jounaid" />
            <TeamMember photoId="wlai" name="Wenchen Lai" />
            <TeamMember photoId="hhe" name="Hongyu He" />
            <TeamMember photoId="jburley" name="Jacob Burley" />
            <TeamMember photoId="jbosch" name="Jaro Bosch" />
        </Row>
    </ContentSection>
)

export default TeamSection