From 9076b3d86ecd0b9647b84891a26c199ab1e4850a Mon Sep 17 00:00:00 2001
From: ritikmehndiratta1 <52930602+ritikmehndiratta1@users.noreply.github.com>
Date: Sat, 26 Dec 2020 20:30:39 +0530
Subject: [PATCH] register page created
created a register page; changed the images on signup page; added a react-google-button from npm for future use
---
package-lock.json | 85 ++++++---------------
package.json | 1 +
src/App.js | 2 +
src/components/Authentication/login.js | 4 +-
src/components/Authentication/register.js | 90 +++++++++++++++++++++++
src/components/Authentication/signup.js | 9 ++-
src/components/Route.js | 8 ++
src/components/Shared/metisMenu.js | 5 ++
8 files changed, 138 insertions(+), 66 deletions(-)
create mode 100644 src/components/Authentication/register.js
diff --git a/package-lock.json b/package-lock.json
index 5d8783f..48e7a11 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -4252,8 +4252,7 @@
},
"create-react-class": {
"version": "15.6.3",
- "resolved": "https://registry.npmjs.org/create-react-class/-/create-react-class-15.6.3.tgz",
- "integrity": "sha512-M+/3Q6E6DLO6Yx3OwrWjwHBnvfXXYA7W+dFjt/ZDBemHO1DDZhsalX/NUtnTYclN6GfnBDRh4qRHjcDHmlJBJg==",
+ "resolved": "",
"requires": {
"fbjs": "^0.8.9",
"loose-envify": "^1.3.1",
@@ -16034,9 +16033,9 @@
}
},
"react": {
- "version": "15.6.2",
- "resolved": "https://registry.npmjs.org/react/-/react-15.6.2.tgz",
- "integrity": "sha1-26BDSrQ5z+gvEI8PURZjkIF5qnI=",
+ "version": "15.7.0",
+ "resolved": "https://registry.npmjs.org/react/-/react-15.7.0.tgz",
+ "integrity": "sha512-5/MMRYmpmM0sMTHGLossnJCrmXQIiJilD6y3YN3TzAwGFj6zdnMtFv6xmi65PHKRV+pehIHpT7oy67Sr6s9AHA==",
"requires": {
"create-react-class": "^15.6.0",
"fbjs": "^0.8.9",
@@ -16702,9 +16701,9 @@
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
"ini": {
- "version": "1.3.5",
- "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz",
- "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw=="
+ "version": "1.3.8",
+ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
+ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew=="
},
"inquirer": {
"version": "7.3.3",
@@ -20779,63 +20778,19 @@
}
},
"react-addons-shallow-compare": {
- "version": "15.6.2",
- "resolved": "https://registry.npmjs.org/react-addons-shallow-compare/-/react-addons-shallow-compare-15.6.2.tgz",
- "integrity": "sha1-GYoAuR/DdiPbZKKP0XtZa6NicC8=",
+ "version": "15.6.3",
+ "resolved": "https://registry.npmjs.org/react-addons-shallow-compare/-/react-addons-shallow-compare-15.6.3.tgz",
+ "integrity": "sha512-EDJbgKTtGRLhr3wiGDXK/+AEJ59yqGS+tKE6mue0aNXT6ZMR7VJbbzIiT6akotmHg1BLj46ElJSb+NBMp80XBg==",
"requires": {
- "fbjs": "^0.8.4",
"object-assign": "^4.1.0"
- },
- "dependencies": {
- "core-js": {
- "version": "1.2.7",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz",
- "integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY="
- },
- "fbjs": {
- "version": "0.8.17",
- "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.17.tgz",
- "integrity": "sha1-xNWY6taUkRJlPWWIsBpc3Nn5D90=",
- "requires": {
- "core-js": "^1.0.0",
- "isomorphic-fetch": "^2.1.1",
- "loose-envify": "^1.0.0",
- "object-assign": "^4.1.0",
- "promise": "^7.1.1",
- "setimmediate": "^1.0.5",
- "ua-parser-js": "^0.7.18"
- }
- }
}
},
"react-addons-update": {
- "version": "15.6.2",
- "resolved": "https://registry.npmjs.org/react-addons-update/-/react-addons-update-15.6.2.tgz",
- "integrity": "sha1-5TdTxbNIh5dFEMiC1/sHWFHV5QQ=",
+ "version": "15.6.3",
+ "resolved": "https://registry.npmjs.org/react-addons-update/-/react-addons-update-15.6.3.tgz",
+ "integrity": "sha512-wBkjgx5cR0XTjZEz5jl2kScChrjI9T7rWVdaM0dLiIdHSgeHycLRdHPPiTgKk7vK18Od4rXmLJv91qofBXlE0A==",
"requires": {
- "fbjs": "^0.8.9",
"object-assign": "^4.1.0"
- },
- "dependencies": {
- "core-js": {
- "version": "1.2.7",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz",
- "integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY="
- },
- "fbjs": {
- "version": "0.8.17",
- "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.17.tgz",
- "integrity": "sha1-xNWY6taUkRJlPWWIsBpc3Nn5D90=",
- "requires": {
- "core-js": "^1.0.0",
- "isomorphic-fetch": "^2.1.1",
- "loose-envify": "^1.0.0",
- "object-assign": "^4.1.0",
- "promise": "^7.1.1",
- "setimmediate": "^1.0.5",
- "ua-parser-js": "^0.7.18"
- }
- }
}
},
"react-albus": {
@@ -21222,6 +21177,14 @@
"warning": "^4.0.1"
}
},
+ "react-google-button": {
+ "version": "0.7.1",
+ "resolved": "https://registry.npmjs.org/react-google-button/-/react-google-button-0.7.1.tgz",
+ "integrity": "sha512-FN8/9Va6oAGKL561yddNzcjz0iGlt2GZFwiDPczEu0fDVnR21/nBrPs7Y5x97V1S4//nvtkvv6ohfwtxIHpbfg==",
+ "requires": {
+ "prop-types": "^15.7.2"
+ }
+ },
"react-image-crop": {
"version": "8.6.5",
"resolved": "https://registry.npmjs.org/react-image-crop/-/react-image-crop-8.6.5.tgz",
@@ -21345,9 +21308,9 @@
}
},
"react": {
- "version": "15.6.2",
- "resolved": "https://registry.npmjs.org/react/-/react-15.6.2.tgz",
- "integrity": "sha1-26BDSrQ5z+gvEI8PURZjkIF5qnI=",
+ "version": "15.7.0",
+ "resolved": "https://registry.npmjs.org/react/-/react-15.7.0.tgz",
+ "integrity": "sha512-5/MMRYmpmM0sMTHGLossnJCrmXQIiJilD6y3YN3TzAwGFj6zdnMtFv6xmi65PHKRV+pehIHpT7oy67Sr6s9AHA==",
"requires": {
"create-react-class": "^15.6.0",
"fbjs": "^0.8.9",
diff --git a/package.json b/package.json
index d4373b1..d18bf72 100644
--- a/package.json
+++ b/package.json
@@ -23,6 +23,7 @@
"react-dom": "^16.13.1",
"react-draft-wysiwyg": "^1.14.5",
"react-dropzone-component": "^3.2.0",
+ "react-google-button": "^0.7.1",
"react-image-crop": "^8.6.5",
"react-jvectormap": "0.0.16",
"react-metismenu": "^1.4.0",
diff --git a/src/App.js b/src/App.js
index ed8ebc3..38e4353 100644
--- a/src/App.js
+++ b/src/App.js
@@ -7,6 +7,7 @@ import SignUp from './components/Authentication/signup';
import ForgotPassword from './components/Authentication/forgotpassword';
import NotFound from './components/Authentication/404';
import Maintenance from './components/Authentication/maintenance';
+import Register from './components/Authentication/register'
import { BrowserRouter as Router, Switch, Route } from 'react-router-dom';
class App extends Component {
@@ -26,6 +27,7 @@ class App extends Component {