├── .gitignore ├── CNAME ├── LICENSE.md ├── README.md ├── package-lock.json ├── package.json ├── postcss.config.js ├── public ├── favicon.ico ├── index.html ├── logo192.png ├── logo512.png ├── manifest.json └── robots.txt ├── src ├── App.js ├── assets │ ├── css.png │ ├── express.png │ ├── github.png │ ├── graphql.png │ ├── heroImage.png │ ├── html.png │ ├── javascript.png │ ├── mongodb.png │ ├── nextjs.png │ ├── node.png │ ├── portfolio │ │ ├── api.jpg │ │ ├── apod.jpg │ │ ├── arrayDestruct.jpg │ │ ├── installNode.jpg │ │ ├── iptracker.jpg │ │ ├── navbar.jpg │ │ ├── nftportal.jpg │ │ ├── reactParallax.jpg │ │ ├── reactSmooth.jpg │ │ ├── reactWeather.jpg │ │ ├── usestate.jpg │ │ ├── waveportal.jpg │ │ └── webpostman.jpg │ ├── react.png │ ├── redux.png │ ├── resume.pdf │ └── tailwind.png ├── components │ ├── About.jsx │ ├── Contact.jsx │ ├── Experience.jsx │ ├── Footer.jsx │ ├── Home.jsx │ ├── NavBar.jsx │ ├── Portfolio.jsx │ └── SocialLinks.jsx ├── index.css └── index.js └── tailwind.config.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 | -------------------------------------------------------------------------------- /CNAME: -------------------------------------------------------------------------------- 1 | www.rahulkarda.me 2 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Rahul Karda 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | Copyrighted.com Registered & Protected 3 | 4 | 5 | # Getting Started with Create React App 6 | 7 | This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). 8 | 9 | ## Available Scripts 10 | 11 | In the project directory, you can run: 12 | 13 | ### `npm start` 14 | 15 | Runs the app in the development mode.\ 16 | Open [http://localhost:3000](http://localhost:3000) to view it in your browser. 17 | 18 | The page will reload when you make changes.\ 19 | You may also see any lint errors in the console. 20 | 21 | ### `npm test` 22 | 23 | Launches the test runner in the interactive watch mode.\ 24 | See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. 25 | 26 | ### `npm run build` 27 | 28 | Builds the app for production to the `build` folder.\ 29 | It correctly bundles React in production mode and optimizes the build for the best performance. 30 | 31 | The build is minified and the filenames include the hashes.\ 32 | Your app is ready to be deployed! 33 | 34 | See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. 35 | 36 | ### `npm run eject` 37 | 38 | **Note: this is a one-way operation. Once you `eject`, you can't go back!** 39 | 40 | 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. 41 | 42 | 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. 43 | 44 | 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. 45 | 46 | ## Learn More 47 | 48 | You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). 49 | 50 | To learn React, check out the [React documentation](https://reactjs.org/). 51 | 52 | ### Code Splitting 53 | 54 | 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) 55 | 56 | ### Analyzing the Bundle Size 57 | 58 | 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) 59 | 60 | ### Making a Progressive Web App 61 | 62 | 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) 63 | 64 | ### Advanced Configuration 65 | 66 | 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) 67 | 68 | ### Deployment 69 | 70 | This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment) 71 | 72 | ### `npm run build` fails to minify 73 | 74 | 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) 75 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "one-portfolio", 3 | "version": "0.1.0", 4 | "private": true, 5 | "dependencies": { 6 | "@testing-library/jest-dom": "^5.16.4", 7 | "@testing-library/react": "^13.3.0", 8 | "@testing-library/user-event": "^13.5.0", 9 | "react": "^18.1.0", 10 | "react-dom": "^18.1.0", 11 | "react-icons": "^4.4.0", 12 | "react-scripts": "5.0.1", 13 | "react-scroll": "^1.8.7", 14 | "web-vitals": "^2.1.4" 15 | }, 16 | "scripts": { 17 | "start": "react-scripts start", 18 | "build": "react-scripts build", 19 | "test": "react-scripts test", 20 | "eject": "react-scripts eject" 21 | }, 22 | "eslintConfig": { 23 | "extends": [ 24 | "react-app", 25 | "react-app/jest" 26 | ] 27 | }, 28 | "browserslist": { 29 | "production": [ 30 | ">0.2%", 31 | "not dead", 32 | "not op_mini all" 33 | ], 34 | "development": [ 35 | "last 1 chrome version", 36 | "last 1 firefox version", 37 | "last 1 safari version" 38 | ] 39 | }, 40 | "devDependencies": { 41 | "autoprefixer": "^10.4.7", 42 | "postcss": "^8.4.14", 43 | "tailwindcss": "^3.0.24" 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/public/favicon.ico -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 12 | 13 | 14 | 18 | 19 | 28 | React Portfolio 29 | 30 | 31 | 32 |
33 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/public/logo192.png -------------------------------------------------------------------------------- /public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/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 About from "./components/About"; 2 | import Contact from "./components/Contact"; 3 | import Experience from "./components/Experience"; 4 | import Home from "./components/Home"; 5 | import NavBar from "./components/NavBar"; 6 | import Portfolio from "./components/Portfolio"; 7 | import SocialLinks from "./components/SocialLinks"; 8 | import Footer from "./components/Footer" 9 | 10 | function App() { 11 | return ( 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
22 | ); 23 | } 24 | 25 | export default App; 26 | -------------------------------------------------------------------------------- /src/assets/css.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/css.png -------------------------------------------------------------------------------- /src/assets/express.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/express.png -------------------------------------------------------------------------------- /src/assets/github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/github.png -------------------------------------------------------------------------------- /src/assets/graphql.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/graphql.png -------------------------------------------------------------------------------- /src/assets/heroImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/heroImage.png -------------------------------------------------------------------------------- /src/assets/html.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/html.png -------------------------------------------------------------------------------- /src/assets/javascript.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/javascript.png -------------------------------------------------------------------------------- /src/assets/mongodb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/mongodb.png -------------------------------------------------------------------------------- /src/assets/nextjs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/nextjs.png -------------------------------------------------------------------------------- /src/assets/node.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/node.png -------------------------------------------------------------------------------- /src/assets/portfolio/api.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/portfolio/api.jpg -------------------------------------------------------------------------------- /src/assets/portfolio/apod.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/portfolio/apod.jpg -------------------------------------------------------------------------------- /src/assets/portfolio/arrayDestruct.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/portfolio/arrayDestruct.jpg -------------------------------------------------------------------------------- /src/assets/portfolio/installNode.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/portfolio/installNode.jpg -------------------------------------------------------------------------------- /src/assets/portfolio/iptracker.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/portfolio/iptracker.jpg -------------------------------------------------------------------------------- /src/assets/portfolio/navbar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/portfolio/navbar.jpg -------------------------------------------------------------------------------- /src/assets/portfolio/nftportal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/portfolio/nftportal.jpg -------------------------------------------------------------------------------- /src/assets/portfolio/reactParallax.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/portfolio/reactParallax.jpg -------------------------------------------------------------------------------- /src/assets/portfolio/reactSmooth.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/portfolio/reactSmooth.jpg -------------------------------------------------------------------------------- /src/assets/portfolio/reactWeather.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/portfolio/reactWeather.jpg -------------------------------------------------------------------------------- /src/assets/portfolio/usestate.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/portfolio/usestate.jpg -------------------------------------------------------------------------------- /src/assets/portfolio/waveportal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/portfolio/waveportal.jpg -------------------------------------------------------------------------------- /src/assets/portfolio/webpostman.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/portfolio/webpostman.jpg -------------------------------------------------------------------------------- /src/assets/react.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/react.png -------------------------------------------------------------------------------- /src/assets/redux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/redux.png -------------------------------------------------------------------------------- /src/assets/resume.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/resume.pdf -------------------------------------------------------------------------------- /src/assets/tailwind.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rahulkarda/react-portfolio/d7733a6c7b77e1fb98abe10d1c26494bba00a146/src/assets/tailwind.png -------------------------------------------------------------------------------- /src/components/About.jsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | const About = () => { 4 | return ( 5 |
9 |
10 |
11 |

12 | About 13 |

14 |
15 | 16 |

17 | I am a web developer, working in both, backend and frontend programming. Excited for improving my skills and learning new technologies. I'm open to learn and work with any web technology and currently doing freelance gigs. 18 |

19 | 20 |
21 | 22 |

23 | I like to code matters from scratch and love the idea of bringing thoughts to life. Connect with me to get your project done.

24 | I value minimalistic designs, thoughtful branding of the content, and customer relatable experience. Let’s discover together how we can make your project convert better!

25 | I enjoy creating or redesigning a distinct identity for a product or service, get more traffic from search engine and social platforms. 26 |

27 |
28 |
29 | ); 30 | }; 31 | 32 | export default About; 33 | -------------------------------------------------------------------------------- /src/components/Contact.jsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | //function for form reset 4 | function handleSubmit(e){ 5 | setTimeout(() => { 6 | e.target.reset(); 7 | }, 3000); 8 | } 9 | 10 | const Contact = () => { 11 | return ( 12 |
16 |
17 |
18 |

