-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
115 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import styles from "../styles/About.module.scss"; | ||
import { useGlobalDispatchContext } from "../context/globalContext"; | ||
|
||
function SingleWorkItem({ | ||
company, | ||
position, | ||
time, | ||
description, | ||
link, | ||
handleWorkHover, | ||
handleWorkNotHover, | ||
}) { | ||
const dispatch = useGlobalDispatchContext(); | ||
|
||
return ( | ||
<article | ||
className={styles.workHistoryItem} | ||
onMouseEnter={() => | ||
handleWorkHover( | ||
company.replace(/^(?:https?:\/\/)?(?:www\.)?/i, "").split(".")[0] | ||
) | ||
} | ||
onMouseLeave={handleWorkNotHover} | ||
> | ||
<h3> | ||
{company} ({time}) | ||
</h3> | ||
<p>{position}</p> | ||
<a | ||
href={link} | ||
onMouseEnter={() => | ||
dispatch({ type: "CURSOR_STYLES", cursorStyles: "link" }) | ||
} | ||
onMouseLeave={() => | ||
dispatch({ type: "CURSOR_STYLES", cursorStyles: "default" }) | ||
} | ||
> | ||
{link.replace(/^(?:https?:\/\/)?(?:www\.)?/i, "")} | ||
<span>→</span> | ||
</a> | ||
</article> | ||
); | ||
} | ||
|
||
export default SingleWorkItem; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
const workHistory = [ | ||
{ | ||
id: 1, | ||
company: "Hoppscotch", | ||
position: "Product Engineer", | ||
time: "2022 - Present", | ||
description: | ||
"Hoppscotch is light-weight, web based API development suite. It was built from ground up with ease of use and accessibility in mind providing all the functionality needed for API developers with minimalist, unobtrusive UI. It is free-to-use and as an added perk completely Open Source!", | ||
link: "https://hoppscotch.io", | ||
}, | ||
|
||
{ | ||
id: 2, | ||
company: "Digital Vault", | ||
position: "Front End Developer", | ||
time: "2021-2022", | ||
description: | ||
"Digital Vault is a global services company offering business and knowledge processing services to organizations seeking higher operational effectiveness, greater flexibility and lower operating cost. We have been serving companies of all sizes which have been relying on our capabilities to leverage the benefits of globalization and gain a competitive advantage", | ||
link: "https://digitalvault.in", | ||
}, | ||
{ | ||
id: 3, | ||
company: "Quantek", | ||
position: "React Developer Internship", | ||
time: "2021 - 2 Months", | ||
description: | ||
"Quantek is a software company that develops and maintains software for the e-commerce industry. I worked on the development of a web application that allows users to create and manage their product selling. I was responsible for the front-end development of the application.", | ||
link: "https://myservicecube.com", | ||
}, | ||
{ | ||
id: 4, | ||
company: "Sapne NGO", | ||
position: "Web Development Internship", | ||
time: "2020 - 3 Months", | ||
description: | ||
"Sapne NGO is a non-profit organization that provides education and awareness to the underprivileged children of India. I worked on their webpage development and design.", | ||
link: "https://www.sapne.org.in", | ||
}, | ||
]; | ||
|
||
export default workHistory; |
adcf642
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: