Skip to content

Commit

Permalink
Merge branch 'saadpasta:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
gianlucalauro authored Oct 3, 2024
2 parents 3e1ae8f + d3fdcee commit 735af50
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 9 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
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 @@ -365,6 +365,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 @@ -398,5 +407,6 @@ export {
podcastSection,
contactInfo,
twitterDetails,
isHireable
isHireable,
resumeSection
};

0 comments on commit 735af50

Please sign in to comment.