Skip to content

Commit 8e28f88

Browse files
committed
add file download
1 parent a7b320b commit 8e28f88

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

my-app/public/files/JM_CV.pdf

75.5 KB
Binary file not shown.
66.9 KB
Binary file not shown.

my-app/src/pages/Contact.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const Contact = () => {
2222
<div className="header">
2323
Or follow me here!
2424
<div className="icons">
25-
<a href="https://www.linkedin.com/in/joseph-martinez-0b8624124">
25+
<a href="https://www.linkedin.com/in/joseph-a-martinez/">
2626
<AiFillLinkedin className="icon" size={32} />
2727
</a>
2828
<a href="https://github.com/csmartinez22">

my-app/src/pages/Home.js

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { Link } from "react-router-dom";
12
import "./Home.css";
23

34
const Home = () => {
@@ -39,12 +40,16 @@ const Home = () => {
3940
tab. Thanks for visiting!
4041
</div>
4142
<div className="flex">
42-
<button type="button" className="button">
43-
Resume
44-
</button>
45-
<button type="button" className="button">
46-
CV
47-
</button>
43+
<Link to="/files/JM_Resume_2023.pdf" target="_blank" download>
44+
<button type="button" className="button">
45+
Resume
46+
</button>
47+
</Link>
48+
<Link to="/files/JM_CV.pdf" target="_blank" download>
49+
<button type="button" className="button">
50+
CV
51+
</button>
52+
</Link>
4853
</div>
4954
</div>
5055
</div>

0 commit comments

Comments
 (0)