Skip to content

Commit 4bcbe90

Browse files
author
yshih8
committed
added boxes to show exec info
1 parent e4fbb42 commit 4bcbe90

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

src/About.js

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,43 @@ import { faEnvelope } from "@fortawesome/free-solid-svg-icons";
77

88
library.add(fab, faEnvelope);
99

10+
const Officer = ({ item }) => {
11+
return (
12+
<div className="card col m-3">
13+
<div className="card-body">
14+
<h4 className="card-title">{item.name}</h4>
15+
<h5 className="card-text">{item.position}</h5>
16+
<a href={"mailto:"+item.email} target="_blank" rel="noopener">{item.email}</a>
17+
</div>
18+
</div>
19+
);
20+
};
21+
1022
const About = () => {
1123
return (
1224
<Fragment>
1325
<h2>About Us</h2>
1426
{about.about}
1527
<p className="h5 mt-3">Meet us on Mondays 7pm @ Siebel 3401!</p>
1628
<h3 className="mt-1">Exec</h3>
29+
<div className="row mr-3 ml-3">
30+
{about.exec.map(item => (
31+
<Officer item={item} key={item.name} />
32+
))}
33+
</div>
1734
<h3 className="mt-1">Contact Us</h3>
1835
<div>
19-
<a href="mailto:[email protected]">
36+
<a href="mailto:[email protected]" target="_blank" rel="noopener">
2037
<FontAwesomeIcon className="mr-3" icon="envelope" size="3x" />
2138
</a>
22-
<a href="https://www.facebook.com/uiucacmsiggraph/">
39+
<a href="https://www.facebook.com/uiucacmsiggraph/" target="_blank" rel="noopener">
2340
<FontAwesomeIcon
2441
className="mr-3"
2542
icon={["fab", "facebook"]}
2643
size="3x"
2744
/>
2845
</a>
29-
<a href="https://siggraphuiuc.slack.com">
46+
<a href="https://siggraphuiuc.slack.com" target="_blank" rel="noopener">
3047
<FontAwesomeIcon className="mr-3" icon={["fab", "slack"]} size="3x" />
3148
</a>
3249
</div>

src/Projects.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ const Project = ({ item }) => {
1313
};
1414

1515
const Projects = () => {
16-
console.log(projects);
1716
return (
1817
<Fragment>
1918
<h2>Current</h2>

src/styles/index.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ h1.center {
4545
position: absolute;
4646
top: 4em;
4747
left: 0;
48+
width: 100%;
4849
}
4950

5051
.footer {

0 commit comments

Comments
 (0)