├── .gitignore ├── LICENSE ├── README.md ├── Selection_002.png ├── build ├── asset-manifest.json ├── index.html ├── precache-manifest.8570e1b2d52550ecdb00274666f205d1.js ├── service-worker.js └── static │ ├── css │ ├── main.79c2daf0.chunk.css │ └── main.79c2daf0.chunk.css.map │ └── js │ ├── 2.42dd37ef.chunk.js │ ├── 2.42dd37ef.chunk.js.LICENSE.txt │ ├── 2.42dd37ef.chunk.js.map │ ├── main.56d57068.chunk.js │ ├── main.56d57068.chunk.js.map │ ├── runtime-main.79923484.js │ └── runtime-main.79923484.js.map ├── package.json ├── public └── index.html ├── src ├── App.js ├── components │ └── Loader.js ├── index.css ├── index.js ├── person.js └── picture.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 | 6 | # production 7 | /dist 8 | 9 | # misc 10 | .DS_Store 11 | npm-debug.log* 12 | yarn-error.log 13 | 14 | /coverage 15 | .idea 16 | yarn.lock 17 | package-lock.json 18 | *bak 19 | 20 | # visual studio code 21 | .history 22 | *.log 23 | functions/* 24 | lambda/mock/index.js 25 | .temp/** 26 | 27 | ~/.vscode-root/ 28 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Championrunner 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 | # react-random-user-generator 2 | 3 | A Random User Generator using React 4 | 5 | ![Selection_002.png](./Selection_002.png) 6 | 7 | 8 | # Fork the project and give it a star if you like it 9 | 10 | **Running Locally in your System:** 11 | 12 | ## 1 Run git clone repository name 13 | ## 2 Run cd Random-User-Generator 14 | ## 3 Run npm install 15 | ## 4 Run npm start 16 | 17 | # You are good to go Happy Hacking 18 | 19 | ![React](https://images.g2crowd.com/uploads/product/image/social_landscape/social_landscape_1e0d62f445e6448af1e125f5702c8227/reactjs-development-services.png) 20 | 21 | [![Netlify Status](https://api.netlify.com/api/v1/badges/ce65e4de-c175-4230-876a-bb8144d2947a/deploy-status)](https://app.netlify.com/sites/zen-khorana-1c4d80/deploys) 22 | 23 | # Features Coming up is adding the contact card in with the portfolio for each user . 24 | -------------------------------------------------------------------------------- /Selection_002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ishaan28malik/react-random-user-generator/9269e750020793272f8b691d3b98331e9cdc12bf/Selection_002.png -------------------------------------------------------------------------------- /build/asset-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "files": { 3 | "main.css": "/react-random-user-generator/static/css/main.79c2daf0.chunk.css", 4 | "main.js": "/react-random-user-generator/static/js/main.56d57068.chunk.js", 5 | "main.js.map": "/react-random-user-generator/static/js/main.56d57068.chunk.js.map", 6 | "runtime-main.js": "/react-random-user-generator/static/js/runtime-main.79923484.js", 7 | "runtime-main.js.map": "/react-random-user-generator/static/js/runtime-main.79923484.js.map", 8 | "static/js/2.42dd37ef.chunk.js": "/react-random-user-generator/static/js/2.42dd37ef.chunk.js", 9 | "static/js/2.42dd37ef.chunk.js.map": "/react-random-user-generator/static/js/2.42dd37ef.chunk.js.map", 10 | "index.html": "/react-random-user-generator/index.html", 11 | "precache-manifest.8570e1b2d52550ecdb00274666f205d1.js": "/react-random-user-generator/precache-manifest.8570e1b2d52550ecdb00274666f205d1.js", 12 | "service-worker.js": "/react-random-user-generator/service-worker.js", 13 | "static/css/main.79c2daf0.chunk.css.map": "/react-random-user-generator/static/css/main.79c2daf0.chunk.css.map", 14 | "static/js/2.42dd37ef.chunk.js.LICENSE.txt": "/react-random-user-generator/static/js/2.42dd37ef.chunk.js.LICENSE.txt" 15 | }, 16 | "entrypoints": [ 17 | "static/js/runtime-main.79923484.js", 18 | "static/js/2.42dd37ef.chunk.js", 19 | "static/css/main.79c2daf0.chunk.css", 20 | "static/js/main.56d57068.chunk.js" 21 | ] 22 | } -------------------------------------------------------------------------------- /build/index.html: -------------------------------------------------------------------------------- 1 | React App
-------------------------------------------------------------------------------- /build/precache-manifest.8570e1b2d52550ecdb00274666f205d1.js: -------------------------------------------------------------------------------- 1 | self.__precacheManifest = (self.__precacheManifest || []).concat([ 2 | { 3 | "revision": "02beb2535c3685c90075a9104d407cc2", 4 | "url": "/react-random-user-generator/index.html" 5 | }, 6 | { 7 | "revision": "013458e4a409ccebc38f", 8 | "url": "/react-random-user-generator/static/css/main.79c2daf0.chunk.css" 9 | }, 10 | { 11 | "revision": "46c8d3349275911df887", 12 | "url": "/react-random-user-generator/static/js/2.42dd37ef.chunk.js" 13 | }, 14 | { 15 | "revision": "e88a3e95b5364d46e95b35ae8c0dc27d", 16 | "url": "/react-random-user-generator/static/js/2.42dd37ef.chunk.js.LICENSE.txt" 17 | }, 18 | { 19 | "revision": "013458e4a409ccebc38f", 20 | "url": "/react-random-user-generator/static/js/main.56d57068.chunk.js" 21 | }, 22 | { 23 | "revision": "3544753ccc05f693a056", 24 | "url": "/react-random-user-generator/static/js/runtime-main.79923484.js" 25 | } 26 | ]); -------------------------------------------------------------------------------- /build/service-worker.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Welcome to your Workbox-powered service worker! 3 | * 4 | * You'll need to register this file in your web app and you should 5 | * disable HTTP caching for this file too. 6 | * See https://goo.gl/nhQhGp 7 | * 8 | * The rest of the code is auto-generated. Please don't update this file 9 | * directly; instead, make changes to your Workbox build configuration 10 | * and re-run your build process. 11 | * See https://goo.gl/2aRDsh 12 | */ 13 | 14 | importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); 15 | 16 | importScripts( 17 | "/react-random-user-generator/precache-manifest.8570e1b2d52550ecdb00274666f205d1.js" 18 | ); 19 | 20 | self.addEventListener('message', (event) => { 21 | if (event.data && event.data.type === 'SKIP_WAITING') { 22 | self.skipWaiting(); 23 | } 24 | }); 25 | 26 | workbox.core.clientsClaim(); 27 | 28 | /** 29 | * The workboxSW.precacheAndRoute() method efficiently caches and responds to 30 | * requests for URLs in the manifest. 31 | * See https://goo.gl/S9QRab 32 | */ 33 | self.__precacheManifest = [].concat(self.__precacheManifest || []); 34 | workbox.precaching.precacheAndRoute(self.__precacheManifest, {}); 35 | 36 | workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/react-random-user-generator/index.html"), { 37 | 38 | blacklist: [/^\/_/,/\/[^\/?]+\.[^\/]+$/], 39 | }); 40 | -------------------------------------------------------------------------------- /build/static/css/main.79c2daf0.chunk.css: -------------------------------------------------------------------------------- 1 | body{display:flex;justify-content:center;margin:100px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#8080ff}svg{position:absolute;top:40%;left:45%;height:10em;transform:rotate(-60deg);color:#000;-webkit-animation:rotate 3s linear 0s infinite;animation:rotate 3s linear 0s infinite}#shadow{animation:rotate 3s linear 0s infinite reverse;color:#a9a9a9;z-index:-1;opacity:1%}@-webkit-keyframes rotate{0%{transform:rotate(-60deg)}to{transform:rotate(300deg)}}@keyframes rotate{0%{transform:rotate(-60deg)}to{transform:rotate(300deg)}}code{font-family:source-code-pro,Menlo,Monaco,Consolas,"Courier New",monospace}.profile-pic,.random-btn{box-shadow:0 8px 15px 0 rgba(0,0,0,.2),0 8px 30px 0 rgba(0,0,0,.19)}.random-btn{margin-left:15%;margin-right:15%;margin-top:10%;height:50px;width:70%;align-self:center;border-radius:10px;border-width:0;background-color:#ff337d;font-size:1rem;color:#fff} 2 | /*# sourceMappingURL=main.79c2daf0.chunk.css.map */ -------------------------------------------------------------------------------- /build/static/css/main.79c2daf0.chunk.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["index.css"],"names":[],"mappings":"AAAA,KACE,YAAa,CACb,sBAAuB,CACvB,YAAa,CAEb,mJAEY,CACZ,kCAAmC,CACnC,iCAAkC,CAClC,wBACF,CACA,IACE,iBAAkB,CAClB,OAAQ,CACR,QAAS,CACT,WAAY,CACZ,wBAAyB,CACzB,UAAY,CACZ,8CAAuC,CAAvC,sCACF,CAEA,QACE,8CAA+C,CAC/C,aAAe,CAEf,UAAW,CACX,UACF,CAEA,0BACE,GACE,wBACF,CACA,GACE,wBACF,CACF,CAPA,kBACE,GACE,wBACF,CACA,GACE,wBACF,CACF,CAEA,KACE,yEAEF,CAMA,yBAHE,mEAgBF,CAbA,YACE,eAAgB,CAChB,gBAAiB,CACjB,cAAe,CACf,WAAY,CACZ,SAAU,CACV,iBAAkB,CAClB,kBAAmB,CAEnB,cAAe,CACf,wBAAyB,CACzB,cAAe,CACf,UACF","file":"main.79c2daf0.chunk.css","sourcesContent":["body {\n display: flex;\n justify-content: center;\n margin: 100px;\n /* margin: 0; */\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\",\n \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\",\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n background-color: #8080ff;\n}\nsvg {\n position: absolute;\n top: 40%;\n left: 45%;\n height: 10em;\n transform: rotate(-60deg);\n color: black;\n animation: 3s linear 0s infinite rotate;\n}\n\n#shadow {\n animation: 3s linear 0s infinite reverse rotate;\n color: darkgrey;\n opacity: 90%;\n z-index: -1;\n opacity: 70%;\n}\n\n@keyframes rotate {\n from {\n transform: rotate(-60deg);\n }\n to {\n transform: rotate(300deg);\n }\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, \"Courier New\",\n monospace;\n}\n\n.profile-pic {\n box-shadow: 0 8px 15px 0 rgba(0, 0, 0, 0.2), 0 8px 30px 0 rgba(0, 0, 0, 0.19);\n}\n\n.random-btn {\n margin-left: 15%;\n margin-right: 15%;\n margin-top: 10%;\n height: 50px;\n width: 70%;\n align-self: center;\n border-radius: 10px;\n box-shadow: 0 8px 15px 0 rgba(0, 0, 0, 0.2), 0 8px 30px 0 rgba(0, 0, 0, 0.19);\n border-width: 0;\n background-color: #ff337d;\n font-size: 1rem;\n color: #fff;\n}\n"]} -------------------------------------------------------------------------------- /build/static/js/2.42dd37ef.chunk.js: -------------------------------------------------------------------------------- 1 | /*! For license information please see 2.42dd37ef.chunk.js.LICENSE.txt */ 2 | (this.webpackJsonpapi=this.webpackJsonpapi||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(8)},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(l){return!1}}()?Object.assign:function(e,t){for(var n,a,u=o(e),c=1;cz.length&&z.push(e)}function M(e,t,n){return null==e?0:function e(t,n,r,l){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var u=!1;if(null===t)u=!0;else switch(a){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case o:u=!0}}if(u)return r(l,t,""===n?"."+I(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;c