19 | Contact 20 |

21 |

Submit the form below to get in touch with me

22 |
23 | 24 |
25 |
32 | 39 | 46 | 53 | 54 | 57 |
58 |
59 |
60 |
61 | ); 62 | }; 63 | 64 | export default Contact; 65 | -------------------------------------------------------------------------------- /src/components/Experience.jsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | import html from "../assets/html.png"; 4 | import css from "../assets/css.png"; 5 | import javascript from "../assets/javascript.png"; 6 | import reactImage from "../assets/react.png"; 7 | import nextjs from "../assets/nextjs.png"; 8 | import graphql from "../assets/graphql.png"; 9 | import github from "../assets/github.png"; 10 | import tailwind from "../assets/tailwind.png"; 11 | import node from "../assets/node.png"; 12 | import express from "../assets/express.png" 13 | import mongodb from "../assets/mongodb.png" 14 | import redux from "../assets/redux.png" 15 | const Experience = () => { 16 | const techs = [ 17 | { 18 | id: 1, 19 | src: html, 20 | title: "HTML", 21 | style: "shadow-orange-500", 22 | }, 23 | { 24 | id: 2, 25 | src: css, 26 | title: "CSS", 27 | style: "shadow-blue-500", 28 | }, 29 | { 30 | id: 3, 31 | src: javascript, 32 | title: "JavaScript", 33 | style: "shadow-yellow-500", 34 | }, 35 | { 36 | id: 4, 37 | src: reactImage, 38 | title: "React", 39 | style: "shadow-blue-600", 40 | }, 41 | { 42 | id: 5, 43 | src: node, 44 | title: "NodeJs", 45 | style: "shadow-green-400", 46 | }, 47 | { 48 | id: 6, 49 | src: nextjs, 50 | title: "Next JS", 51 | style: "shadow-white", 52 | }, 53 | { 54 | id: 7, 55 | src: graphql, 56 | title: "GraphQL", 57 | style: "shadow-pink-400", 58 | }, 59 | { 60 | id: 8, 61 | src: github, 62 | title: "GitHub", 63 | style: "shadow-gray-400", 64 | }, 65 | { 66 | id: 9, 67 | src: tailwind, 68 | title: "Tailwind", 69 | style: "shadow-sky-400", 70 | }, 71 | { 72 | id: 10, 73 | src: express, 74 | title: "Express", 75 | style: "shadow-white", 76 | }, 77 | { 78 | id: 11, 79 | src: mongodb, 80 | title: "MongoDB", 81 | style: "shadow-green-500", 82 | }, 83 | { 84 | id: 12, 85 | src: redux, 86 | title: "Redux", 87 | style: "shadow-purple-500", 88 | }, 89 | ]; 90 | 91 | return ( 92 |
96 |
97 |
98 |

99 | Experience 100 |

101 |

These are the technologies I've worked with and used them in my projects.

102 |
103 | 104 |
105 | {techs.map(({ id, src, title, style }) => ( 106 |
110 | 111 |

{title}

112 |
113 | ))} 114 |
115 |
116 |
117 | ); 118 | }; 119 | 120 | export default Experience; 121 | -------------------------------------------------------------------------------- /src/components/Footer.jsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | function Footer(){ 4 | return( 5 | 9 | ) 10 | } 11 | 12 | 13 | export default Footer 14 | -------------------------------------------------------------------------------- /src/components/Home.jsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import HeroImage from "../assets/heroImage.png"; 3 | import { MdOutlineKeyboardArrowRight } from "react-icons/md"; 4 | import { Link } from "react-scroll"; 5 | 6 | const Home = () => { 7 | return ( 8 |
12 |
13 |
14 | profile 19 |
20 |
21 |

22 | I'm a Full Stack Web Developer 23 |

24 |

25 | I have 2 years of experience building websites and desgining software. 26 | I love to work on web application using technologies like 27 | React, Tailwind, Next JS and GraphQL. 28 |

29 | 30 |
31 | 37 | Portfolio 38 | 39 | 40 | 41 | 42 |
43 |
44 |
45 | profile 50 |
51 | 52 |
53 |
54 | ); 55 | }; 56 | 57 | export default Home; 58 | -------------------------------------------------------------------------------- /src/components/NavBar.jsx: -------------------------------------------------------------------------------- 1 | import React, { useState } from "react"; 2 | import { FaBars, FaTimes } from "react-icons/fa"; 3 | import { Link } from "react-scroll"; 4 | 5 | const NavBar = () => { 6 | const [nav, setNav] = useState(false); 7 | 8 | const links = [ 9 | { 10 | id: 1, 11 | link: "home", 12 | }, 13 | { 14 | id: 2, 15 | link: "about", 16 | }, 17 | { 18 | id: 3, 19 | link: "portfolio", 20 | }, 21 | { 22 | id: 4, 23 | link: "experience", 24 | }, 25 | { 26 | id: 5, 27 | link: "contact", 28 | }, 29 | ]; 30 | 31 | return ( 32 |
33 |
34 | {/*

Rahul

*/} 35 |

Rahul

36 |
37 | 38 | 50 | 51 |
setNav(!nav)} 53 | className="cursor-pointer pr-4 z-10 text-gray-500 md:hidden" 54 | > 55 | {nav ? : } 56 |
57 | 58 | {nav && ( 59 | 76 | )} 77 |
78 | ); 79 | }; 80 | 81 | export default NavBar; 82 | -------------------------------------------------------------------------------- /src/components/Portfolio.jsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import api from "../assets/portfolio/api.jpg"; 3 | import apod from "../assets/portfolio/apod.jpg"; 4 | import iptracker from "../assets/portfolio/iptracker.jpg"; 5 | import nftportal from "../assets/portfolio/nftportal.jpg"; 6 | import webpostman from "../assets/portfolio/webpostman.jpg"; 7 | import waveportal from "../assets/portfolio/waveportal.jpg"; 8 | 9 | const Portfolio = () => { 10 | const portfolios = [ 11 | { 12 | id: 1, 13 | src: api, 14 | link: 'https://crypto-info-api.cyclic.app/', 15 | repo: 'https://github.com/rahulkarda/crypto-info-api' 16 | }, 17 | { 18 | id: 2, 19 | src: webpostman, 20 | link: 'https://webpostman.netlify.app/', 21 | repo: 'https://github.com/rahulkarda/Web-Postman' 22 | }, 23 | { 24 | id: 3, 25 | src: apod, 26 | link: 'https://apodbyrahul.netlify.app/', 27 | repo: 'https://github.com/rahulkarda/NASA-APOD' 28 | }, 29 | { 30 | id: 4, 31 | src: waveportal, 32 | link: 'https://waveatrahul.netlify.app/', 33 | repo: 'https://github.com/rahulkarda/Wave-Portal' 34 | }, 35 | { 36 | id: 5, 37 | src: nftportal, 38 | link: 'https://nftportalbyrahul.netlify.app/', 39 | repo: 'https://github.com/rahulkarda/NFT-Portal' 40 | }, 41 | { 42 | id: 6, 43 | src: iptracker, 44 | link: 'https://trackmyip.netlify.app/', 45 | repo: 'https://github.com/rahulkarda/IP-Address-Tracker' 46 | }, 47 | ]; 48 | 49 | return ( 50 |
54 |
55 |
56 |

57 | Portfolio 58 |

59 |

Check out some of my work right here

60 |
61 | 62 |
63 | {portfolios.map(({ id, src, link, repo }) => ( 64 |
65 | projects 70 |
71 | 74 | 77 |
78 |
79 | ))} 80 |
81 |
82 |
83 | ); 84 | }; 85 | 86 | export default Portfolio; 87 | -------------------------------------------------------------------------------- /src/components/SocialLinks.jsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { FaGithub, FaLinkedin, FaTwitter } from "react-icons/fa"; 3 | import { HiOutlineMail } from "react-icons/hi"; 4 | import { BsFillPersonLinesFill } from "react-icons/bs"; 5 | import resume from "../assets/resume.pdf" 6 | const SocialLinks = () => { 7 | const links = [ 8 | { 9 | id: 1, 10 | child: ( 11 | <> 12 | LinkedIn 13 | 14 | ), 15 | href: "https://linkedin.com/in/rahulkarda2002", 16 | style: "rounded-tr-md", 17 | }, 18 | { 19 | id: 2, 20 | child: ( 21 | <> 22 | GitHub 23 | 24 | ), 25 | href: "https://github.com/rahulkarda", 26 | }, 27 | { 28 | id: 3, 29 | child: ( 30 | <> 31 | Email 32 | 33 | ), 34 | href: "mailto:rahulkarda2002@gmail.com", 35 | }, 36 | { 37 | id: 4, 38 | child: ( 39 | <> 40 | Resume 41 | 42 | ), 43 | href: resume, 44 | download: true, 45 | }, 46 | { 47 | id: 5, 48 | child: ( 49 | <> 50 | Twitter 51 | 52 | ), 53 | href: "https://twitter.com/rahulkarda2002", 54 | style: "rounded-br-md", 55 | }, 56 | ]; 57 | 58 | return ( 59 |
60 |
    61 | {links.map(({ id, child, href, style, download }) => ( 62 |
  • 70 | 77 | {child} 78 | 79 |
  • 80 | ))} 81 |
82 |
83 | ); 84 | }; 85 | 86 | export default SocialLinks; 87 | -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- 1 | @import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"); 2 | 3 | @import url("https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap"); 4 | 5 | @tailwind base; 6 | @tailwind components; 7 | @tailwind utilities; 8 | 9 | @layer base { 10 | html { 11 | font-family: "Raleway", sans-serif; 12 | } 13 | } 14 | 15 | #root { 16 | background: linear-gradient(black 25%, rgb(31, 41, 54) 58%, black 15%); 17 | min-height: 100vh; 18 | } 19 | 20 | body { 21 | background: rgb(31, 41, 55); 22 | } 23 | 24 | .nav { 25 | z-index: 10; 26 | } 27 | 28 | .link-underline { 29 | border-bottom-width: 0; 30 | background-image: linear-gradient(transparent, transparent), 31 | linear-gradient(#fff, #fff); 32 | background-size: 0 3px; 33 | background-position: 0 100%; 34 | background-repeat: no-repeat; 35 | transition: background-size 0.5s ease-in-out; 36 | } 37 | 38 | .link-underline-black { 39 | /* background-image: linear-gradient(transparent, transparent), linear-gradient(#F2C, rgb(60, 34, 255)) */ 40 | background-image: linear-gradient(transparent, transparent), 41 | linear-gradient(#000, #fff); 42 | } 43 | 44 | .link-underline:hover { 45 | background-size: 100% 3px; 46 | background-position: 0 100%; 47 | line-height: 1.2; 48 | } 49 | 50 | .portfolio, 51 | .contact { 52 | margin-top: 8%; 53 | } 54 | 55 | .experience { 56 | margin-top: 12%; 57 | } 58 | 59 | 60 | .nav-links { 61 | text-underline-offset: 1rem; 62 | } 63 | 64 | 65 | @media screen and (max-width: 900px) { 66 | 67 | #root { 68 | background: linear-gradient(rgb(31, 41, 55) 20%, black 20%, rgb(31, 41, 55) 65%, black 25%); 69 | min-height: 100vh; 70 | } 71 | 72 | .about, 73 | .contact, 74 | .portfolio, 75 | .experience, 76 | .home { 77 | text-align: center; 78 | height: 100%; 79 | } 80 | 81 | .about, 82 | .portfolio, 83 | .experience { 84 | margin-top: 10%; 85 | } 86 | 87 | .home img { 88 | margin-top: 25%; 89 | } 90 | 91 | .small-screen { 92 | display: block; 93 | } 94 | 95 | .big-screen { 96 | display: none; 97 | } 98 | 99 | .gap-8 { 100 | gap: 4rem; 101 | } 102 | 103 | .home h2 { 104 | font-size: 2.7rem; 105 | line-height: 3rem; 106 | margin-top: 7%; 107 | } 108 | 109 | .portfolio-btn { 110 | margin: auto; 111 | } 112 | 113 | .px-12 { 114 | padding-left: 1rem; 115 | padding-right: 1rem; 116 | } 117 | 118 | } -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import ReactDOM from "react-dom/client"; 3 | import "./index.css"; 4 | import App from "./App"; 5 | 6 | const root = ReactDOM.createRoot(document.getElementById("root")); 7 | root.render( 8 | 9 | 10 | 11 | ); -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | content: ["./src/**/*.{js,jsx,ts,tsx}"], 3 | theme: { 4 | extend: {}, 5 | fontFamily: { 6 | signature: ["Great Vibes"], 7 | }, 8 | }, 9 | plugins: [], 10 | }; 11 | --------------------------------------------------------------------------------