Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
alpha4041 authored Jun 23, 2024
2 parents 7170658 + d3fdcee commit d191456
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 10 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,14 +189,16 @@ 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

For adding emoji 😃 into the texts in `Portfolio.js`, use the `emoji()` function and pass the text you need as an argument. This would help in keeping emojis compatible across different browsers and platforms.

#### Customize Lottie Animations

You can choose a Lottie and download it in json format from from sites like [this](https://lottiefiles.com/). In `src/assets/lottie`, replace the Lottie json file you want to alter with the same file name. If you want to change the Lottie options, go to `src/components/displayLottie/DisplayLottie.js` and change the `defaultOptions` object, you can refer [lottie-react docs](https://www.npmjs.com/package/lottie-react) for more info on the `defaultOptions` object.
You can choose a Lottie and download it in json format from sites like [this](https://lottiefiles.com/). In `src/assets/lottie`, replace the Lottie json file you want to alter with the same file name. If you want to change the Lottie options, go to `src/components/displayLottie/DisplayLottie.js` and change the `defaultOptions` object, you can refer [lottie-react docs](https://www.npmjs.com/package/lottie-react) for more info on the `defaultOptions` object.

#### Adding Twitter Time line to your Page
Insert your Twitter username in `portfolio.js` to show your recent activity on your page.
Expand Down
12 changes: 10 additions & 2 deletions src/components/header/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ import {
openSource,
blogSection,
talkSection,
achievementSection
achievementSection,
resumeSection
} from "../../portfolio";

function Header() {
Expand All @@ -24,7 +25,10 @@ function Header() {
const viewAchievement = achievementSection.display;
const viewBlog = blogSection.display;
const viewTalks = talkSection.display;
const viewDonation = donationInfo.display;

const viewDonation = donationInfo.display
const viewResume = resumeSection.display;


return (
<Headroom>
Expand Down Expand Up @@ -78,9 +82,13 @@ function Header() {
<a href="#talks">Talks</a>
</li>
)}

{viewDonation && (
<li>
<a href="#donation">Donate</a>
{viewResume && (
<li>
<a href="#resume">Resume</a>
</li>
)}
<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 @@ -367,6 +367,15 @@ const podcastSection = {
display: false // 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 @@ -401,5 +410,6 @@ export {
podcastSection,
contactInfo,
twitterDetails,
isHireable
isHireable,
resumeSection
};

0 comments on commit d191456

Please sign in to comment.