├── .gitignore ├── README.md ├── package.json ├── public ├── index.html └── robots.txt ├── src ├── App.css ├── App.js ├── Context.js ├── components │ ├── Card │ │ ├── Card.css │ │ └── Card.jsx │ ├── Contact │ │ ├── Contact.css │ │ └── Contact.jsx │ ├── Experience │ │ ├── Experience.css │ │ └── Experience.jsx │ ├── FloatingDiv │ │ ├── FloatingDiv.css │ │ └── FloatingDiv.jsx │ ├── Footer │ │ ├── Footer.css │ │ └── Footer.jsx │ ├── Intro │ │ ├── Intro.css │ │ └── Intro.jsx │ ├── Navbar │ │ ├── Navbar.css │ │ └── Navbar.jsx │ ├── Portfolio │ │ ├── Portfolio.css │ │ └── Portfolio.jsx │ ├── Services │ │ ├── Services.css │ │ ├── Services.jsx │ │ └── resume.pdf │ ├── Testimonials │ │ ├── Testimonial.css │ │ └── Testimonial.jsx │ ├── Toggle │ │ ├── Toggle.css │ │ └── Toggle.jsx │ └── Works │ │ ├── Works.css │ │ └── Works.jsx ├── fonts │ └── Gumela Regular.otf ├── img │ ├── Facebook.png │ ├── Shopify.png │ ├── Upwork.png │ ├── Vector1.png │ ├── Vector2.png │ ├── amazon.png │ ├── boy.png │ ├── crown.png │ ├── ecommerce.png │ ├── fiverr.png │ ├── github.png │ ├── glasses.png │ ├── glassesimoji.png │ ├── heartemoji.png │ ├── hoc.png │ ├── humble.png │ ├── instagram.png │ ├── linkedin.png │ ├── musicapp.png │ ├── profile1.jpg │ ├── profile2.jpg │ ├── profile3.jpg │ ├── profile4.jpg │ ├── profile5.jpg │ ├── profile6.jpg │ ├── purpleblur.png │ ├── sidebar.png │ ├── thumbup.png │ └── wave.png └── index.js └── yarn.lock /.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 | ### `yarn 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 | ### `yarn 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 | ### `yarn 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 | ### `yarn 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 | ### `yarn 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": "portofolio", 3 | "version": "0.1.0", 4 | "private": true, 5 | "dependencies": { 6 | "@emailjs/browser": "^3.4.0", 7 | "@iconscout/react-unicons": "^1.1.6", 8 | "@testing-library/jest-dom": "^5.14.1", 9 | "@testing-library/react": "^12.0.0", 10 | "@testing-library/user-event": "^13.2.1", 11 | "framer-motion": "^6.2.8", 12 | "react": "^17.0.2", 13 | "react-dom": "^17.0.2", 14 | "react-scripts": "5.0.0", 15 | "react-scroll": "^1.8.6", 16 | "swiper": "^8.0.7", 17 | "web-vitals": "^2.1.0" 18 | }, 19 | "scripts": { 20 | "start": "react-scripts start", 21 | "build": "react-scripts build", 22 | "test": "react-scripts test", 23 | "eject": "react-scripts eject" 24 | }, 25 | "eslintConfig": { 26 | "extends": [ 27 | "react-app", 28 | "react-app/jest" 29 | ] 30 | }, 31 | "browserslist": { 32 | "production": [ 33 | ">0.2%", 34 | "not dead", 35 | "not op_mini all" 36 | ], 37 | "development": [ 38 | "last 1 chrome version", 39 | "last 1 firefox version", 40 | "last 1 safari version" 41 | ] 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 11 | 25 | 29 | 38 | React App 39 | 40 | 41 | 42 |
43 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /src/App.css: -------------------------------------------------------------------------------- 1 | :root 2 | { 3 | --yellow: #F5C32C; 4 | --orange : #FCA61F; 5 | --black : #242D49; 6 | --gray : #788097; 7 | --blueCard : #DDF8FE; 8 | --purple: rgb(238 210 255); 9 | --boxShadow : 0px 19px 60px rgb(0 0 0 / 8%); 10 | --orangeCard: rgba(252, 166, 31, 0.45); 11 | --smboxShadow: -79px 51px 60px rgba(0, 0, 0, 0.08); 12 | } 13 | 14 | .App{ 15 | padding: 0.5rem 3.5rem; 16 | overflow: hidden; 17 | color: var(--black); 18 | } 19 | 20 | .button { 21 | background: linear-gradient(180deg, #fdc50f 26.71%, #fb982f 99.36%); 22 | box-shadow: 0px 20px 24px 3px rgba(251, 161, 40, 0.42); 23 | border-radius: 34px; 24 | border: none; 25 | color: white; 26 | font-size: 16px; 27 | padding: 11px 26px 11px 26px; 28 | } 29 | 30 | .button:hover { 31 | background: white; 32 | cursor: pointer; 33 | border: 1px solid var(--orange); 34 | color: var(--orange); 35 | } 36 | @media screen and (max-width: 480px) { 37 | .App { 38 | padding: 0.5rem 1rem; 39 | 40 | } 41 | } 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /src/App.js: -------------------------------------------------------------------------------- 1 | import Navbar from "./components/Navbar/Navbar"; 2 | import Intro from "./components/Intro/Intro"; 3 | import Services from "./components/Services/Services"; 4 | import "./App.css"; 5 | import Experience from "./components/Experience/Experience"; 6 | import Works from "./components/Works/Works"; 7 | import Portfolio from "./components/Portfolio/Portfolio"; 8 | import Testimonial from "./components/Testimonials/Testimonial"; 9 | import Contact from "./components/Contact/Contact"; 10 | import Footer from "./components/Footer/Footer"; 11 | import { useContext } from "react"; 12 | import { themeContext } from "./Context"; 13 | function App() { 14 | const theme = useContext(themeContext); 15 | const darkMode = theme.state.darkMode; 16 | return ( 17 |
24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 |
34 | ); 35 | } 36 | 37 | export default App; 38 | -------------------------------------------------------------------------------- /src/Context.js: -------------------------------------------------------------------------------- 1 | import { createContext, useReducer } from "react"; 2 | 3 | export const themeContext = createContext(); 4 | 5 | const initialState = { darkMode: false }; 6 | 7 | const themeReducer = (state, action) => { 8 | switch (action.type) { 9 | case "toggle": 10 | return { darkMode: !state.darkMode }; 11 | default: 12 | return state; 13 | } 14 | }; 15 | 16 | export const ThemeProvider = (props) => { 17 | const [state, dispatch] = useReducer(themeReducer, initialState); 18 | return ( 19 | {props.children} 20 | ); 21 | }; 22 | -------------------------------------------------------------------------------- /src/components/Card/Card.css: -------------------------------------------------------------------------------- 1 | .card { 2 | width: 10rem; 3 | height: 13rem; 4 | position: absolute; 5 | display: flex; 6 | flex-direction: column; 7 | gap: 1rem; 8 | align-items: center; 9 | width: 10rem; 10 | text-align: center; 11 | background: rgba(255, 255, 255, 0.26); 12 | border: 7px solid var(--orangeCard); 13 | box-shadow: var(--boxShadow); 14 | border-radius: 20px; 15 | padding: 0px 26px 2rem 26px; 16 | } 17 | .card span:nth-of-type(2) { 18 | color: var(--gray); 19 | font-size: 16px; 20 | } 21 | .card > img { 22 | transform: scale(0.6); 23 | margin-bottom: -2rem; 24 | } 25 | .c-button { 26 | background: #FFFFFF; 27 | box-shadow: 0px 19px 60px rgba(0, 0, 0, 0.08); 28 | border-radius: 7px; 29 | border: none; 30 | padding: 10px; 31 | font-size: 16px; 32 | color: #5290FD; 33 | } 34 | 35 | .c-button:hover{ 36 | transform: scale(1.1); 37 | cursor: pointer; 38 | } 39 | /* cards */ 40 | 41 | 42 | 43 | 44 | @media screen and (max-width: 480px){ 45 | .card{ 46 | width: auto; 47 | } 48 | } -------------------------------------------------------------------------------- /src/components/Card/Card.jsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import "./Card.css"; 3 | 4 | const Card = ({emoji, heading, detail, color}) => { 5 | return ( 6 |
7 | 8 | {heading} 9 | {detail} 10 | 11 |
12 | ); 13 | }; 14 | 15 | export default Card; 16 | -------------------------------------------------------------------------------- /src/components/Contact/Contact.css: -------------------------------------------------------------------------------- 1 | .contact-form{ 2 | padding: 0 3rem 0 3rem; 3 | display: flex; 4 | height: 80vh; 5 | margin-top: 4rem; 6 | /* scroll */ 7 | padding-top: 3rem; 8 | } 9 | 10 | .c-right{ 11 | display: flex; 12 | justify-content: center; 13 | position: relative; 14 | flex: 1; 15 | } 16 | 17 | .c-right>form 18 | { 19 | display: flex; 20 | flex-direction: column; 21 | gap: 2rem; 22 | align-items: center; 23 | 24 | } 25 | 26 | .c-right .user{ 27 | width: 20rem; 28 | height: 2rem; 29 | padding: 0.3em; 30 | outline: none; 31 | border: 2px solid var(--orange); 32 | border-radius: 8px; 33 | font-size: 16px; 34 | } 35 | 36 | textarea{ 37 | height: 4rem!important; 38 | } 39 | 40 | .c-blur1{ 41 | top: 1rem; 42 | left: 8rem; 43 | } 44 | 45 | @media screen and (max-width: 480px) { 46 | .contact-form{ 47 | padding: 0; 48 | flex-direction: column; 49 | gap: 5rem; 50 | height: 40rem; 51 | } 52 | .c-right .user{ 53 | width: 16rem; 54 | } 55 | 56 | } -------------------------------------------------------------------------------- /src/components/Contact/Contact.jsx: -------------------------------------------------------------------------------- 1 | import React, { useContext, useRef, useState } from "react"; 2 | import "./Contact.css"; 3 | import emailjs from "@emailjs/browser"; 4 | import { themeContext } from "../../Context"; 5 | const Contact = () => { 6 | const theme = useContext(themeContext); 7 | const darkMode = theme.state.darkMode; 8 | const form = useRef(); 9 | const [done, setDone] = useState(false) 10 | const sendEmail = (e) => { 11 | e.preventDefault(); 12 | 13 | emailjs 14 | .sendForm( 15 | "service_2mu5xtl", 16 | "template_m5udu2c", 17 | form.current, 18 | "VLwg1ltOWvnCYAiK_" 19 | ) 20 | .then( 21 | (result) => { 22 | console.log(result.text); 23 | setDone(true); 24 | form.reset(); 25 | }, 26 | (error) => { 27 | console.log(error.text); 28 | } 29 | ); 30 | }; 31 | 32 | return ( 33 |
34 | {/* left side copy and paste from work section */} 35 |
36 |
37 | {/* darkMode */} 38 | Get in Touch 39 | Contact me 40 |
44 |
45 |
46 | {/* right side form */} 47 |
48 |
49 | 50 | 51 |