├── .gitignore ├── README.md ├── package-lock.json ├── package.json ├── public ├── favicon.ico ├── index.html ├── logo192.png ├── logo512.png ├── manifest.json └── robots.txt └── src ├── App.css ├── App.js ├── Assets └── Image-1.svg ├── Components ├── Login │ ├── Login.css │ ├── Login.js │ └── Students.png └── ResetPassword │ ├── OTP.css │ ├── OTP.js │ ├── ResetPassword.css │ ├── ResetPassword.js │ ├── VerifyPassword.css │ └── VerifyPassword.js ├── index.css ├── index.js └── logo.svg /.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": "netnest", 3 | "version": "0.1.0", 4 | "private": true, 5 | "dependencies": { 6 | "@testing-library/jest-dom": "^5.16.5", 7 | "@testing-library/react": "^13.4.0", 8 | "@testing-library/user-event": "^13.5.0", 9 | "react": "^18.2.0", 10 | "react-dom": "^18.2.0", 11 | "react-scripts": "5.0.1", 12 | "web-vitals": "^2.1.4" 13 | }, 14 | "scripts": { 15 | "start": "react-scripts start", 16 | "build": "react-scripts build", 17 | "test": "react-scripts test", 18 | "eject": "react-scripts eject" 19 | }, 20 | "eslintConfig": { 21 | "extends": [ 22 | "react-app", 23 | "react-app/jest" 24 | ] 25 | }, 26 | "browserslist": { 27 | "production": [ 28 | ">0.2%", 29 | "not dead", 30 | "not op_mini all" 31 | ], 32 | "development": [ 33 | "last 1 chrome version", 34 | "last 1 firefox version", 35 | "last 1 safari version" 36 | ] 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yash-mewada/netnest/4049f665c8af68fc0d995d29afac9745dcb981be/public/favicon.ico -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 12 | 13 | 17 | 18 | 27 | React App 28 | 29 | 30 | 34 | 35 | 36 | 37 |
38 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yash-mewada/netnest/4049f665c8af68fc0d995d29afac9745dcb981be/public/logo192.png -------------------------------------------------------------------------------- /public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yash-mewada/netnest/4049f665c8af68fc0d995d29afac9745dcb981be/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.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-family: "Sofia Sans", sans-serif; 3 | } 4 | -------------------------------------------------------------------------------- /src/App.js: -------------------------------------------------------------------------------- 1 | import "./App.css"; 2 | import Login from "./Components/Login/Login.js"; 3 | import ResetPassword from "./Components/ResetPassword/ResetPassword"; 4 | import OTP from "./Components/ResetPassword/OTP"; 5 | import VerifyPassword from "./Components/ResetPassword/VerifyPassword"; 6 | 7 | function App() { 8 | return ( 9 |
10 | {/* */} 11 | {/* */} 12 | {/* */} 13 | 14 |
15 | ); 16 | } 17 | 18 | export default App; 19 | -------------------------------------------------------------------------------- /src/Assets/Image-1.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /src/Components/Login/Login.css: -------------------------------------------------------------------------------- 1 | .Login-Page { 2 | display: flex; 3 | justify-content: space-between; 4 | width: 100%; 5 | } 6 | 7 | .image-container img { 8 | object-fit: contain; 9 | } 10 | 11 | .Login-Form { 12 | flex-basis: 50%; 13 | /* add additional styles for the login form */ 14 | } 15 | 16 | .LoginContainer { 17 | width: 471px; 18 | height: 631px; 19 | background-color: #ece9f2; 20 | border-radius: 48px; 21 | margin-right: 8%; 22 | margin-top: 5%; 23 | display: flex; 24 | flex-direction: column; 25 | justify-content: flex-start; 26 | align-items: center; 27 | } 28 | 29 | .LoginContainer h1 { 30 | color: #412a7d; 31 | font-size: 30px; 32 | margin-top: 6%; 33 | } 34 | 35 | input[type="text"] { 36 | width: 350px; 37 | height: 60px; 38 | border-radius: 24px; 39 | border: 1.5px solid; 40 | border-color: #412a7d; 41 | margin-top: 10%; 42 | } 43 | 44 | input[type="password"] { 45 | width: 350px; 46 | height: 60px; 47 | border-radius: 24px; 48 | border: 1.5px solid; 49 | border-color: #412a7d; 50 | margin-top: 5%; 51 | } 52 | 53 | .LoginButton { 54 | margin-top: 2%; 55 | width: 350px; 56 | height: 60px; 57 | padding: 10px; 58 | border: none; 59 | background-color: #5a5adf; 60 | color: white; 61 | border-radius: 24px; 62 | font-family: "Sofia Sans", sans-serif; 63 | font-size: 26px; 64 | box-shadow: 0 13px #412a7d; 65 | font-weight: 700; 66 | text-align: center; 67 | text-decoration: none; 68 | outline: none; 69 | } 70 | 71 | .LoginButton:hover { 72 | background-color: rgb(116, 116, 236); 73 | color: rgb(255, 255, 255); 74 | cursor: pointer; 75 | } 76 | 77 | .LoginButton:active { 78 | background-color: #5a5adf; 79 | box-shadow: 0 9px #412a7d; 80 | transform: translateY(4px); 81 | } 82 | 83 | h4 { 84 | align-self: flex-end; 85 | margin-right: 13%; 86 | color: #412a7d; 87 | } 88 | 89 | .GoogleButton { 90 | margin-top: 3%; 91 | width: 350px; 92 | height: 60px; 93 | padding: 10px; 94 | border: 1px solid #6d6d76; 95 | background-color: #ffffff; 96 | color: #000000; 97 | border-radius: 24px; 98 | font-family: "Sofia Sans", sans-serif; 99 | font-size: 26px; 100 | box-shadow: 0 13px #6d6d76; 101 | font-weight: 700; 102 | text-align: center; 103 | text-decoration: none; 104 | outline: none; 105 | } 106 | 107 | .GoogleButton:hover { 108 | background-color: rgb(231, 231, 240); 109 | color: #000000; 110 | cursor: pointer; 111 | } 112 | 113 | .GoogleButton:active { 114 | background-color: rgb(231, 231, 240); 115 | box-shadow: 0 9px #6d6d76; 116 | transform: translateY(4px); 117 | } 118 | 119 | h3 { 120 | margin-top: 8%; 121 | font-size: 14px; 122 | } 123 | -------------------------------------------------------------------------------- /src/Components/Login/Login.js: -------------------------------------------------------------------------------- 1 | import "../Login/Login.css"; 2 | import Image from "../Login/Students.png"; 3 | 4 | function Login() { 5 | return ( 6 |
7 |
8 | Students 9 |
10 | 11 |
12 |

Welcome Back : )

