Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature-Resume display and download #698

Merged
merged 23 commits into from
Apr 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
d76684c
Create ResumeDownloadButton.js
rebeccali04 Apr 19, 2024
14c200f
Merge pull request #1 from rebeccali04/resume-fetch-exploration
NMCBU1 Apr 21, 2024
c69aa5e
Updated github pages
NMCBU1 Apr 21, 2024
bd8c8ac
Resume feature 1st version
NMCBU1 Apr 22, 2024
8a78dc5
Style
NMCBU1 Apr 22, 2024
940f1b0
Merge pull request #2 from NMCBU1/master
rebeccali04 Apr 22, 2024
d6b6817
Fixed UI to match the webpage
NMCBU1 Apr 22, 2024
001823b
Fixed format
NMCBU1 Apr 22, 2024
d343950
Merge pull request #1 from rebeccali04/master
NMCBU1 Apr 23, 2024
8d40ec1
Merge pull request #3 from NMCBU1/master
rebeccali04 Apr 23, 2024
638dd8b
Update README.md with resume instructions
rebeccali04 Apr 23, 2024
a35252f
Updated resume feature
NMCBU1 Apr 27, 2024
a7ac7e8
Merge branch 'rebeccali04:master' into master
NMCBU1 Apr 27, 2024
3007cad
Merge pull request #4 from NMCBU1/master
rebeccali04 Apr 27, 2024
f7645d1
Changed underlined font of bottun
NMCBU1 Apr 27, 2024
d3f4acf
Merge branch 'master' of https://github.com/NMCBU1/developerFolio
NMCBU1 Apr 27, 2024
1a4f8b1
Merge branch 'rebeccali04:master' into master
NMCBU1 Apr 27, 2024
0577cf2
Merge pull request #5 from NMCBU1/master
rebeccali04 Apr 27, 2024
527fb71
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 27, 2024
2fbb98a
Updated style to pass lint
NMCBU1 Apr 27, 2024
fa29762
Merge branch 'master' of https://github.com/NMCBU1/developerFolio
NMCBU1 Apr 27, 2024
43b22a3
Merge pull request #6 from NMCBU1/master
rebeccali04 Apr 27, 2024
8dc3a54
Directly Download button
rebeccali04 Apr 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ const contactInfo = { .... }
const twitterDetails = { ... }

```
#### Resume upload
To upload your own resume, simply upload a pdf to `src/containers/resume` and rename the pdf to `resume.pdf`.

#### Using Emojis

Expand Down
9 changes: 8 additions & 1 deletion src/components/header/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import {
openSource,
blogSection,
talkSection,
achievementSection
achievementSection,
resumeSection
} from "../../portfolio";

function Header() {
Expand All @@ -21,6 +22,7 @@ function Header() {
const viewAchievement = achievementSection.display;
const viewBlog = blogSection.display;
const viewTalks = talkSection.display;
const viewResume = resumeSection.display;

return (
<Headroom>
Expand Down Expand Up @@ -69,6 +71,11 @@ function Header() {
<a href="#talks">Talks</a>
</li>
)}
{viewResume && (
<li>
<a href="#resume">Resume</a>
</li>
)}
<li>
<a href="#contact">Contact Me</a>
</li>
Expand Down
13 changes: 7 additions & 6 deletions src/containers/greeting/Greeting.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import landingPerson from "../../assets/lottie/landingPerson";
import DisplayLottie from "../../components/displayLottie/DisplayLottie";
import SocialMedia from "../../components/socialMedia/SocialMedia";
import Button from "../../components/button/Button";

import {illustration, greeting} from "../../portfolio";
import StyleContext from "../../contexts/StyleContext";

Expand Down Expand Up @@ -41,11 +40,13 @@ export default function Greeting() {
<div className="button-greeting-div">
<Button text="Contact me" href="#contact" />
{greeting.resumeLink && (
<Button
text="See my resume"
newTab={true}
href={greeting.resumeLink}
/>
<a
href={require("./resume.pdf")}
download="Resume.pdf"
className="download-link-button"
>
<Button text="Download my resume" />
</a>
)}
</div>
</div>
Expand Down
3 changes: 3 additions & 0 deletions src/containers/greeting/Greeting.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
display: flex;
margin-top: 20px;
}
.download-link-button {
text-decoration: none;
}

.greeting-text {
font-size: 70px;
Expand Down
Binary file added src/containers/greeting/resume.pdf
Binary file not shown.
12 changes: 11 additions & 1 deletion src/portfolio.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,15 @@ const podcastSection = {
display: true // Set false to hide this section, defaults to true
};

// Resume Section
const resumeSection = {
title: "Resume",
subtitle: "Feel free to download my resume",

// Please Provide with Your Podcast embeded Link
display: true // Set false to hide this section, defaults to true
};

const contactInfo = {
title: emoji("Contact Me ☎️"),
subtitle:
Expand Down Expand Up @@ -393,5 +402,6 @@ export {
podcastSection,
contactInfo,
twitterDetails,
isHireable
isHireable,
resumeSection
};
Loading