├── .gitignore
├── README.md
├── package-lock.json
├── package.json
├── public
├── favicon.ico
├── index.html
├── logo192.png
├── logo512.png
├── manifest.json
└── robots.txt
└── src
├── App.js
├── App.scss
├── App.test.js
├── components
├── navBar
│ ├── index.jsx
│ └── styles.scss
└── pageHeaderContent
│ ├── index.jsx
│ └── styles.scss
├── containers
├── about
│ ├── index.jsx
│ └── styles.scss
├── contact
│ ├── index.jsx
│ └── styles.scss
├── home
│ ├── index.jsx
│ └── styles.scss
├── portfolio
│ ├── index.jsx
│ └── styles.scss
├── resume
│ ├── index.jsx
│ ├── styles.scss
│ └── utils.js
└── skills
│ ├── index.jsx
│ ├── styles.scss
│ └── utils.js
├── images
├── image1.jpg
├── image2.jpg
├── image3.jpg
├── image4.jpg
└── image5.jpg
├── index.css
├── index.js
├── logo.svg
├── reportWebVitals.js
├── setupTests.js
└── utils.js
└── particles.js
/.gitignore:
--------------------------------------------------------------------------------
1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2 |
3 | # dependencies
4 | /node_modules
5 | /.pnp
6 | .pnp.js
7 |
8 | # testing
9 | /coverage
10 |
11 | # production
12 | /build
13 |
14 | # misc
15 | .DS_Store
16 | .env.local
17 | .env.development.local
18 | .env.test.local
19 | .env.production.local
20 |
21 | npm-debug.log*
22 | yarn-debug.log*
23 | yarn-error.log*
24 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Getting Started with Create React App
2 |
3 | This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
4 |
5 | ## Available Scripts
6 |
7 | In the project directory, you can run:
8 |
9 | ### `npm start`
10 |
11 | Runs the app in the development mode.\
12 | Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
13 |
14 | The page will reload when you make changes.\
15 | You may also see any lint errors in the console.
16 |
17 | ### `npm test`
18 |
19 | Launches the test runner in the interactive watch mode.\
20 | See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
21 |
22 | ### `npm run build`
23 |
24 | Builds the app for production to the `build` folder.\
25 | It correctly bundles React in production mode and optimizes the build for the best performance.
26 |
27 | The build is minified and the filenames include the hashes.\
28 | Your app is ready to be deployed!
29 |
30 | See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
31 |
32 | ### `npm run eject`
33 |
34 | **Note: this is a one-way operation. Once you `eject`, you can't go back!**
35 |
36 | If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
37 |
38 | Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
39 |
40 | You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
41 |
42 | ## Learn More
43 |
44 | You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
45 |
46 | To learn React, check out the [React documentation](https://reactjs.org/).
47 |
48 | ### Code Splitting
49 |
50 | This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
51 |
52 | ### Analyzing the Bundle Size
53 |
54 | This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
55 |
56 | ### Making a Progressive Web App
57 |
58 | This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
59 |
60 | ### Advanced Configuration
61 |
62 | This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
63 |
64 | ### Deployment
65 |
66 | This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
67 |
68 | ### `npm run build` fails to minify
69 |
70 | This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
71 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "portfolio-project-2022",
3 | "version": "0.1.0",
4 | "private": true,
5 | "dependencies": {
6 | "@testing-library/jest-dom": "^5.16.4",
7 | "@testing-library/react": "^13.1.1",
8 | "@testing-library/user-event": "^13.5.0",
9 | "rc-progress": "^3.2.4",
10 | "react": "^18.0.0",
11 | "react-dom": "^18.0.0",
12 | "react-icons": "^4.3.1",
13 | "react-router-dom": "^6.3.0",
14 | "react-scripts": "5.0.1",
15 | "react-simple-animate": "^3.3.12",
16 | "react-tsparticles": "^2.0.6",
17 | "react-vertical-timeline-component": "^3.5.2",
18 | "sass": "^1.50.1",
19 | "tsparticles": "^2.0.6",
20 | "web-vitals": "^2.1.4"
21 | },
22 | "scripts": {
23 | "start": "react-scripts start",
24 | "build": "react-scripts build",
25 | "test": "react-scripts test",
26 | "eject": "react-scripts eject"
27 | },
28 | "eslintConfig": {
29 | "extends": [
30 | "react-app",
31 | "react-app/jest"
32 | ]
33 | },
34 | "browserslist": {
35 | "production": [
36 | ">0.2%",
37 | "not dead",
38 | "not op_mini all"
39 | ],
40 | "development": [
41 | "last 1 chrome version",
42 | "last 1 firefox version",
43 | "last 1 safari version"
44 | ]
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sangammukherjee/portfolio-website-2022/e54f78a628ec73d10473e3240c68175a3d5910e9/public/favicon.ico
--------------------------------------------------------------------------------
/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
12 |
13 |
17 |
18 |
27 | React App
28 |
29 |
30 | You need to enable JavaScript to run this app.
31 |
32 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/public/logo192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sangammukherjee/portfolio-website-2022/e54f78a628ec73d10473e3240c68175a3d5910e9/public/logo192.png
--------------------------------------------------------------------------------
/public/logo512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sangammukherjee/portfolio-website-2022/e54f78a628ec73d10473e3240c68175a3d5910e9/public/logo512.png
--------------------------------------------------------------------------------
/public/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "short_name": "React App",
3 | "name": "Create React App Sample",
4 | "icons": [
5 | {
6 | "src": "favicon.ico",
7 | "sizes": "64x64 32x32 24x24 16x16",
8 | "type": "image/x-icon"
9 | },
10 | {
11 | "src": "logo192.png",
12 | "type": "image/png",
13 | "sizes": "192x192"
14 | },
15 | {
16 | "src": "logo512.png",
17 | "type": "image/png",
18 | "sizes": "512x512"
19 | }
20 | ],
21 | "start_url": ".",
22 | "display": "standalone",
23 | "theme_color": "#000000",
24 | "background_color": "#ffffff"
25 | }
26 |
--------------------------------------------------------------------------------
/public/robots.txt:
--------------------------------------------------------------------------------
1 | # https://www.robotstxt.org/robotstxt.html
2 | User-agent: *
3 | Disallow:
4 |
--------------------------------------------------------------------------------
/src/App.js:
--------------------------------------------------------------------------------
1 | import "./App.scss";
2 | import { Routes, Route, useLocation } from "react-router-dom";
3 | import Particles from "react-tsparticles";
4 | import { loadFull } from "tsparticles";
5 | import Home from "./containers/home";
6 | import About from "./containers/about";
7 | import Resume from "./containers/resume";
8 | import Skills from "./containers/skills";
9 | import Portfolio from "./containers/portfolio";
10 | import Contact from "./containers/contact";
11 | import Navbar from "./components/navBar";
12 | import particles from "./utils.js/particles";
13 |
14 | function App() {
15 | const location = useLocation();
16 | console.log(location);
17 |
18 | const handleInit = async (main) => {
19 | await loadFull(main);
20 | };
21 |
22 | const renderParticleJsInHomePage = location.pathname === "/";
23 |
24 | return (
25 |
26 | {/* particles js */}
27 |
28 | {renderParticleJsInHomePage && (
29 |
30 | )}
31 |
32 | {/* navbar */}
33 |
34 |
35 | {/* main page content */}
36 |
37 |
38 | } />
39 | } />
40 | } />
41 | } />
42 | } />
43 | } />
44 |
45 |
46 |
47 |
48 | );
49 | }
50 |
51 | export default App;
52 |
--------------------------------------------------------------------------------
/src/App.scss:
--------------------------------------------------------------------------------
1 | .App{
2 | height: 100%;
3 |
4 | &__main-page-content{
5 | height: calc(100% - 80px);
6 | }
7 | }
--------------------------------------------------------------------------------
/src/App.test.js:
--------------------------------------------------------------------------------
1 | import { render, screen } from '@testing-library/react';
2 | import App from './App';
3 |
4 | test('renders learn react link', () => {
5 | render( );
6 | const linkElement = screen.getByText(/learn react/i);
7 | expect(linkElement).toBeInTheDocument();
8 | });
9 |
--------------------------------------------------------------------------------
/src/components/navBar/index.jsx:
--------------------------------------------------------------------------------
1 | import React, { useState } from "react";
2 | import { FaBars, FaReact } from "react-icons/fa";
3 | import { HiX } from "react-icons/hi";
4 | import { Link } from "react-router-dom";
5 | import "./styles.scss";
6 | const data = [
7 | {
8 | label: "HOME",
9 | to: "/",
10 | },
11 | {
12 | label: "ABOUT ME",
13 | to: "/about",
14 | },
15 | {
16 | label: "SKILLS",
17 | to: "/skills",
18 | },
19 | {
20 | label: "RESUME",
21 | to: "/resume",
22 | },
23 | {
24 | label: "PORTFOLIO",
25 | to: "/portfolio",
26 | },
27 | {
28 | label: "CONTACT",
29 | to: "/contact",
30 | },
31 | ];
32 |
33 | const Navbar = () => {
34 | const [toggleIcon, setToggleIcon] = useState(false);
35 |
36 | const handleToggleIcon = () => {
37 | setToggleIcon(!toggleIcon);
38 | };
39 | return (
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
50 | {data.map((item, key) => (
51 |
52 |
56 | {item.label}
57 |
58 |
59 | ))}
60 |
61 |
62 | {toggleIcon ? : }
63 |
64 |
65 |
66 | );
67 | };
68 |
69 | export default Navbar;
70 |
--------------------------------------------------------------------------------
/src/components/navBar/styles.scss:
--------------------------------------------------------------------------------
1 | .navbar{
2 | background-color: var(--yellow-theme-nav-background-color);
3 | height: 80px;
4 | display: flex;
5 | justify-content: center;
6 | align-items: center;
7 | font-size: 1.2rem;
8 | position: sticky;
9 |
10 | &__container{
11 | display: flex;
12 | align-items: center;
13 | width: 100%;
14 | height: inherit;
15 | padding: 0px 20px;
16 | flex: 1;
17 | &__logo{
18 | color: var(--yellow-theme-main-color);
19 | cursor: pointer;
20 | }
21 |
22 | &__menu{
23 | display: flex;
24 | list-style: none;
25 | text-align: center;
26 |
27 | &__item{
28 | line-height: 40px;
29 | margin-right: 1.5rem;
30 | font-size: 1.6rem;
31 |
32 | &::after{
33 | content: '';
34 | display: block;
35 | height: 3px;
36 | width: 0;
37 | background: transparent;
38 | transition: all 0.5s ease;
39 | }
40 |
41 | &:hover::after{
42 | width: 100%;
43 | background: var(--yellow-theme-main-color);
44 | }
45 |
46 | &__links{
47 | color: var(--yellow-theme-main-color);
48 | text-decoration: none;
49 | padding: 0.5rem;
50 | }
51 | }
52 | }
53 | }
54 | }
55 |
56 | .nav-icon{
57 | display: none;
58 | }
59 |
60 | @media only screen and (max-width : 768px){
61 | .navbar__container__menu{
62 | display: flex;
63 | flex-direction: column;
64 | justify-content: center;
65 | width: 100%;
66 | position: absolute;
67 | top: 80px;
68 | left: -110%;
69 | opacity: 1;
70 | transition: all 0.5s ease;
71 |
72 | &.active{
73 | background: #181818;
74 | left: 0px;
75 | opacity: 1;
76 | }
77 |
78 | &__item{
79 | border-bottom: 1px solid #282828;
80 | margin: 0px;
81 | padding: 20px 0px;
82 | }
83 | }
84 |
85 | .nav-icon{
86 | display: block;
87 | cursor: pointer;
88 | color: var(--yellow-theme-main-color);
89 | padding-right: 20px;
90 | }
91 | }
--------------------------------------------------------------------------------
/src/components/pageHeaderContent/index.jsx:
--------------------------------------------------------------------------------
1 | import './styles.scss';
2 |
3 | const PageHeaderContent = (props) => {
4 | const { headerText, icon } = props;
5 |
6 | return (
7 |
8 |
{headerText}
9 | {icon}
10 |
11 | );
12 | };
13 |
14 |
15 | export default PageHeaderContent;
16 |
--------------------------------------------------------------------------------
/src/components/pageHeaderContent/styles.scss:
--------------------------------------------------------------------------------
1 |
2 |
3 | .wrapper {
4 | display: flex;
5 | align-items: center;
6 | padding: 20px;
7 | border-bottom: 1px dashed var(--yellow-theme-main-color);
8 |
9 |
10 | h2{
11 | font-size: 36px;
12 | font-weight: 700;
13 | letter-spacing: 1.5px;
14 | line-height: 1rem;
15 | text-transform: capitalize;
16 | color: var(--yellow-theme-main-color);
17 | display: flex;
18 | flex-grow: 1;
19 | }
20 |
21 | span {
22 | svg{
23 | color: var(--yellow-theme-main-color);
24 | }
25 | }
26 | }
--------------------------------------------------------------------------------
/src/containers/about/index.jsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { BsInfoCircleFill } from "react-icons/bs";
3 | import PageHeaderContent from "../../components/pageHeaderContent";
4 | import { Animate } from "react-simple-animate";
5 | import "./styles.scss";
6 | import { DiApple, DiAndroid } from "react-icons/di";
7 | import { FaDev, FaDatabase } from "react-icons/fa";
8 |
9 | const personalDetails = [
10 | {
11 | label: "Name",
12 | value: "John Doe",
13 | },
14 | {
15 | label: "Age",
16 | value: "27",
17 | },
18 | {
19 | label: "Address",
20 | value: "India",
21 | },
22 | {
23 | label: "Email",
24 | value: "demo@example.com",
25 | },
26 | {
27 | label: "Contact No",
28 | value: "+11 3456789056",
29 | },
30 | ];
31 |
32 | const jobSummary =
33 | "Seasoned and independent Front End Developer with 5 years of experience in blending the art of design with skill of programming to deliver an immersive and engaging user experience through efficient website development, proactive feature optimization, and relentless debugging. Very passionate about aesthetics and UI design. It is imperative that you provide a thorough and professional approach to your resume. As a Front End Developer you will be judged by your ability to use UX and UI concepts and follow design guidelines. It is about expressing your attention to detail and how you can help implement design ideas for your future employer";
34 |
35 | const About = () => {
36 | return (
37 |
38 | }
41 | />
42 |
43 |
44 |
55 | Front End Developer
56 | {jobSummary}
57 |
58 |
59 |
70 |
71 | Personal Information
72 |
73 |
74 | {personalDetails.map((item, i) => (
75 |
76 | {item.label}
77 | {item.value}
78 |
79 | ))}
80 |
81 |
82 |
83 |
84 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 | );
114 | };
115 | export default About;
116 |
--------------------------------------------------------------------------------
/src/containers/about/styles.scss:
--------------------------------------------------------------------------------
1 | .about {
2 | &__content {
3 | display: flex;
4 | gap: 20px;
5 | padding: 20px;
6 | width: 100%;
7 |
8 | &__personalWrapper,
9 | &__servicesWrapper {
10 | width: 50%;
11 | }
12 |
13 | &__personalWrapper {
14 | h3 {
15 | margin-bottom: 10px;
16 | font-size: 2.5rem;
17 | font-weight: 700;
18 | color: var(--yellow-theme-main-color);
19 | }
20 |
21 | h3.personalInformationHeaderText {
22 | padding-top: 20px;
23 | }
24 |
25 | p {
26 | color: var(--yellow-theme-sub-text-color);
27 | font-size: 1.8rem;
28 | line-height: 1.65;
29 | padding-bottom: 20px;
30 | border-bottom: 1px dashed var(--yellow-theme-main-color);
31 | }
32 |
33 | ul > li {
34 | line-height: 1rem;
35 | margin-bottom: 15px;
36 |
37 | span.title,
38 | span.value {
39 | font-size: 18px;
40 | font-weight: 700;
41 | letter-spacing: 0.5px;
42 | border-bottom: 2px solid var(--yellow-theme-main-color);
43 | position: relative;
44 | display: inline-block;
45 | margin-right: 16px;
46 | padding-bottom: 5px;
47 | color: var(--yellow-theme-sub-text-color);
48 | }
49 |
50 | span.value {
51 | border: none;
52 | }
53 | }
54 | }
55 |
56 | &__servicesWrapper {
57 | display: flex;
58 | justify-content: center;
59 | align-items: center;
60 | &__innerContent {
61 | width: 350px;
62 | height: 350px;
63 | background: radial-gradient(
64 | 180px,
65 | var(--yellow-theme-main-color),
66 | transparent 90%
67 | );
68 | position: relative;
69 | border-radius: 50%;
70 | border: 1.5px solid var(--yellow-theme-main-color);
71 | animation: rotation 10s linear 1s infinite;
72 |
73 | div:nth-child(1) {
74 | position: absolute;
75 | top: -9%;
76 | left: 41%;
77 | }
78 |
79 | div:nth-child(2) {
80 | position: absolute;
81 | right: -8%;
82 | top: 41.5%;
83 | }
84 |
85 | div:nth-child(3) {
86 | position: absolute;
87 | bottom: -10%;
88 | left: 41%;
89 | }
90 |
91 | div:nth-child(4) {
92 | position: absolute;
93 | left: -8%;
94 | top: 41%;
95 | }
96 | }
97 | }
98 | }
99 | }
100 |
101 | @keyframes rotation {
102 | 100% {
103 | transform: rotate(360deg);
104 | }
105 | }
106 |
107 | @media only screen and (max-width : 768px){
108 | .about__content{
109 | flex-direction: column;
110 |
111 | &__personalWrapper,
112 | &__servicesWrapper {
113 | width: 100%;
114 | }
115 |
116 | &__servicesWrapper{
117 | margin: 10px 0px;
118 | &__innerContent {
119 | width: 300px;
120 | height: 300px;
121 | background: radial-gradient(120px,var(--yellow-theme-main-color),transparent 120%);
122 |
123 |
124 | div:nth-child(1) {
125 | position: absolute;
126 | top: -15%;
127 | left: 38%;
128 | }
129 |
130 | div:nth-child(2) {
131 | position: absolute;
132 | right: -11%;
133 | top: 40%;
134 | }
135 |
136 | div:nth-child(3) {
137 | position: absolute;
138 | bottom: -12%;
139 | left: 40%;
140 | }
141 |
142 | div:nth-child(4) {
143 | position: absolute;
144 | left: -12%;
145 | top: 40%;
146 | }
147 | }
148 | }
149 | }
150 |
151 |
152 | }
153 |
--------------------------------------------------------------------------------
/src/containers/contact/index.jsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import PageHeaderContent from "../../components/pageHeaderContent";
3 | import { BsInfoCircleFill } from "react-icons/bs";
4 | import { Animate } from "react-simple-animate";
5 | import "./styles.scss";
6 |
7 | const Contact = () => {
8 | return (
9 |
81 | );
82 | };
83 | export default Contact;
84 |
--------------------------------------------------------------------------------
/src/containers/contact/styles.scss:
--------------------------------------------------------------------------------
1 | .contact{
2 | &__content{
3 | padding: 20px;
4 |
5 | &__header-text{
6 | color: var(--yellow-theme-sub-text-color);
7 | display: inline-block;
8 | font-size: 22px;
9 | font-weight: 600;
10 | line-height: 1em;
11 | letter-spacing: 0.5px;
12 | position: relative;
13 | text-transform: uppercase;
14 | padding: 5px 10px;
15 | border-bottom: 2px solid var(--yellow-theme-main-color);
16 | }
17 |
18 | &__header-text::before,
19 | &__header-text::after{
20 | position: absolute;
21 | content: "";
22 | width: 2px;
23 | height: 5px;
24 | background-color: var(--yellow-theme-main-color);
25 | bottom: -1px;
26 | }
27 | &__header-text::before{
28 | left: 0;
29 | }
30 | &__header-text::after{
31 | right: 0;
32 | }
33 |
34 | &__form{
35 | margin-top: 30px;
36 |
37 | &__controlswrapper{
38 | display: grid;
39 | grid-template-columns: repeat(2,1fr);
40 | gap: 40px;
41 | margin-bottom: 30px;
42 |
43 | div{
44 | position: relative;
45 | .inputName,
46 | .inputEmail,
47 | .inputDescription{
48 | width: 100%;
49 | border: 2px solid var(--yellow-theme-main-color);
50 | padding: 16px 12px;
51 | transition: all 0.5s ease;
52 | position: relative;
53 | background-color: transparent;
54 | color: var(--yellow-theme-sub-text-color);
55 | }
56 |
57 | .nameLabel,
58 | .emailLabel,
59 | .descriptionLabel{
60 | font-weight: 500;
61 | position: absolute;
62 | top: 7px;
63 | left: 12px;
64 | transition: all 0.2s ease;
65 | color: var(--yellow-theme-sub-text-color);
66 | font-size: 16px;
67 | }
68 |
69 | .inputName:focus,
70 | .inputEmail:focus,
71 | .inputDescription:focus{
72 | outline: none;
73 | }
74 |
75 | .inputName:focus + .nameLabel,
76 | .inputName:valid + .nameLabel,
77 | .inputEmail:focus+.emailLabel,
78 | .inputEmail:valid+.emailLabel,
79 | .inputDescription:focus + .descriptionLabel,
80 | .inputDescription:valid + .descriptionLabel
81 | {
82 | font-size: 18px;
83 | top: -25px;
84 | left: 0px;
85 | }
86 |
87 |
88 |
89 | }
90 | }
91 | }
92 |
93 | button{
94 | cursor: pointer;
95 | padding: 10px 70px;
96 | font-size: 2rem;
97 | background: transparent;
98 | color: var(--yellow-theme-main-color);
99 | border: 1.5px solid var(--yellow-theme-main-color);
100 | border-radius: 4px;
101 | font-weight: 500;
102 |
103 | &:hover{
104 | color: #000;
105 | background: var(--yellow-theme-main-color);
106 | }
107 | }
108 | }
109 | }
110 |
111 |
112 | @media only screen and (max-width : 768px){
113 | .contact__content__form{
114 | text-align: center;
115 |
116 | &__controlswrapper{
117 | grid-template-columns: repeat(1,1fr);
118 | }
119 | }
120 | }
--------------------------------------------------------------------------------
/src/containers/home/index.jsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { useNavigate } from "react-router-dom";
3 | import { Animate } from "react-simple-animate";
4 | import "./styles.scss";
5 |
6 | const Home = () => {
7 | const navigate = useNavigate();
8 |
9 | const handleNavigateToContactMePage = () => {
10 | navigate("/contact");
11 | };
12 |
13 | return (
14 |
15 |
16 |
17 | Hello, I'm John
18 |
19 | Front end developer
20 |
21 |
22 |
33 |
34 | Hire Me
35 |
36 |
37 |
38 | );
39 | };
40 | export default Home;
41 |
--------------------------------------------------------------------------------
/src/containers/home/styles.scss:
--------------------------------------------------------------------------------
1 | .home {
2 | position: relative;
3 | height: 100%;
4 | display: flex;
5 | justify-content: center;
6 | align-content: center;
7 | flex-direction: column;
8 |
9 | &__text-wrapper {
10 | display: flex;
11 | justify-content: center;
12 |
13 | h1 {
14 | color: var(--yellow-theme-main-color);
15 | margin: 0px;
16 | font-weight: 500;
17 | font-size: 8rem;
18 | line-height: 10rem;
19 | position: relative;
20 | overflow: hidden;
21 | white-space: nowrap;
22 | animation: typingEffectAnimation 2.5s steps(20, end);
23 | }
24 | }
25 | &__contact-me{
26 | display: flex;
27 | justify-content: center;
28 | margin-top: 15px;
29 |
30 | button{
31 | cursor: pointer;
32 | padding: 10px 70px;
33 | font-size: 2rem;
34 | background: transparent;
35 | color: var(--yellow-theme-main-color);
36 | border: 1.5px solid var(--yellow-theme-main-color);
37 | border-radius: 4px;
38 | font-weight: 500;
39 |
40 | &:hover{
41 | background: var(--yellow-theme-main-color);
42 | color: #000000;
43 | }
44 | }
45 | }
46 | }
47 |
48 |
49 |
50 | @media only screen and (max-width: 550px) {
51 | .home__text-wrapper h1 {
52 | font-size: 3rem;
53 | line-height: 5rem;
54 | }
55 | }
56 |
57 | @media only screen and (min-width: 551px) and (max-width: 768px) {
58 | .home__text-wrapper h1 {
59 | font-size: 4rem;
60 | line-height: 6rem;
61 | }
62 | }
63 |
64 | @media only screen and (min-width: 769px) and (max-width: 990px) {
65 | .home__text-wrapper h1 {
66 | font-size: 6rem;
67 | line-height: 8rem;
68 | }
69 | }
70 |
71 | @keyframes typingEffectAnimation {
72 | from {
73 | width: 0;
74 | }
75 |
76 | to {
77 | width: 100%;
78 | }
79 | }
80 |
--------------------------------------------------------------------------------
/src/containers/portfolio/index.jsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import PageHeaderContent from "../../components/pageHeaderContent";
3 | import { BsInfoCircleFill } from "react-icons/bs";
4 | import ImageOne from "../../images/image1.jpg";
5 | import ImageTwo from "../../images/image2.jpg";
6 | import ImageThree from "../../images/image3.jpg";
7 | import ImageFour from "../../images/image4.jpg";
8 | import ImageFive from "../../images/image5.jpg";
9 | import "./styles.scss";
10 | import { useState } from "react";
11 |
12 | const portfolioData = [
13 | {
14 | id: 2,
15 | name: "Ecommerce",
16 | image: ImageOne,
17 | link: "",
18 | },
19 | {
20 | id: 3,
21 | name: "Notes App",
22 | link: "",
23 | image: ImageTwo,
24 | },
25 | {
26 | id: 2,
27 | name: "Supplier Design",
28 | image: ImageThree,
29 | link: "",
30 | },
31 | {
32 | id: 2,
33 | name: "Todo App",
34 | image: ImageFour,
35 |
36 | link: "",
37 | },
38 | {
39 | id: 3,
40 | name: "Shopping cart design",
41 | image: ImageFive,
42 | link: "",
43 | },
44 | ];
45 |
46 | const filterData = [
47 | {
48 | filterId: 1,
49 | label: "All",
50 | },
51 | {
52 | filterId: 2,
53 | label: "Developement",
54 | },
55 | {
56 | filterId: 3,
57 | label: "Design",
58 | },
59 | ];
60 |
61 | const Portfolio = () => {
62 | const [filteredvalue, setFilteredValue] = useState(1);
63 | const [hoveredValue, setHoveredValue] = useState(null);
64 |
65 | function handleFilter(currentId) {
66 | setFilteredValue(currentId);
67 | }
68 |
69 | function handleHover(index) {
70 | setHoveredValue(index);
71 | }
72 |
73 | console.log("====================================");
74 | console.log(hoveredValue);
75 | console.log("====================================");
76 |
77 | const filteredItems =
78 | filteredvalue === 1
79 | ? portfolioData
80 | : portfolioData.filter((item) => item.id === filteredvalue);
81 |
82 | console.log(filteredItems);
83 |
84 | return (
85 |
86 | }
89 | />
90 |
91 |
92 | {filterData.map((item) => (
93 | handleFilter(item.filterId)}
96 | key={item.filterId}
97 | >
98 | {item.label}
99 |
100 | ))}
101 |
102 |
103 | {filteredItems.map((item, index) => (
104 |
handleHover(index)}
108 | onMouseLeave={() => handleHover(null)}
109 | >
110 |
115 |
116 | {index === hoveredValue && (
117 |
118 |
{item.name}
119 |
Visit
120 |
121 | )}
122 |
123 |
124 | ))}
125 |
126 |
127 |
128 | );
129 | };
130 | export default Portfolio;
131 |
--------------------------------------------------------------------------------
/src/containers/portfolio/styles.scss:
--------------------------------------------------------------------------------
1 | .portfolio {
2 | &__content {
3 | padding: 20px;
4 | width: 100%;
5 |
6 | &__filter {
7 | display: inline-block;
8 | margin: 0 auto;
9 | border-radius: 25px;
10 | border: 1px dashed var(--yellow-theme-main-color);
11 |
12 | li {
13 | font-size: 16px;
14 | display: inline-block;
15 | cursor: pointer;
16 | position: relative;
17 | color: var(--yellow-theme-main-color);
18 | text-transform: uppercase;
19 | padding: 12px 20px;
20 | overflow: hidden;
21 | transition: all 0.5s ease;
22 |
23 | &.active {
24 | background: var(--yellow-theme-main-color);
25 | color: var(--yellow-theme-sub-text-color);
26 | font-weight: 600;
27 | border-radius: 25px;
28 | }
29 | }
30 | }
31 |
32 | &__cards {
33 | display: grid;
34 | grid-template-columns: repeat(3, 1fr);
35 | grid-auto-rows: auto;
36 | gap: 1rem;
37 | margin-top: 10px;
38 |
39 | &__item {
40 | height: 366px;
41 | cursor: pointer;
42 | position: relative;
43 |
44 | &:hover .overlay{
45 | opacity: 1;
46 | }
47 |
48 | &__img-wrapper {
49 | height: 100%;
50 |
51 | a {
52 | height: 100%;
53 |
54 | img {
55 | height: inherit;
56 | object-fit: cover;
57 | width: 100%;
58 | }
59 | }
60 | }
61 |
62 | .overlay {
63 | position: absolute;
64 | top: 0;
65 | bottom: 0;
66 | right: 0;
67 | left: 0;
68 | height: 100%;
69 | width: 100%;
70 | opacity: 0;
71 | transition: 0.5s ease;
72 | background-color: var(--yellow-theme-main-color);
73 |
74 | div{
75 | position: absolute;
76 | top: 50%;
77 | left: 50%;
78 | transform: translate(-50%,-50%);
79 | text-align: center;
80 |
81 | p{
82 | color: #000000;
83 | margin: 0px;
84 | font-size: 4rem;
85 | position: relative;
86 | overflow: hidden;
87 | white-space: nowrap;
88 | animation: typingEffect 1s steps(30,end);
89 | }
90 |
91 | button{
92 | cursor: pointer;
93 | margin-top: 16px;
94 | padding: 10px 70px;
95 | font-size: 2rem;
96 | background: transparent;
97 | color: #000;
98 | border : 1.5px solid #000;
99 | border-radius: 4px;
100 | font-weight: 500;
101 |
102 | }
103 | }
104 | }
105 | }
106 | }
107 | }
108 | }
109 |
110 | @media only screen and (max-width: 480px){
111 | .portfolio__content__filter > li{
112 | font-size: 11px;
113 | }
114 |
115 | .portfolio__content__cards{
116 | grid-template-columns: repeat(1,1fr);
117 | }
118 | }
119 |
120 | @media only screen and (min-width: 481px) and (max-width: 767px){
121 | .portfolio__content__filter > li{
122 | font-size: 14px;
123 | }
124 |
125 | .portfolio__content__cards{
126 | grid-template-columns: repeat(2,1fr);
127 |
128 | &__item{
129 |
130 | .overlay{
131 | div > p {
132 | font-size: 2.5rem;
133 | }
134 | }
135 | }
136 | }
137 |
138 | }
139 |
140 | @keyframes typingEffect{
141 | from{
142 | width: 0;
143 | }
144 |
145 | to {
146 | width: 100%;
147 | }
148 | }
149 |
150 |
151 |
--------------------------------------------------------------------------------
/src/containers/resume/index.jsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import PageHeaderContent from "../../components/pageHeaderContent";
3 | import { BsInfoCircleFill } from "react-icons/bs";
4 | import {
5 | VerticalTimeline,
6 | VerticalTimelineElement,
7 | } from "react-vertical-timeline-component";
8 | import 'react-vertical-timeline-component/style.min.css'
9 | import { data } from "./utils";
10 | import './styles.scss';
11 | import {MdWork} from 'react-icons/md';
12 |
13 | const Resume = () => {
14 | return (
15 |
16 | }
19 | />
20 |
21 |
22 |
Experience
23 |
27 | {data.experience.map((item, i) => (
28 | }
38 | iconStyle={{
39 | background : '#181818',
40 | color : 'var(--yellow-theme-main-color)',
41 |
42 | }}
43 | >
44 |
45 |
46 | {item.title}
47 |
48 |
49 |
50 | {item.subTitle}
51 |
52 |
53 | {item.description}
54 |
55 |
56 | ))}
57 |
58 |
59 |
60 |
Education
61 |
65 | {data.education.map((item, i) => (
66 | }
76 | iconStyle={{
77 | background : '#181818',
78 | color : 'var(--yellow-theme-main-color)',
79 |
80 | }}
81 | >
82 |
83 |
84 | {item.title}
85 |
86 |
87 |
88 | {item.subTitle}
89 |
90 |
91 | {item.description}
92 |
93 |
94 | ))}
95 |
96 |
97 |
98 |
99 | );
100 | };
101 | export default Resume;
102 |
--------------------------------------------------------------------------------
/src/containers/resume/styles.scss:
--------------------------------------------------------------------------------
1 | .resume{
2 | height: 100%;
3 | }
4 |
5 | .timeline{
6 | display: flex;
7 | width: 100%;
8 | padding: 20px;
9 |
10 | &__experience, &__education{
11 | width: 50%;
12 | gap: 2rem;
13 | display: flex;
14 | flex-direction: column;
15 | align-items: center;
16 |
17 | &__header-text{
18 | display: inline-block;
19 | color: var(--yellow-theme-sub-text-color);
20 | font-size: 22px;
21 | font-weight: 700;
22 | line-height: 1rem;
23 | letter-spacing: 0.5px;
24 | position: relative;
25 | text-transform: uppercase;
26 | padding: 5px 10px;
27 | border-bottom: 2px solid var(--yellow-theme-main-color);
28 | }
29 |
30 | &__header-text::before , &__header-text::after{
31 | position: absolute;
32 | content: '';
33 | width: 2px;
34 | height: 5px;
35 | background-color: var(--yellow-theme-main-color);
36 | bottom: -1px;
37 | }
38 |
39 | &__header-text::before{
40 | left: 0;
41 | }
42 |
43 | &__header-text::after{
44 | right: 0;
45 | }
46 |
47 | &__vertical-timeline-element{
48 | padding: 0px 0px 30px 0px;
49 |
50 | &:last-child{
51 | padding-bottom: 0px;
52 | }
53 | }
54 | .vertical-timeline-element-title-wrapper{
55 | display: flex;
56 | align-items: center;
57 |
58 | h3,h4{
59 | font-size: 16px;
60 | }
61 |
62 | h4{
63 | margin-left: 8px;
64 | }
65 |
66 |
67 | }
68 |
69 | .vertical-timeline-element-title-wrapper-description{
70 | font-size: 18px;
71 | }
72 |
73 | .vertical-timeline-element-content{
74 | box-shadow: none;
75 | }
76 |
77 | .vertical-timeline-element-content-arrow{
78 | display: none;
79 | }
80 |
81 | .vertical-timeline-element-date{
82 | opacity: 1;
83 | color: var(--yellow-theme-sub-text-color);
84 | font-size: 18px;
85 | }
86 | }
87 | }
88 |
89 | @media only screen and (max-width : 768px){
90 | .timeline{
91 | flex-direction: column;
92 | &__experience, &__education{
93 | width: 100%;
94 | gap: 2rem;
95 | }
96 | }
97 | }
--------------------------------------------------------------------------------
/src/containers/resume/utils.js:
--------------------------------------------------------------------------------
1 | export const data = {
2 | experience: [
3 | {
4 | title: "Consultant",
5 | subTitle: "Miami, FL",
6 | description:
7 | " User Experience, Visual Design",
8 | },
9 | {
10 | title: "Senior Consultant",
11 | subTitle: "London, UK",
12 | description:
13 | "Web development, Databases, Backend developement",
14 | },
15 | {
16 | title: "Project Manager",
17 | subTitle: "Bangalore, INDIA",
18 | description:
19 | "Creative Direction Project Management, Team Leading",
20 | },
21 | ],
22 | education: [
23 | {
24 | title: "Secondary",
25 | subTitle: "ABC School",
26 | description:
27 | "10th Grade",
28 | },
29 | {
30 | title: "Higher Secondary",
31 | subTitle: "ABC School of higher education",
32 | description:
33 | "12th Grade in Science",
34 | },
35 | {
36 | title: "B.Tech",
37 | subTitle: "XYZ institute of technology",
38 | description:
39 | "Bachelor of technology in computer science",
40 | },
41 | ],
42 | };
--------------------------------------------------------------------------------
/src/containers/skills/index.jsx:
--------------------------------------------------------------------------------
1 | import { Line } from "rc-progress";
2 | import React from "react";
3 | import { BsInfoCircleFill } from "react-icons/bs";
4 | import { Animate, AnimateKeyframes } from "react-simple-animate";
5 | import PageHeaderContent from "../../components/pageHeaderContent";
6 | import { skillsData } from "./utils";
7 | import './styles.scss';
8 |
9 | const Skills = () => {
10 | return (
11 |
12 | }
15 | />
16 |
17 | {skillsData.map((item, i) => (
18 |
19 |
30 |
31 | {item.label}
32 |
33 |
34 | {item.data.map((skillItem, j) => (
35 |
41 |
42 |
{skillItem.skillName}
43 |
50 |
51 |
52 | ))}
53 |
54 |
55 |
56 | ))}
57 |
58 |
59 | );
60 | };
61 | export default Skills;
62 |
--------------------------------------------------------------------------------
/src/containers/skills/styles.scss:
--------------------------------------------------------------------------------
1 | .skills{
2 | &__content-wrapper{
3 | display: flex;
4 | padding: 20px;
5 | gap: 20px;
6 |
7 | &__inner-content{
8 | flex: 1;
9 | display: flex;
10 | flex-direction: column;
11 | align-items: center;
12 |
13 | &__category-text{
14 | display: inline-block;
15 | color: var(--yellow-theme-main-color);
16 | font-size: 22px;
17 | font-weight: 700;
18 | line-height: 1rem;
19 | letter-spacing: 0.5px;
20 | position: relative;
21 | text-transform: uppercase;
22 | padding: 5px 10px;
23 | border-bottom: 2px solid var(--yellow-theme-main-color);
24 | }
25 |
26 | &__category-text::before , &__category-text::after{
27 | position: absolute;
28 | content: '';
29 | width: 2px;
30 | height: 5px;
31 | background-color: var(--yellow-theme-main-color);
32 | bottom: -1px;
33 | }
34 |
35 | &__category-text::before{
36 | left: 0;
37 | }
38 |
39 | &__category-text::after{
40 | right: 0;
41 | }
42 |
43 | &__progressbar-container{
44 | width: 100%;
45 | }
46 |
47 | .progressbar-wrapper{
48 | padding : 50px 0px 0px 0px;
49 |
50 | p{
51 | font-size: 1.6rem;
52 | margin: 0 0 10px;
53 | font-weight: 500;
54 | text-transform: uppercase;
55 | color: var( --yellow-theme-sub-text-color);
56 | }
57 | }
58 |
59 | }
60 | }
61 | }
62 |
63 | @media only screen and (max-width : 768px){
64 | .skills{
65 | &__content-wrapper{
66 | flex-direction: column
67 | }
68 | }
69 | .skills__content-wrapper__inner-content__progressbar-container{
70 | margin-bottom: 20px;
71 | }
72 | }
--------------------------------------------------------------------------------
/src/containers/skills/utils.js:
--------------------------------------------------------------------------------
1 | export const skillsData = [
2 | {
3 | label: "FRONT END",
4 | data: [
5 | {
6 | skillName: "HTML",
7 | percentage: "90",
8 | },
9 | {
10 | skillName: "CSS",
11 | percentage: "50",
12 | },
13 | {
14 | skillName: "JAVASCRIPT",
15 | percentage: "80",
16 | },
17 | ],
18 | },
19 | {
20 | label: "BACK END",
21 | data: [
22 | {
23 | skillName: "JAVA",
24 | percentage: "70",
25 | },
26 | {
27 | skillName: "PYTHON",
28 | percentage: "65",
29 | },
30 | {
31 | skillName: "KOTLIN",
32 | percentage: "35",
33 | },
34 | ],
35 | },
36 | {
37 | label: "DATABASES",
38 | data: [
39 | {
40 | skillName: "SQL",
41 | percentage: "70",
42 | },
43 | {
44 | skillName: "MONGO DB",
45 | percentage: "65",
46 | },
47 | {
48 | skillName: "ORACLE",
49 | percentage: "85",
50 | },
51 | ],
52 | },
53 | ];
--------------------------------------------------------------------------------
/src/images/image1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sangammukherjee/portfolio-website-2022/e54f78a628ec73d10473e3240c68175a3d5910e9/src/images/image1.jpg
--------------------------------------------------------------------------------
/src/images/image2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sangammukherjee/portfolio-website-2022/e54f78a628ec73d10473e3240c68175a3d5910e9/src/images/image2.jpg
--------------------------------------------------------------------------------
/src/images/image3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sangammukherjee/portfolio-website-2022/e54f78a628ec73d10473e3240c68175a3d5910e9/src/images/image3.jpg
--------------------------------------------------------------------------------
/src/images/image4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sangammukherjee/portfolio-website-2022/e54f78a628ec73d10473e3240c68175a3d5910e9/src/images/image4.jpg
--------------------------------------------------------------------------------
/src/images/image5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sangammukherjee/portfolio-website-2022/e54f78a628ec73d10473e3240c68175a3d5910e9/src/images/image5.jpg
--------------------------------------------------------------------------------
/src/index.css:
--------------------------------------------------------------------------------
1 | @import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@500&display=swap');
2 |
3 |
4 | :root{
5 |
6 |
7 | --yellow-theme-background-color : #1d1d1d;
8 | --yellow-theme-main-color : #ffdd40;
9 | --yellow-theme-sub-text-color : #ffffff;
10 | --yellow-theme-nav-background-color : #181818;
11 | }
12 |
13 | *{
14 | box-sizing: border-box;
15 | padding: 0;
16 | margin: 0;
17 | scroll-behavior: smooth;
18 | }
19 |
20 | html {
21 | font-size: 62.5%;
22 | height: 100%;
23 | }
24 |
25 | body {
26 | background: var(--yellow-theme-background-color);
27 | height: 100%;
28 | }
29 |
30 | #root{
31 | height: 100%;
32 | }
--------------------------------------------------------------------------------
/src/index.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import ReactDOM from "react-dom/client";
3 | import "./index.css";
4 | import { BrowserRouter as Router } from "react-router-dom";
5 | import App from "./App";
6 |
7 | const root = ReactDOM.createRoot(document.getElementById("root"));
8 | root.render(
9 |
10 |
11 |
12 |
13 |
14 | );
15 |
--------------------------------------------------------------------------------
/src/logo.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/reportWebVitals.js:
--------------------------------------------------------------------------------
1 | const reportWebVitals = onPerfEntry => {
2 | if (onPerfEntry && onPerfEntry instanceof Function) {
3 | import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
4 | getCLS(onPerfEntry);
5 | getFID(onPerfEntry);
6 | getFCP(onPerfEntry);
7 | getLCP(onPerfEntry);
8 | getTTFB(onPerfEntry);
9 | });
10 | }
11 | };
12 |
13 | export default reportWebVitals;
14 |
--------------------------------------------------------------------------------
/src/setupTests.js:
--------------------------------------------------------------------------------
1 | // jest-dom adds custom jest matchers for asserting on DOM nodes.
2 | // allows you to do things like:
3 | // expect(element).toHaveTextContent(/react/i)
4 | // learn more: https://github.com/testing-library/jest-dom
5 | import '@testing-library/jest-dom';
6 |
--------------------------------------------------------------------------------
/src/utils.js/particles.js:
--------------------------------------------------------------------------------
1 | export default {
2 | background: {
3 | color: {
4 | value: "#1d1d1d",
5 | },
6 | },
7 | fpsLimit: 120,
8 | interactivity: {
9 | events: {
10 | onClick: {
11 | enable: true,
12 | mode: "push",
13 | },
14 | onHover: {
15 | enable: true,
16 | mode: "repulse",
17 | },
18 | resize: true,
19 | },
20 | modes: {
21 | push: {
22 | quantity: 4,
23 | },
24 | repulse: {
25 | distance: 200,
26 | duration: 0.4,
27 | },
28 | },
29 | },
30 | particles: {
31 | color: {
32 | value: "var(--selected-theme-main-color)",
33 | },
34 | links: {
35 | color: "#ffffff",
36 | distance: 150,
37 | enable: true,
38 | opacity: 0.5,
39 | width: 1,
40 | },
41 | collisions: {
42 | enable: true,
43 | },
44 | move: {
45 | direction: "none",
46 | enable: true,
47 | outModes: {
48 | default: "bounce",
49 | },
50 | random: false,
51 | speed: 6,
52 | straight: false,
53 | },
54 | number: {
55 | density: {
56 | enable: true,
57 | area: 800,
58 | },
59 | value: 80,
60 | },
61 | opacity: {
62 | value: 0.5,
63 | },
64 | shape: {
65 | type: "circle",
66 | },
67 | size: {
68 | value: { min: 1, max: 5 },
69 | },
70 | },
71 | detectRetina: true,
72 | };
73 |
--------------------------------------------------------------------------------