generated from akshatvg/template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintcache
1 lines (1 loc) · 24.3 KB
/
.eslintcache
1
[{"/Users/akshatvg/Desktop/Projects/Hackathons/Others/Medicist/src/index.js":"1","/Users/akshatvg/Desktop/Projects/Hackathons/Others/Medicist/src/App.js":"2","/Users/akshatvg/Desktop/Projects/Hackathons/Others/Medicist/src/pages/Product.jsx":"3","/Users/akshatvg/Desktop/Projects/Hackathons/Others/Medicist/src/pages/Interact.jsx":"4","/Users/akshatvg/Desktop/Projects/Hackathons/Others/Medicist/src/pages/Home.jsx":"5","/Users/akshatvg/Desktop/Projects/Hackathons/Others/Medicist/src/pages/AllProducts.jsx":"6","/Users/akshatvg/Desktop/Projects/Hackathons/Others/Medicist/src/components/assistance.jsx":"7","/Users/akshatvg/Desktop/Projects/Hackathons/Others/Medicist/src/components/productCategories.jsx":"8"},{"size":218,"mtime":1616223248039,"results":"9","hashOfConfig":"10"},{"size":732,"mtime":1616223248038,"results":"11","hashOfConfig":"10"},{"size":0,"mtime":1616223248041,"results":"12","hashOfConfig":"10"},{"size":1428,"mtime":1616285626182,"results":"13","hashOfConfig":"10"},{"size":7751,"mtime":1616280792210,"results":"14","hashOfConfig":"10"},{"size":2301,"mtime":1616285673305,"results":"15","hashOfConfig":"10"},{"size":4603,"mtime":1616285519985,"results":"16","hashOfConfig":"10"},{"size":2369,"mtime":1616285696244,"results":"17","hashOfConfig":"10"},{"filePath":"18","messages":"19","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"20"},"14vofc7",{"filePath":"21","messages":"22","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"20"},{"filePath":"23","messages":"24","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"20"},{"filePath":"25","messages":"26","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"27"},{"filePath":"28","messages":"29","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"30"},{"filePath":"31","messages":"32","errorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":"33"},{"filePath":"34","messages":"35","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"36"},{"filePath":"37","messages":"38","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"39"},"/Users/akshatvg/Desktop/Projects/Hackathons/Others/Medicist/src/index.js",[],["40","41"],"/Users/akshatvg/Desktop/Projects/Hackathons/Others/Medicist/src/App.js",[],"/Users/akshatvg/Desktop/Projects/Hackathons/Others/Medicist/src/pages/Product.jsx",[],"/Users/akshatvg/Desktop/Projects/Hackathons/Others/Medicist/src/pages/Interact.jsx",["42"],"import React, { Component } from \"react\";\nimport classes from \"../nav.module.css\";\nimport navim1 from '../assets/navim1.svg'\nimport navim2 from '../assets/navim2.svg'\n\nimport Assistance from '../components/assistance'\nimport { NavLink } from \"react-router-dom\";\n\n\nfunction allProducts() {\n return (\n <div className={\n classes.mainContainer\n }>\n <div className={\n classes.nav\n }>\n <NavLink to=\"/allProducts\"><img src={navim1}\n alt=\"prod\"\n className={\n classes.navprod\n }/></NavLink>\n <NavLink to=\"/interact\">\n <img src={navim2}\n alt=\"assis\"\n className={\n classes.navassis\n }/></NavLink>\n </div>\n <div className={\n classes.content\n }>\n <h1 className={\n classes.heading\n }\n style={\n {\n marginLeft: \"40px\",\n marginTop: \"30px\"\n }\n }>\n Assistance\n </h1>\n <Assistance/>\n </div>\n </div>\n );\n}\nexport default allProducts;\n","/Users/akshatvg/Desktop/Projects/Hackathons/Others/Medicist/src/pages/Home.jsx",["43","44","45","46"],"import { Button, Grid, makeStyles } from \"@material-ui/core\";\nimport React, { Component, useState } from \"react\";\n// import { ReactComponent as wave } from '../assets/wave.svg';\nimport '../Home.css'\nimport logo from '../assets/logo.png'\nimport classes from \"../home.module.css\";\nimport formStyle from \"../userForm.module.css\";\nimport img1 from '../assets/Img1.svg'\nimport img2 from '../assets/Img2.svg'\nimport { Link } from \"react-router-dom\";\n// import {NavLink} from 'react-router-dom'\n\nfunction Home() {\n\n const [option, setOption] = useState( true )\n const [currentDisplay, setCurrentDisplay] = useState( true )\n\n\n function SignLinkHandler() {\n if ( option ) {\n setOption( false );\n }\n };\n\n function LoginLinkHandler() {\n if ( !option ) {\n setOption( true );\n }\n };\n\n function changeImg() {\n setCurrentDisplay( !currentDisplay )\n }\n\n\n return (\n <div className={\n classes.LoginPage\n }>\n <div className={\n classes.LoginPane\n }>\n <div className={\n classes.LogoBanner\n }>\n <div className={\n classes.LogoContainer\n }>\n <img src={logo}\n alt=\"Medicist\"\n className={\n classes.Logo\n }/>\n </div>\n </div>\n <div>\n <div className={\n classes.Itemlist\n }>\n <div className={\n option ? classes.active : classes.LoginLink\n }\n onClick={LoginLinkHandler}\n style={\n { cursor: \"pointer\" }\n }>\n Login\n </div>\n <div className={\n option ? classes.SignLink : classes.activeMargin\n }\n onClick={SignLinkHandler}\n style={\n { cursor: \"pointer\" }\n }>\n SignUp\n </div>\n <div className={\n classes.Underbar\n }></div>\n </div>\n </div>\n <div className={\n formStyle.UserForm\n }>\n {\n !option ? (\n <>\n <input type=\"text\" placeholder=\"Full Name\"\n className={\n formStyle.InputField\n }\n label=\"Full Name\"/>\n <input type=\"text\" placeholder=\"Email\"\n className={\n formStyle.InputField\n }\n label=\"Email Address\"/>\n <input type=\"text\" placeholder=\"Mobile number\"\n className={\n formStyle.InputField\n }\n label=\"Mobile Number\"/>\n <input type=\"password\" placeholder=\"Enter password\"\n className={\n formStyle.InputField\n }\n label=\"Password\"/>\n <input type=\"password\" placeholder=\"Re-enter your password\"\n className={\n formStyle.InputField\n }\n label=\"Re-enter your password\"/>\n </>\n ) : (\n\n <>\n <input type=\"text\" placeholder=\"Email\"\n className={\n formStyle.InputField\n }\n label=\"Username\"/>\n <input type=\"password\" placeholder=\"Enter password\"\n className={\n formStyle.InputField\n }\n style={\n { marginTop: \"25px\" }\n }\n label=\"Password\"/>\n </>\n )\n } </div>\n <p className={\n classes.message\n }\n id=\"msg\"></p>\n <div className={\n formStyle.UserButtons\n }>\n <Link to={\n { pathname: \"/allProducts\" }\n }>\n <button type=\"submit\"\n className={\n formStyle.SubButton\n }>\n Submit\n </button>\n </Link>\n </div>\n <div style={\n { marginTop: \"105px\" }\n }></div>\n </div>\n <div className={\n classes.screenshotPane\n }>\n <div>\n <h1 style={\n {\n textAlign: \"center\",\n marginTop: \"45px\",\n color: \"white\"\n }\n }>\n {\n currentDisplay ? \"Get Assistance\" : \"Rent supplies\"\n }</h1>\n </div>\n <div className={\n classes.prev\n }\n onClick={\n () => changeImg()\n }>\n ❮\n </div>\n <div className={\n classes.next\n }\n onClick={\n () => changeImg()\n }>\n ❯\n </div>\n <div className={\n classes.MainContainer\n }>\n <div className={\n classes.slideshowContainer\n }>\n <div className={\n classes.mySlides\n }>\n <img src={\n currentDisplay ? img1 : img2\n }\n style={\n { maxWidth: \"100%\" }\n }\n alt=\"Showcase\"/>\n </div>\n </div>\n <div className={\n classes.text\n }>\n {\n currentDisplay ? \"Need medical assistance right at your doorstep? Don’t worry, we got you covered!\" : \"Need supplies, but finding them too expensive? Don’t worry, we got a solution!\"\n } </div>\n </div>\n </div>\n </div>\n\n );\n}\nexport default Home;\n","/Users/akshatvg/Desktop/Projects/Hackathons/Others/Medicist/src/pages/AllProducts.jsx",["47","48","49","50","51","52"],"import React, { Component, useState } from \"react\";\nimport classes from \"../nav.module.css\";\nimport navim1 from '../assets/navim1.svg'\nimport navim2 from '../assets/navim2.svg'\nimport cartIcon from '../assets/bx_bx-cart.svg'\nimport ProductCategories from '../components/productCategories';\nimport { NavLink } from \"react-router-dom\";\n\n\nfunction AllProducts() {\n const [page, setPage] = useState( 4 )\n const [rent, setRent] = useState( true )\n const headings = [\n \"\",\n \" / Blood Pressure Monitor\",\n \" / Pulse Oximeter\",\n \" / Oxygen Cylinder\",\n \" / Drip Stand\",\n \" / Strecher\",\n \" / Walker\"\n ]\n return (\n <div className={\n classes.mainContainer\n }>\n <div className={\n classes.nav\n }>\n <NavLink to=\"/allProducts\"><img src={navim1}\n alt=\"prod\"\n className={\n classes.navprod\n }/></NavLink>\n <NavLink to=\"/interact\">\n <img src={navim2}\n alt=\"assis\"\n className={\n classes.navassis\n }/></NavLink>\n </div>\n <div className={\n classes.content\n }>\n <div className={\n classes.header\n }>\n <div className={\n page == 0 ? classes.heading : classes.headingInactive\n }>\n Rent Supplies\n </div>\n <div className={\n classes.subHeading\n }>\n {\n headings[ page ]\n }</div>\n <button className={\n classes.cartButton\n }>\n <img className={\n classes.cartIcon\n }\n src={cartIcon}/>\n Cart\n </button>\n </div>\n <ProductCategories/>\n </div>\n </div>\n );\n}\nexport default AllProducts;\n","/Users/akshatvg/Desktop/Projects/Hackathons/Others/Medicist/src/components/assistance.jsx",["53","54"],"import React, { Component } from \"react\";\nimport classes from \"./assistance.module.css\";\nimport akshatvg from '../assets/ProductImages/akshatvg.png';\nimport aditya from '../assets/ProductImages/aditya.png';\nimport muskanT from '../assets/ProductImages/muskanT.png';\nimport vidhi from '../assets/ProductImages/vidhi.png';\nimport ishaan from '../assets/ProductImages/ishaan.png';\nimport muskanR from '../assets/ProductImages/muskanR.png';\n\n\nfunction assistance() {\n const products = [\n {\n name: \"Aditya Rathore\",\n description: \"Certified professional in Dentistry\",\n phone: \"9876543210\",\n image: aditya\n },\n {\n name: \"Muskan Tewari\",\n description: \"Certified professional in Cardiology\",\n phone: \"9876543210\",\n image: muskanT\n },\n {\n name: \"Akshat Gupta\",\n description: \"Certified Psychologist\",\n phone: \"9876543210\",\n image: akshatvg\n },\n {\n name: \"Vidhi Agarwal\",\n description: \"Certified Psychologist\",\n phone: \"9876543210\",\n image: vidhi\n }, {\n name: \"Ishaan Jain\",\n description: \"Certified Psychologist\",\n phone: \"9876543210\",\n image: ishaan\n }, {\n name: \"Muskan Rastogi\",\n description: \"Certified professional in Optics\",\n phone: \"9876543210\",\n image: muskanR\n }\n ]\n return (\n\n <div className={\n classes.container\n }>\n {\n products.map( ( obj, index ) => {\n return (\n <div className={\n classes.product\n }\n key={\n \"product\" + index\n }>\n <div className={\n classes.productImageContainer\n }>\n <img src={\n obj.image\n }\n className={\n classes.productImage\n }\n key={\n \"productImage\" + index\n }/>\n </div>\n <div className={\n classes.overlayContainer\n }>\n <div className={\n classes.overlay\n }>\n <div className={\n classes.text\n }>\n <a href=\"https://staging.dyte.in/\"\n style={\n { color: \"white\" }\n }>Video Conference with Professional</a>\n </div>\n </div>\n </div>\n <div className={\n classes.detailContainer\n }>\n <span className={\n classes.productName\n }\n key={\n \"productName\" + index\n }\n style={\n { fontWeight: \"bolder\" }\n }>\n {\n obj.name\n } </span>\n <br/><br/><br/>\n <span className={\n classes.description\n }>\n {\n obj.description\n }</span>\n <br/><br/><br/>\n <span className={\n classes.phone\n }>\n Ph: \n <i>{\n obj.phone\n }</i>\n </span>\n </div>\n\n </div>\n )\n } )\n } </div>\n\n );\n}\nexport default assistance;\n","/Users/akshatvg/Desktop/Projects/Hackathons/Others/Medicist/src/components/productCategories.jsx",["55","56"],"import React, { Component } from \"react\";\nimport classes from \"./productCategories.module.css\";\nimport bpmonitor from '../assets/ProductImages/prod1.svg'\nimport oximeter from '../assets/ProductImages/monitor1.svg'\nimport cylinder from '../assets/ProductImages/oxygen-tank 1.svg'\nimport drip from '../assets/ProductImages/drip 1.svg'\nimport strecher from '../assets/ProductImages/stretcher 1.svg'\nimport walker from '../assets/ProductImages/walker 1.svg'\n\nfunction productCategories() {\n const products = [\n {\n name: \"Blood Pressure Monitor\",\n image: bpmonitor\n },\n {\n name: \"Pulse Oximeter\",\n image: oximeter\n },\n {\n name: \"Oxygen Cylinder\",\n image: cylinder\n },\n {\n name: \"Drip Stand\",\n image: drip\n }, {\n name: \"Strecher\",\n image: strecher\n }, {\n name: \"Walker\",\n image: walker\n }\n ]\n return (\n <div className={\n classes.container\n }>\n {\n products.map( ( obj, index ) => {\n return (\n <div className={\n classes.product\n }\n key={\n \"product\" + index\n }>\n <div className={\n classes.productImageContainer\n }>\n <img src={\n obj.image\n }\n className={\n classes.productImage\n }\n key={\n \"productImage\" + index\n }/>\n </div>\n <span className={\n classes.productName\n }\n key={\n \"productName\" + index\n }>\n {\n obj.name\n } </span>\n </div>\n )\n } )\n } </div>\n );\n}\nexport default productCategories;\n",{"ruleId":"57","replacedBy":"58"},{"ruleId":"59","replacedBy":"60"},{"ruleId":"61","severity":1,"message":"62","line":1,"column":17,"nodeType":"63","messageId":"64","endLine":1,"endColumn":26},{"ruleId":"61","severity":1,"message":"65","line":1,"column":10,"nodeType":"63","messageId":"64","endLine":1,"endColumn":16},{"ruleId":"61","severity":1,"message":"66","line":1,"column":18,"nodeType":"63","messageId":"64","endLine":1,"endColumn":22},{"ruleId":"61","severity":1,"message":"67","line":1,"column":24,"nodeType":"63","messageId":"64","endLine":1,"endColumn":34},{"ruleId":"61","severity":1,"message":"62","line":2,"column":17,"nodeType":"63","messageId":"64","endLine":2,"endColumn":26},{"ruleId":"61","severity":1,"message":"62","line":1,"column":17,"nodeType":"63","messageId":"64","endLine":1,"endColumn":26},{"ruleId":"61","severity":1,"message":"68","line":11,"column":18,"nodeType":"63","messageId":"64","endLine":11,"endColumn":25},{"ruleId":"61","severity":1,"message":"69","line":12,"column":12,"nodeType":"63","messageId":"64","endLine":12,"endColumn":16},{"ruleId":"61","severity":1,"message":"70","line":12,"column":18,"nodeType":"63","messageId":"64","endLine":12,"endColumn":25},{"ruleId":"71","severity":1,"message":"72","line":48,"column":30,"nodeType":"73","messageId":"74","endLine":48,"endColumn":32},{"ruleId":"75","severity":1,"message":"76","line":61,"column":25,"nodeType":"77","endLine":64,"endColumn":45},{"ruleId":"61","severity":1,"message":"62","line":1,"column":17,"nodeType":"63","messageId":"64","endLine":1,"endColumn":26},{"ruleId":"75","severity":1,"message":"76","line":65,"column":29,"nodeType":"77","endLine":73,"endColumn":36},{"ruleId":"61","severity":1,"message":"62","line":1,"column":17,"nodeType":"63","messageId":"64","endLine":1,"endColumn":26},{"ruleId":"75","severity":1,"message":"76","line":51,"column":29,"nodeType":"77","endLine":59,"endColumn":36},"no-native-reassign",["78"],"no-negated-in-lhs",["79"],"no-unused-vars","'Component' is defined but never used.","Identifier","unusedVar","'Button' is defined but never used.","'Grid' is defined but never used.","'makeStyles' is defined but never used.","'setPage' is assigned a value but never used.","'rent' is assigned a value but never used.","'setRent' is assigned a value but never used.","eqeqeq","Expected '===' and instead saw '=='.","BinaryExpression","unexpected","jsx-a11y/alt-text","img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.","JSXOpeningElement","no-global-assign","no-unsafe-negation"]