13 | 14 | 15 |

Forgot Password?

16 | 19 |

Or Sign In Using

20 | 21 |
22 |
23 | ); 24 | } 25 | 26 | export default Login; 27 | -------------------------------------------------------------------------------- /src/Components/Login/Students.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yash-mewada/netnest/4049f665c8af68fc0d995d29afac9745dcb981be/src/Components/Login/Students.png -------------------------------------------------------------------------------- /src/Components/ResetPassword/OTP.css: -------------------------------------------------------------------------------- 1 | .otp-parent-container { 2 | display: flex; 3 | flex-direction: column; 4 | align-items: center; 5 | } 6 | 7 | .otp-container { 8 | margin-top: 6%; 9 | width: 900px; 10 | height: 500px; 11 | border-radius: 48px; 12 | background-color: #ece9f2; 13 | } 14 | 15 | .parent-otp-boxes { 16 | display: flex; 17 | flex-direction: column; 18 | } 19 | 20 | .otp-container h1 { 21 | margin-left: 6%; 22 | margin-top: 4%; 23 | font-size: 45px; 24 | color: #412a7d; 25 | } 26 | 27 | .otp-container p { 28 | color: #412a7d; 29 | margin-left: 6%; 30 | margin-top: -0.5%; 31 | } 32 | 33 | input[type="number"] { 34 | border: 1px solid #412a7d; 35 | text-align: center; 36 | font-family: "Sofia Sans", sans-serif; 37 | height: 82px; 38 | width: 63px; 39 | border-radius: 24px; 40 | font-size: 24px; 41 | margin-left: -9%; 42 | margin-right: -9%; 43 | margin-top: 5%; 44 | } 45 | 46 | .otp-boxes { 47 | display: flex; 48 | flex-direction: row; 49 | justify-content: space-evenly; 50 | } 51 | 52 | .otp-next { 53 | align-self: center; 54 | margin-top: 8%; 55 | width: 125px; 56 | height: 30px; 57 | padding: 10px; 58 | border: none; 59 | background-color: #5a5adf; 60 | color: white; 61 | border-radius: 18px; 62 | font-family: "Sofia Sans", sans-serif; 63 | font-size: 24px; 64 | box-shadow: 0 13px #412a7d; 65 | font-weight: 700; 66 | text-align: center; 67 | text-decoration: none; 68 | outline: none; 69 | } 70 | 71 | .otp-next:hover { 72 | background-color: rgb(116, 116, 236); 73 | color: rgb(255, 255, 255); 74 | cursor: pointer; 75 | } 76 | 77 | .otp-next:active { 78 | background-color: #5a5adf; 79 | box-shadow: 0 9px #412a7d; 80 | transform: translateY(4px); 81 | } 82 | 83 | /* Hide the arrows */ 84 | .no-arrows::-webkit-inner-spin-button, 85 | .no-arrows::-webkit-outer-spin-button { 86 | -webkit-appearance: none; 87 | margin: 0; 88 | } 89 | -------------------------------------------------------------------------------- /src/Components/ResetPassword/OTP.js: -------------------------------------------------------------------------------- 1 | import "../ResetPassword/OTP.css"; 2 | 3 | function OTP() { 4 | function handleInputKeyUp(event) { 5 | const input = event.target; 6 | const maxLength = input.maxLength; 7 | const length = input.value.length; 8 | if (length === maxLength) { 9 | input.nextSibling.focus(); 10 | } 11 | } 12 | 13 | return ( 14 |
15 |
16 |

Reset Password

17 |

18 | We have sent an OTP (One Time Password) to your registered email 19 | ph*****@g***.com, please enter
20 | the 4 digit code to reset your password 21 |

22 |
23 |
24 | 30 | 36 | 42 | 43 |
44 | Next 45 |
46 |
47 |
48 | ); 49 | } 50 | 51 | export default OTP; 52 | -------------------------------------------------------------------------------- /src/Components/ResetPassword/ResetPassword.css: -------------------------------------------------------------------------------- 1 | .parent-container { 2 | display: flex; 3 | flex-direction: column; 4 | align-items: center; 5 | } 6 | 7 | .container { 8 | margin-top: 6%; 9 | width: 900px; 10 | height: 500px; 11 | border-radius: 48px; 12 | background-color: #ece9f2; 13 | } 14 | 15 | .container h1 { 16 | margin-left: 6%; 17 | margin-top: 4%; 18 | font-size: 45px; 19 | color: #412a7d; 20 | } 21 | 22 | .container p { 23 | color: #412a7d; 24 | margin-left: 6%; 25 | margin-top: -0.5%; 26 | } 27 | 28 | .container div { 29 | display: flex; 30 | flex-direction: column; 31 | align-items: center; 32 | justify-content: space-between; 33 | } 34 | 35 | input[type="text"] { 36 | margin-top: -5%; 37 | width: 350px; 38 | height: 60px; 39 | border-radius: 24px; 40 | font-family: "Sofia Sans", sans-serif; 41 | border: 1px solid; 42 | border-color: #412a7d; 43 | font-size: 18px; 44 | margin-top: 10%; 45 | padding-left: 1%; 46 | } 47 | 48 | .next { 49 | margin-top: 8%; 50 | width: 125px; 51 | height: 30px; 52 | padding: 10px; 53 | border: none; 54 | background-color: #5a5adf; 55 | color: white; 56 | border-radius: 18px; 57 | font-family: "Sofia Sans", sans-serif; 58 | font-size: 24px; 59 | box-shadow: 0 13px #412a7d; 60 | font-weight: 700; 61 | text-align: center; 62 | text-decoration: none; 63 | outline: none; 64 | } 65 | 66 | .next:hover { 67 | background-color: rgb(116, 116, 236); 68 | color: rgb(255, 255, 255); 69 | cursor: pointer; 70 | } 71 | 72 | .next:active { 73 | background-color: #5a5adf; 74 | box-shadow: 0 9px #412a7d; 75 | transform: translateY(4px); 76 | } 77 | -------------------------------------------------------------------------------- /src/Components/ResetPassword/ResetPassword.js: -------------------------------------------------------------------------------- 1 | import "../ResetPassword/ResetPassword.css"; 2 | 3 | function ResetPassword() { 4 | return ( 5 |
6 |
7 |

Reset Password

8 |

Enter your registered email to proceed

9 |
10 | 11 | Next 12 |
13 |
14 |
15 | ); 16 | } 17 | 18 | export default ResetPassword; 19 | -------------------------------------------------------------------------------- /src/Components/ResetPassword/VerifyPassword.css: -------------------------------------------------------------------------------- 1 | .verify-parent-container { 2 | display: flex; 3 | flex-direction: column; 4 | align-items: center; 5 | } 6 | 7 | .verify-container { 8 | margin-top: 6%; 9 | width: 900px; 10 | height: 500px; 11 | border-radius: 48px; 12 | background-color: #ece9f2; 13 | } 14 | 15 | .verify-container h1 { 16 | margin-left: 6%; 17 | margin-top: 4%; 18 | font-size: 45px; 19 | color: #412a7d; 20 | } 21 | 22 | .verify-container p { 23 | color: #412a7d; 24 | margin-left: 6%; 25 | margin-top: -0.5%; 26 | } 27 | 28 | .verify-container div { 29 | display: flex; 30 | flex-direction: column; 31 | align-items: center; 32 | justify-content: space-between; 33 | } 34 | 35 | .form-control input { 36 | margin-top: -5%; 37 | width: 350px; 38 | height: 60px; 39 | border-radius: 24px; 40 | font-family: "Sofia Sans", sans-serif; 41 | border: 1px solid; 42 | border-color: #412a7d; 43 | font-size: 18px; 44 | margin-top: 2%; 45 | padding-left: 1%; 46 | } 47 | 48 | .done { 49 | align-self: center; 50 | margin-top: 5%; 51 | width: 125px; 52 | height: 30px; 53 | padding: 10px; 54 | border: none; 55 | background-color: #5a5adf; 56 | color: white; 57 | border-radius: 18px; 58 | font-family: "Sofia Sans", sans-serif; 59 | font-size: 24px; 60 | box-shadow: 0 13px #412a7d; 61 | font-weight: 700; 62 | text-align: center; 63 | text-decoration: none; 64 | outline: none; 65 | } 66 | 67 | .done:hover { 68 | background-color: rgb(116, 116, 236); 69 | color: rgb(255, 255, 255); 70 | cursor: pointer; 71 | } 72 | 73 | .done:active { 74 | background-color: #5a5adf; 75 | box-shadow: 0 9px #412a7d; 76 | transform: translateY(4px); 77 | } 78 | -------------------------------------------------------------------------------- /src/Components/ResetPassword/VerifyPassword.js: -------------------------------------------------------------------------------- 1 | import "./VerifyPassword.css"; 2 | function VerifyPassword() { 3 | return ( 4 |
5 |
6 |

Reset Password

7 |

Create your new password

8 |
9 |
10 | 11 | 12 | Done 13 |
14 |
15 |
16 |
17 | ); 18 | } 19 | 20 | export default VerifyPassword; 21 | -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 4 | 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 5 | sans-serif; 6 | -webkit-font-smoothing: antialiased; 7 | -moz-osx-font-smoothing: grayscale; 8 | } 9 | 10 | code { 11 | font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', 12 | monospace; 13 | } 14 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/logo.svg: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------