Skip to content

Commit ba567b6

Browse files
committed
added contact page
1 parent d15c566 commit ba567b6

File tree

5 files changed

+77
-2
lines changed

5 files changed

+77
-2
lines changed

my-app/package-lock.json

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

my-app/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"react": "^18.2.0",
1212
"react-bootstrap": "^2.9.0",
1313
"react-dom": "^18.2.0",
14+
"react-icons": "^4.11.0",
1415
"react-scripts": "5.0.1",
1516
"react-simple-maps": "^3.0.0",
1617
"reactstrap": "^9.2.0",

my-app/src/pages/Contact.css

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
.text {
2+
color: rgb(154, 157, 158);
3+
}
4+
5+
.contact {
6+
height: 95vh;
7+
display: flex;
8+
align-items: center;
9+
flex-direction: column;
10+
}
11+
12+
.icon {
13+
fill: white;
14+
margin-right: 20px;
15+
svg {
16+
fill: white;
17+
}
18+
}
19+
20+
.header {
21+
font-weight: 400;
22+
font-size: 24px;
23+
}
24+
25+
.body {
26+
display: flex;
27+
justify-content: space-between;
28+
}
29+
30+
a {
31+
margin-left: 0;
32+
}

my-app/src/pages/Contact.js

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
1+
import "./Contact.css";
2+
import { AiFillLinkedin } from "react-icons/ai";
3+
import { AiFillGithub } from "react-icons/ai";
4+
15
const Contact = () => {
2-
return <h1>Contact Me</h1>;
6+
return (
7+
<div className="contact bg-dark">
8+
<div className="title text">
9+
<h1>Contact Info</h1>
10+
</div>
11+
<div className="body text">
12+
<div className="email">
13+
<div className="header">Please feel free to reach me at: </div>
14+
<div>
15+
Email:{" "}
16+
<a href="mailto: [email protected]">
17+
18+
</a>
19+
</div>
20+
<div>Phone Number: 617-961-2158</div>
21+
</div>
22+
<div className="header">
23+
Or follow me here!
24+
<div className="icons">
25+
<a href="https://www.linkedin.com/in/joseph-martinez-0b8624124">
26+
<AiFillLinkedin className="icon" size={32} />
27+
</a>
28+
<a href="https://github.com/csmartinez22">
29+
<AiFillGithub className="icon" size={32} />
30+
</a>
31+
</div>
32+
</div>
33+
</div>
34+
</div>
35+
);
336
};
437

538
export default Contact;

my-app/src/pages/Home.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.main {
2-
height: 100vh;
2+
height: 95vh;
33
display: flex;
44
justify-content: center;
55
align-items: center;

0 commit comments

Comments
 (0)