summaryrefslogtreecommitdiff
path: root/src/components/home/TeamSection.js
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-08-27 22:33:41 +0200
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-23 10:05:45 +0200
commit7aea29d0b22f7e5932c9b147611fe02373bb9645 (patch)
treeeda7a450a16ccfd3d5ff7f722cd0a44602a4a0b1 /src/components/home/TeamSection.js
parent2c42e9488771070d8efec5d91835cd8c7885f4b1 (diff)
Add content sections to homepage
Diffstat (limited to 'src/components/home/TeamSection.js')
-rw-r--r--src/components/home/TeamSection.js34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/components/home/TeamSection.js b/src/components/home/TeamSection.js
new file mode 100644
index 00000000..efa76b29
--- /dev/null
+++ b/src/components/home/TeamSection.js
@@ -0,0 +1,34 @@
+import React from "react";
+import ContentSection from "./ContentSection";
+
+const TeamMember = ({photoId, name, description}) => (
+ <div className="col-xl-3 col-lg-3 col-md-5 col-sm-6 col-12 justify-content-center">
+ <img src={"img/portraits/" + photoId + ".png"}
+ className="col-xl-10 col-lg-10 col-md-10 col-sm-8 col-5 mb-2 mt-2"
+ alt={name}/>
+ <div className="col-12">
+ <h4>{name}</h4>
+ <div className="team-member-description">
+ {description}
+ </div>
+ </div>
+ </div>
+);
+
+const TeamSection = () => (
+ <ContentSection name="team" title="The Team">
+ <div className="row justify-content-center">
+ <TeamMember photoId="aiosup" name="Prof. dr. ir. Alexandru Iosup"
+ description="Project Lead"/>
+ <TeamMember photoId="loverweel" name="Leon Overweel"
+ description="Product Lead and Software Engineer responsible for the web server, database, and
+ API specification"/>
+ <TeamMember photoId="gandreadis" name="Georgios Andreadis"
+ description="Software Engineer responsible for the frontend web application"/>
+ <TeamMember photoId="mbijman" name="Matthijs Bijman"
+ description="Software Engineer responsible for the datacenter simulator"/>
+ </div>
+ </ContentSection>
+);
+
+export default TeamSection;