-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintcache
1 lines (1 loc) · 14.3 KB
/
.eslintcache
1
[{"D:\\Projects\\Websites\\Hackathon\\licot\\src\\index.js":"1","D:\\Projects\\Websites\\Hackathon\\licot\\src\\App.js":"2","D:\\Projects\\Websites\\Hackathon\\licot\\src\\reportWebVitals.js":"3","D:\\Projects\\Websites\\Hackathon\\licot\\src\\AuthContext.js":"4","D:\\Projects\\Websites\\Hackathon\\licot\\src\\PrivateRoute.js":"5","D:\\Projects\\Websites\\Hackathon\\licot\\src\\firebase.js":"6","D:\\Projects\\Websites\\Hackathon\\licot\\src\\Components\\Dashboard\\Dashboard.jsx":"7","D:\\Projects\\Websites\\Hackathon\\licot\\src\\Components\\SignUp\\SignUp.jsx":"8","D:\\Projects\\Websites\\Hackathon\\licot\\src\\Components\\SignIn\\SignIn.jsx":"9","D:\\Projects\\Websites\\Hackathon\\licot\\src\\Components\\ForgotPassword\\ForgotPassword.jsx":"10","D:\\Projects\\Websites\\Hackathon\\licot\\src\\Components\\Header\\Header.jsx":"11","D:\\Projects\\Websites\\Hackathon\\licot\\src\\Components\\Footer\\Footer.jsx":"12","D:\\Projects\\Websites\\Hackathon\\licot\\src\\Components\\Home\\home.js":"13","D:\\Projects\\Websites\\Hackathon\\licot\\src\\Components\\Retreat\\Retreat.jsx":"14","D:\\Projects\\Websites\\Hackathon\\licot\\src\\Components\\Slider\\SliderComponent.jsx":"15"},{"size":569,"mtime":1618049127156,"results":"16","hashOfConfig":"17"},{"size":956,"mtime":1618139440127,"results":"18","hashOfConfig":"17"},{"size":375,"mtime":1618049127159,"results":"19","hashOfConfig":"17"},{"size":1291,"mtime":1618135929188,"results":"20","hashOfConfig":"17"},{"size":394,"mtime":1618049127152,"results":"21","hashOfConfig":"17"},{"size":1045,"mtime":1618135623842,"results":"22","hashOfConfig":"17"},{"size":2454,"mtime":1618142109301,"results":"23","hashOfConfig":"17"},{"size":1927,"mtime":1618141241334,"results":"24","hashOfConfig":"17"},{"size":1240,"mtime":1618141177173,"results":"25","hashOfConfig":"17"},{"size":1062,"mtime":1618049127141,"results":"26","hashOfConfig":"17"},{"size":1721,"mtime":1618140032492,"results":"27","hashOfConfig":"17"},{"size":2285,"mtime":1618140821774,"results":"28","hashOfConfig":"17"},{"size":2354,"mtime":1618144854373,"results":"29","hashOfConfig":"17"},{"size":548,"mtime":1618144770697,"results":"30","hashOfConfig":"17"},{"size":1296,"mtime":1618139599414,"results":"31","hashOfConfig":"17"},{"filePath":"32","messages":"33","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},"ob7w0z",{"filePath":"35","messages":"36","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"37","usedDeprecatedRules":"34"},{"filePath":"38","messages":"39","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"40","messages":"41","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"42","messages":"43","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"44","messages":"45","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"46","messages":"47","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"48","usedDeprecatedRules":"34"},{"filePath":"49","messages":"50","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"51","messages":"52","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"53","messages":"54","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"55","usedDeprecatedRules":"34"},{"filePath":"56","messages":"57","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"58","messages":"59","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"60","messages":"61","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"62","messages":"63","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"64","usedDeprecatedRules":"34"},{"filePath":"65","messages":"66","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"67","usedDeprecatedRules":"34"},"D:\\Projects\\Websites\\Hackathon\\licot\\src\\index.js",[],["68","69"],"D:\\Projects\\Websites\\Hackathon\\licot\\src\\App.js",["70"],"import logo from \"./logo.svg\";\r\nimport SignUp from \"./Components/SignUp/SignUp\";\r\nimport SignIn from \"./Components/SignIn/SignIn\";\r\nimport { BrowserRouter as Router, Switch, Route } from \"react-router-dom\";\r\nimport Dashboard from \"./Components/Dashboard/Dashboard\";\r\nimport PrivateRoute from \"./PrivateRoute\";\r\nimport Footer from './Components/Footer/Footer';\r\nimport Header from './Components/Header/Header';\r\nimport ForgotPassword from \"./Components/ForgotPassword/ForgotPassword\";\r\n\r\nimport HomePage from './Components/Home/home';\r\nfunction App() {\r\n\treturn (\r\n\t\t<Router>\r\n\t\t\t<Header/>\r\n\t\t\t<Switch>\r\n\t\t\t\t<Route exact path=\"/\" component={HomePage} />\r\n\t\t\t\t<PrivateRoute exact path=\"/profile\" component={Dashboard} />\r\n\t\t\t\t<Route path=\"/signup\" component={SignUp} />\r\n\t\t\t\t<Route path=\"/signin\" component={SignIn} />\r\n\t\t\t\t<Route path=\"/forgot-password\" component={ForgotPassword} />\r\n\t\t\t</Switch>\r\n\t\t\t<Footer/>\r\n\t\t</Router>\r\n\t);\r\n}\r\n\r\nexport default App;\r\n","D:\\Projects\\Websites\\Hackathon\\licot\\src\\reportWebVitals.js",[],"D:\\Projects\\Websites\\Hackathon\\licot\\src\\AuthContext.js",[],"D:\\Projects\\Websites\\Hackathon\\licot\\src\\PrivateRoute.js",[],"D:\\Projects\\Websites\\Hackathon\\licot\\src\\firebase.js",[],"D:\\Projects\\Websites\\Hackathon\\licot\\src\\Components\\Dashboard\\Dashboard.jsx",["71"],"import React, { useEffect, useState } from \"react\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport { useAuth } from \"../../AuthContext\";\r\nimport classes from './Dashboard.module.scss';\r\nimport ProfileLogo from '../../assets/logo/user.png';\r\nimport {db} from '../../firebase'\r\n;function Dashboard() {\r\n\tconst { currentUser, signout } = useAuth();\r\n\tconst [fullname,setFullname] = useState('');\r\n\tconst [user,setUser] = useState(0);\r\n\tconst history = useHistory();\r\n\tfunction logout() {\r\n\t\ttry {\r\n\t\t\tsignout();\r\n\t\t\thistory.push(\"/\");\r\n\t\t} catch {\r\n\t\t\thistory.push(\"/\");\r\n\t\t}\r\n\t}\r\n\r\n\tuseEffect(() => {\r\nif(currentUser){\r\n\tdb.collection(\"profiles\").doc(currentUser.uid).onSnapshot(function (doc){\r\n\t\tsetFullname(doc?.data()?.fullname)\r\n\t\tdoc?.data()?.id == 1 ? setUser(1) : setUser(2);\r\n\t})\r\n}\r\n\t}, [currentUser])\r\n\treturn (\r\n\t\t<div className={classes.dashboard}>\r\n\r\n\t\t\t<div className={classes.dashboardTop}>\r\n\t\t\t\t<div className={classes.dashboardTopLeft}>\r\n\t\t\t\t\t<img src={ProfileLogo} alt=\"profile logo\"/>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div className={classes.dashboardTopRight}>\r\n\t\t\t\t\t<p>Name : {fullname}</p>\r\n\t\t\t\t<p>Email: {currentUser.email}</p>\r\n\t\t\t<button onClick={logout}>LogOut</button>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\t\t\t{\r\n\t\t\t\t\r\n\t\t\t\tuser === 1 ? \t\t\t<div className={classes.dashboardBottom}>\r\n\t\t\t\t<div className={classes.dashboardBottomLeft}>\r\n\t\t\t\t\t<h3>Profile Setting</h3>\r\n\t\t\t\t\t\t<div>\r\n\t\t\t\t\t\t\t<p>Working Hours : 9 AM - 2 PM and 6 PM - 10 PM</p>\r\n\t\t\t\t\t\t\t<p>Qualification : MBBS</p>\r\n\t\t\t\t\t\t\t<p>Contact No. : 1234567890</p>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div className={classes.dashboardBottomRight}>\r\n\t\t\t\t\t<h4>Appointment list</h4>\r\n\t\t\t\t\t\t<ul>\r\n\t\t\t\t\t\t\t<li>9AM - 10AM <ul><li>Abhishek</li><li>Kuldeep</li><li>Virat</li></ul></li>\r\n\t\t\t\t\t\t\t<li>10AM - 11AM <ul><li>Abhishek</li><li>Kuldeep</li><li>Virat</li></ul></li>\r\n\t\t\t\t\t\t\t<li>11AM - 12PM <ul><li>Abhishek</li><li>Kuldeep</li><li>Virat</li></ul></li>\r\n\t\t\t\t\t\t\t<li>12PM - 1PM <ul><li>Abhishek</li><li>Kuldeep</li><li>Virat</li></ul></li>\r\n\t\t\t\t\t\t\t<li>1PM - 2PM <ul><li>Abhishek</li><li>Kuldeep</li><li>Virat</li></ul></li>\r\n\t\t\t\t\t\t</ul>\r\n\t\t\t\t</div>\r\n\t\t\t</div> : <div className={classes.dashboardBottom}>\r\n\r\n\t\t\t<div className={classes.dashboardBottomLeft}>\r\n\t\t\t<h4>Upcoming Appointment</h4>\r\n\t\t<p>10AM - 11AM : Dr. Agrawal</p>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div className={classes.dashboardBottomRight}>\r\n\t\t\t\t\t<h4>Health card\r\n\t\t\t\t</h4>\r\n\r\n\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t\t\r\n\t\t\t}\r\n\r\n\t\t</div>\r\n\t);\r\n}\r\n\r\nexport default Dashboard;\r\n","D:\\Projects\\Websites\\Hackathon\\licot\\src\\Components\\SignUp\\SignUp.jsx",[],"D:\\Projects\\Websites\\Hackathon\\licot\\src\\Components\\SignIn\\SignIn.jsx",[],"D:\\Projects\\Websites\\Hackathon\\licot\\src\\Components\\ForgotPassword\\ForgotPassword.jsx",["72"],"import React, { useState, useRef } from \"react\";\r\nimport { useAuth } from \"../../AuthContext\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport { Link } from \"react-router-dom\";\r\nexport default function ForgotPassword() {\r\n\tconst [error, setError] = useState(\"\");\r\n\tconst [loading, setLoading] = useState(false);\r\n\tconst { resetpassword } = useAuth();\r\n\tconst emailRef = useRef();\r\n\tconst history = useHistory();\r\n\tfunction handleSubmit(e) {\r\n\t\te.preventDefault();\r\n\t\ttry {\r\n\t\t\tsetLoading(true);\r\n\t\t\tresetpassword(emailRef.current.value);\r\n\t\t\tsetError(\"Check Your Mail For Further Details\");\r\n\t\t\tsetLoading(false);\r\n\t\t} catch {\r\n\t\t\tsetLoading(false);\r\n\t\t\tsetError(\"Failed To Reset Password\");\r\n\t\t}\r\n\t}\r\n\treturn (\r\n\t\t<div>\r\n\t\t\t<div>Already Have An Account? Login.</div>\r\n\t\t\t{error}\r\n\t\t\t<form>\r\n\t\t\t\t<input type=\"email\" placeholder=\"email\" required ref={emailRef} />\r\n\t\t\t\t<button disabled={loading} onClick={handleSubmit}>\r\n\t\t\t\t\tConfirm Reset Password\r\n\t\t\t\t</button>\r\n\t\t\t\t<p>\r\n\t\t\t\t\t<Link to=\"/signin\"> Sign In</Link>\r\n\t\t\t\t</p>\r\n\t\t\t</form>\r\n\t\t</div>\r\n\t);\r\n}\r\n","D:\\Projects\\Websites\\Hackathon\\licot\\src\\Components\\Header\\Header.jsx",[],"D:\\Projects\\Websites\\Hackathon\\licot\\src\\Components\\Footer\\Footer.jsx",[],"D:\\Projects\\Websites\\Hackathon\\licot\\src\\Components\\Home\\home.js",["73","74"],"D:\\Projects\\Websites\\Hackathon\\licot\\src\\Components\\Retreat\\Retreat.jsx",["75"],"import React from \"react\";\r\nimport classes from \"./Retreat.module.scss\";\r\nexport default function Retreat({ topic, image, title }) {\r\n\treturn (\r\n\t\t<div className={classes.retreat}>\r\n\t\t\t<div className={classes.rtHeader}>\r\n\t\t\t\t<img src={image} className={classes.rtImage} />\r\n\t\t\t\t<div className={classes.rtDetails}>\r\n\t\r\n\t\t\t\r\n\t\t\t\t\t<div className={classes.rtBook}>\r\n\t\t\t\t\t\t<button className={classes.rtBookBtn}>{topic}</button>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t<div className={classes.rtFooter}>{title || \"Yoga Retreat\"}</div>\r\n\t\t</div>\r\n\t);\r\n}\r\n","D:\\Projects\\Websites\\Hackathon\\licot\\src\\Components\\Slider\\SliderComponent.jsx",["76","77","78"],"import React from \"react\";\r\nimport \"react-responsive-carousel/lib/styles/carousel.min.css\"; // requires a loader\r\nimport { Carousel } from \"react-responsive-carousel\";\r\nimport classes from \"./SliderComponent.module.scss\";\r\n// import img1 from \"../assets/main1.jpeg\";\r\n// import img2 from \"../assets/main2.jpeg\";\r\n// import img3 from \"../assets/main3.jpeg\";\r\n\r\nexport default function SliderComponent() {\r\n\treturn (\r\n\t\t// Acts as a slider Component for home\r\n\t\t<Carousel\r\n\t\t\tdynamicHeight={true}\r\n\t\t\tinfiniteLoop={true}\r\n\t\t\tshowStatus={false}\r\n\t\t\tshowThumbs={false}\r\n\t\t\tclassName={classes.carousel}\r\n\t\t>\r\n\t\t\t<div>\r\n\t\t\t\t<img className={classes.image} src=\"https://images.pexels.com/photos/4031818/pexels-photo-4031818.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\" />\r\n\t\t\t\t<p className=\"legend\">Free Your Body</p>\r\n\t\t\t</div>\r\n\t\t\t<div>\r\n\t\t\t\t<img className={classes.image} src=\"https://images.pexels.com/photos/4031818/pexels-photo-4031818.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\" />\r\n\t\t\t\t<p className=\"legend\">Experience Nature</p>\r\n\t\t\t</div>\r\n\t\t\t<div>\r\n\t\t\t\t<img className={classes.image} src=\"https://images.pexels.com/photos/4031818/pexels-photo-4031818.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\" />\r\n\t\t\t\t<p className=\"legend\">Live Freely</p>\r\n\t\t\t</div>\r\n\t\t</Carousel>\r\n\t);\r\n}\r\n",{"ruleId":"79","replacedBy":"80"},{"ruleId":"81","replacedBy":"82"},{"ruleId":"83","severity":1,"message":"84","line":1,"column":8,"nodeType":"85","messageId":"86","endLine":1,"endColumn":12},{"ruleId":"87","severity":1,"message":"88","line":25,"column":19,"nodeType":"89","messageId":"90","endLine":25,"endColumn":21},{"ruleId":"83","severity":1,"message":"91","line":10,"column":8,"nodeType":"85","messageId":"86","endLine":10,"endColumn":15},{"ruleId":"83","severity":1,"message":"92","line":1,"column":28,"nodeType":"85","messageId":"86","endLine":1,"endColumn":36},{"ruleId":"93","severity":1,"message":"94","line":74,"column":3,"nodeType":"95","endLine":74,"endColumn":183},{"ruleId":"96","severity":1,"message":"97","line":7,"column":5,"nodeType":"95","endLine":7,"endColumn":52},{"ruleId":"96","severity":1,"message":"97","line":20,"column":5,"nodeType":"95","endLine":20,"endColumn":155},{"ruleId":"96","severity":1,"message":"97","line":24,"column":5,"nodeType":"95","endLine":24,"endColumn":155},{"ruleId":"96","severity":1,"message":"97","line":28,"column":5,"nodeType":"95","endLine":28,"endColumn":155},"no-native-reassign",["98"],"no-negated-in-lhs",["99"],"no-unused-vars","'logo' is defined but never used.","Identifier","unusedVar","eqeqeq","Expected '===' and instead saw '=='.","BinaryExpression","unexpected","'history' is assigned a value but never used.","'useState' is defined but never used.","jsx-a11y/iframe-has-title","<iframe> elements must have a unique title property.","JSXOpeningElement","jsx-a11y/alt-text","img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.","no-global-assign","no-unsafe-negation"]