diff --git a/client/.eslintcache b/client/.eslintcache index ff61f92..498c58b 100644 --- a/client/.eslintcache +++ b/client/.eslintcache @@ -1 +1 @@ -[{"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/index.jsx":"1","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/reportWebVitals.js":"2","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/context/AppContext.jsx":"3","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/App.jsx":"4","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/ScrollToTop.js":"5","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Containers/footer.js":"6","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/ContextDemo.jsx":"7","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Footer/Footer.jsx":"8","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Navbar/Navbar.jsx":"9","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/Rent/Rent.jsx":"10","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/Manage/Manage.jsx":"11","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/Home/Home.jsx":"12","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/Contact/Contact.jsx":"13","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/Buy/Buy.jsx":"14","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/SignIn/SignIn.jsx":"15","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/About/About.jsx":"16","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/Community/Community.jsx":"17","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Footer/index.js":"18","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/icons/index.js":"19","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Home-Header/Header.jsx":"20","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Management-Home/Management.jsx":"21","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Home-Body/Body.jsx":"22","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Home-Community/Community.jsx":"23","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/GoogleMap/GoogleMap.jsx":"24","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/School/School.jsx":"25","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Footer/styles/footer.js":"26","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/icons/styles/icons.js":"27","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/School/SchoolCard.jsx":"28","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Cicero/Cicero.jsx":"29","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/RepsCard/RepsCard.jsx":"30","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/ManageResults/ManageResults.jsx":"31"},{"size":612,"mtime":1609882049280,"results":"32","hashOfConfig":"33"},{"size":364,"mtime":1607984977234,"results":"34","hashOfConfig":"33"},{"size":373,"mtime":1610079332350,"results":"35","hashOfConfig":"33"},{"size":1809,"mtime":1610233359538,"results":"36","hashOfConfig":"33"},{"size":387,"mtime":1610079332349,"results":"37","hashOfConfig":"33"},{"size":1872,"mtime":1610079332342,"results":"38","hashOfConfig":"33"},{"size":274,"mtime":1607984977233,"results":"39","hashOfConfig":"33"},{"size":638,"mtime":1610079332343,"results":"40","hashOfConfig":"33"},{"size":1343,"mtime":1610233284222,"results":"41","hashOfConfig":"33"},{"size":170,"mtime":1610079332340,"results":"42","hashOfConfig":"33"},{"size":264,"mtime":1610079332339,"results":"43","hashOfConfig":"33"},{"size":484,"mtime":1610079332339,"results":"44","hashOfConfig":"33"},{"size":206,"mtime":1610079332338,"results":"45","hashOfConfig":"33"},{"size":165,"mtime":1610079332336,"results":"46","hashOfConfig":"33"},{"size":1984,"mtime":1610079332340,"results":"47","hashOfConfig":"33"},{"size":196,"mtime":1610079332335,"results":"48","hashOfConfig":"33"},{"size":778,"mtime":1610204591872,"results":"49","hashOfConfig":"33"},{"size":835,"mtime":1610079332344,"results":"50","hashOfConfig":"33"},{"size":158,"mtime":1610079332349,"results":"51","hashOfConfig":"33"},{"size":4537,"mtime":1610215493663,"results":"52","hashOfConfig":"33"},{"size":3288,"mtime":1610239229510,"results":"53","hashOfConfig":"33"},{"size":1967,"mtime":1610079332346,"results":"54","hashOfConfig":"33"},{"size":2517,"mtime":1610079332346,"results":"55","hashOfConfig":"33"},{"size":2827,"mtime":1610214603757,"results":"56","hashOfConfig":"33"},{"size":1078,"mtime":1610233449370,"results":"57","hashOfConfig":"33"},{"size":1214,"mtime":1610079332344,"results":"58","hashOfConfig":"33"},{"size":139,"mtime":1610079332350,"results":"59","hashOfConfig":"33"},{"size":604,"mtime":1610157342607,"results":"60","hashOfConfig":"33"},{"size":5398,"mtime":1610312706786,"results":"61","hashOfConfig":"33"},{"size":2012,"mtime":1610204693144,"results":"62","hashOfConfig":"33"},{"size":22737,"mtime":1610313297006,"results":"63","hashOfConfig":"33"},{"filePath":"64","messages":"65","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1cv0jbe",{"filePath":"66","messages":"67","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"68","messages":"69","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"70","messages":"71","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"72","messages":"73","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"74","messages":"75","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"76","messages":"77","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"78","messages":"79","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"80","messages":"81","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"83","messages":"84","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"85","messages":"86","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"87","messages":"88","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"89","messages":"90","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"91","messages":"92","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"93","messages":"94","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"95","messages":"96","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"97","messages":"98","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"99","messages":"100","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"101","messages":"102","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"103","messages":"104","errorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"105","messages":"106","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"107","usedDeprecatedRules":"82"},{"filePath":"108","messages":"109","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"110","messages":"111","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"112","messages":"113","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"114","messages":"115","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":1,"source":null},{"filePath":"116","messages":"117","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"118","messages":"119","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"120","messages":"121","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"122","messages":"123","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"124","messages":"125","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"126","messages":"127","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/index.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/reportWebVitals.js",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/context/AppContext.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/App.jsx",["128","129","130","131"],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/ScrollToTop.js",["132"],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Containers/footer.js",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/ContextDemo.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Footer/Footer.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Navbar/Navbar.jsx",[],["133","134"],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/Rent/Rent.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/Manage/Manage.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/Home/Home.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/Contact/Contact.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/Buy/Buy.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/SignIn/SignIn.jsx",["135"],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/About/About.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/Community/Community.jsx",["136"],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Footer/index.js",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/icons/index.js",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Home-Header/Header.jsx",["137","138","139","140","141","142"],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Management-Home/Management.jsx",["143","144"],"import React from 'react';\nimport Remodeling from '../../Assests/remodeling.png';\nimport Plumbing from '../../Assests/plumbing.png';\nimport Roofing from '../../Assests/roofing.png';\nimport Landscaping from '../../Assests/landscaping.png';\nimport Electrical from '../../Assests/electrical.png';\nimport HeatingAC from '../../Assests/heating-ac.png';\nimport Painting from '../../Assests//painting.png';\nimport Housecleaning from '../../Assests/housecleaning.png';\nimport Marker from '../../Assests/marker.png';\nimport { Link } from 'react-router-dom';\n\nfunction ManagementHome() {\n const proClick = (event) => {\n { }\n }\n\n return (\n <>\n
\n
\n

\n Find top-rated, certified pros for your project\n

\n

\n A simplified way to connect with the right experts to assist you in\n making your home a better place.\n

\n
\n
\n
\n \n
\n
\n \"Location\n
\n \n \n \n\n \n \n\n\n\n\n
\n
\n
\n

Popular Services

\n
\n
\n \"Remodeling\"\n

Remodeling

\n
\n
\n
\n \"Plumbing\"\n

Plumbing

\n
\n
\n
\n \"Roofing\"\n

Roofing

\n
\n
\n
\n \"Landscaping\"\n

Landscaping

\n
\n
\n
\n \"Electrical\"\n

Electrical

\n
\n
\n
\n \"Heating\n

Heating & AC

\n
\n
\n
\n \"Painting\"\n

Painting

\n
\n
\n
\n \n

Housecleaning

\n
\n
\n \n );\n}\n\nexport default ManagementHome;\n","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Home-Body/Body.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Home-Community/Community.jsx",["145","146"],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/GoogleMap/GoogleMap.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/School/School.jsx",["147","148","149"],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Footer/styles/footer.js",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/icons/styles/icons.js",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/School/SchoolCard.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Cicero/Cicero.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/RepsCard/RepsCard.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/ManageResults/ManageResults.jsx",[],{"ruleId":"150","severity":1,"message":"151","line":2,"column":10,"nodeType":"152","messageId":"153","endLine":2,"endColumn":18},{"ruleId":"150","severity":1,"message":"154","line":2,"column":20,"nodeType":"152","messageId":"153","endLine":2,"endColumn":29},{"ruleId":"150","severity":1,"message":"155","line":3,"column":8,"nodeType":"152","messageId":"153","endLine":3,"endColumn":19},{"ruleId":"150","severity":1,"message":"156","line":17,"column":10,"nodeType":"152","messageId":"153","endLine":17,"endColumn":25},{"ruleId":"157","severity":1,"message":"158","line":12,"column":6,"nodeType":"159","endLine":12,"endColumn":8,"suggestions":"160"},{"ruleId":"161","replacedBy":"162"},{"ruleId":"163","replacedBy":"164"},{"ruleId":"150","severity":1,"message":"165","line":1,"column":8,"nodeType":"152","messageId":"153","endLine":1,"endColumn":13},{"ruleId":"157","severity":1,"message":"166","line":9,"column":21,"nodeType":"167","endLine":13,"endColumn":4},{"ruleId":"150","severity":1,"message":"168","line":3,"column":8,"nodeType":"152","messageId":"153","endLine":3,"endColumn":22},{"ruleId":"150","severity":1,"message":"169","line":17,"column":11,"nodeType":"152","messageId":"153","endLine":17,"endColumn":24},{"ruleId":"170","severity":1,"message":"171","line":85,"column":13,"nodeType":"172","endLine":89,"endColumn":14},{"ruleId":"170","severity":1,"message":"171","line":94,"column":13,"nodeType":"172","endLine":98,"endColumn":14},{"ruleId":"170","severity":1,"message":"171","line":103,"column":13,"nodeType":"172","endLine":108,"endColumn":14},{"ruleId":"170","severity":1,"message":"171","line":113,"column":13,"nodeType":"172","endLine":117,"endColumn":14},{"ruleId":"150","severity":1,"message":"173","line":14,"column":9,"nodeType":"152","messageId":"153","endLine":14,"endColumn":17},{"ruleId":"174","severity":1,"message":"175","line":15,"column":5,"nodeType":"176","messageId":"177","endLine":15,"endColumn":8},{"ruleId":"150","severity":1,"message":"178","line":2,"column":8,"nodeType":"152","messageId":"153","endLine":2,"endColumn":17},{"ruleId":"150","severity":1,"message":"179","line":3,"column":10,"nodeType":"152","messageId":"153","endLine":3,"endColumn":16},{"ruleId":"150","severity":1,"message":"180","line":9,"column":26,"nodeType":"152","messageId":"153","endLine":9,"endColumn":42},{"ruleId":"157","severity":1,"message":"181","line":23,"column":6,"nodeType":"159","endLine":23,"endColumn":8,"suggestions":"182"},{"ruleId":"183","severity":1,"message":"184","line":30,"column":10,"nodeType":"185","messageId":"186","endLine":30,"endColumn":26,"fix":"187"},"no-unused-vars","'useState' is defined but never used.","Identifier","unusedVar","'useEffect' is defined but never used.","'ContextDemo' is defined but never used.","'FooterContainer' is defined but never used.","react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'history'. Either include it or remove the dependency array.","ArrayExpression",["188"],"no-native-reassign",["189"],"no-negated-in-lhs",["190"],"'React' is defined but never used.","Effect callbacks are synchronous to prevent race conditions. Put the async function inside:\n\nuseEffect(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching","ArrowFunctionExpression","'GoogleMapReact' is defined but never used.","'contextSearch' is assigned a value but never used.","jsx-a11y/anchor-is-valid","The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md","JSXOpeningElement","'proClick' is assigned a value but never used.","no-lone-blocks","Nested block is redundant.","BlockStatement","redundantNestedBlock","'Community' is defined but never used.","'motion' is defined but never used.","'setContextSearch' is assigned a value but never used.","React Hook useEffect has a missing dependency: 'contextSearch'. Either include it or remove the dependency array.",["191"],"no-whitespace-before-property","Unexpected whitespace before property map.","MemberExpression","unexpectedWhitespace",{"range":"192","text":"193"},{"desc":"194","fix":"195"},"no-global-assign","no-unsafe-negation",{"desc":"196","fix":"197"},[833,836],"?.","Update the dependencies array to be: [history]",{"range":"198","text":"199"},"Update the dependencies array to be: [contextSearch]",{"range":"200","text":"201"},[296,298],"[history]",[699,701],"[contextSearch]"] \ No newline at end of file +[{"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/index.jsx":"1","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/reportWebVitals.js":"2","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/context/AppContext.jsx":"3","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/App.jsx":"4","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/ScrollToTop.js":"5","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Containers/footer.js":"6","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/ContextDemo.jsx":"7","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Footer/Footer.jsx":"8","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Navbar/Navbar.jsx":"9","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/Rent/Rent.jsx":"10","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/Manage/Manage.jsx":"11","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/Home/Home.jsx":"12","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/Contact/Contact.jsx":"13","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/Buy/Buy.jsx":"14","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/SignIn/SignIn.jsx":"15","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/About/About.jsx":"16","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/Community/Community.jsx":"17","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Footer/index.js":"18","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/icons/index.js":"19","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Home-Header/Header.jsx":"20","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Management-Home/Management.jsx":"21","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Home-Body/Body.jsx":"22","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Home-Community/Community.jsx":"23","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/GoogleMap/GoogleMap.jsx":"24","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/School/School.jsx":"25","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Footer/styles/footer.js":"26","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/icons/styles/icons.js":"27","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/School/SchoolCard.jsx":"28","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Cicero/Cicero.jsx":"29","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/RepsCard/RepsCard.jsx":"30","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/ManageResults/ManageResults.jsx":"31","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/SignIn/SignIn.js":"32","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Realtor/Realtor.jsx":"33","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Realtor/RealtorCard.jsx":"34"},{"size":612,"mtime":1609882049280,"results":"35","hashOfConfig":"36"},{"size":364,"mtime":1607984977234,"results":"37","hashOfConfig":"36"},{"size":373,"mtime":1610079332350,"results":"38","hashOfConfig":"36"},{"size":1809,"mtime":1610233359538,"results":"39","hashOfConfig":"36"},{"size":387,"mtime":1610079332349,"results":"40","hashOfConfig":"36"},{"size":1872,"mtime":1610079332342,"results":"41","hashOfConfig":"36"},{"size":274,"mtime":1607984977233,"results":"42","hashOfConfig":"36"},{"size":638,"mtime":1610079332343,"results":"43","hashOfConfig":"36"},{"size":1343,"mtime":1610233284222,"results":"44","hashOfConfig":"36"},{"size":170,"mtime":1610079332340,"results":"45","hashOfConfig":"36"},{"size":264,"mtime":1610079332339,"results":"46","hashOfConfig":"36"},{"size":484,"mtime":1610079332339,"results":"47","hashOfConfig":"36"},{"size":206,"mtime":1610079332338,"results":"48","hashOfConfig":"36"},{"size":165,"mtime":1610079332336,"results":"49","hashOfConfig":"36"},{"size":2648,"mtime":1610332610306,"results":"50","hashOfConfig":"36"},{"size":196,"mtime":1610079332335,"results":"51","hashOfConfig":"36"},{"size":860,"mtime":1610338524485,"results":"52","hashOfConfig":"36"},{"size":835,"mtime":1610079332344,"results":"53","hashOfConfig":"36"},{"size":158,"mtime":1610079332349,"results":"54","hashOfConfig":"36"},{"size":4578,"mtime":1610320756581,"results":"55","hashOfConfig":"36"},{"size":3267,"mtime":1610313794359,"results":"56","hashOfConfig":"36"},{"size":1967,"mtime":1610079332346,"results":"57","hashOfConfig":"36"},{"size":2517,"mtime":1610079332346,"results":"58","hashOfConfig":"36"},{"size":2967,"mtime":1610336781138,"results":"59","hashOfConfig":"36"},{"size":1075,"mtime":1610313794431,"results":"60","hashOfConfig":"36"},{"size":1214,"mtime":1610079332344,"results":"61","hashOfConfig":"36"},{"size":139,"mtime":1610079332350,"results":"62","hashOfConfig":"36"},{"size":604,"mtime":1610157342607,"results":"63","hashOfConfig":"36"},{"size":4295,"mtime":1610336845826,"results":"64","hashOfConfig":"36"},{"size":1751,"mtime":1610313794401,"results":"65","hashOfConfig":"36"},{"size":23837,"mtime":1610313794115,"results":"66","hashOfConfig":"36"},{"size":392,"mtime":1610338445183,"results":"67","hashOfConfig":"36"},{"size":1254,"mtime":1610339617074,"results":"68","hashOfConfig":"36"},{"size":697,"mtime":1610340585329,"results":"69","hashOfConfig":"36"},{"filePath":"70","messages":"71","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1cv0jbe",{"filePath":"72","messages":"73","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"74","messages":"75","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"76","messages":"77","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"78","messages":"79","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"80","messages":"81","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"82","messages":"83","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"84","messages":"85","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"86","messages":"87","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"88"},{"filePath":"89","messages":"90","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"91","messages":"92","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"93","messages":"94","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"95","messages":"96","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"97","messages":"98","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"99","messages":"100","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"101","messages":"102","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"103","messages":"104","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"105","messages":"106","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"107","messages":"108","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"109","messages":"110","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"111","messages":"112","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"113","usedDeprecatedRules":"88"},{"filePath":"114","messages":"115","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"116","messages":"117","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"118","messages":"119","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":3,"source":null},{"filePath":"120","messages":"121","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":1,"source":"122","usedDeprecatedRules":"88"},{"filePath":"123","messages":"124","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"125","messages":"126","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"127","messages":"128","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"129","messages":"130","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"88"},{"filePath":"131","messages":"132","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"88"},{"filePath":"133","messages":"134","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"88"},{"filePath":"135","messages":"136","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"88"},{"filePath":"137","messages":"138","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":1,"source":null},{"filePath":"139","messages":"140","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/index.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/reportWebVitals.js",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/context/AppContext.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/App.jsx",["141","142","143","144"],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/ScrollToTop.js",["145"],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Containers/footer.js",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/ContextDemo.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Footer/Footer.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Navbar/Navbar.jsx",[],["146","147"],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/Rent/Rent.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/Manage/Manage.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/Home/Home.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/Contact/Contact.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/Buy/Buy.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/SignIn/SignIn.jsx",["148","149","150","151"],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/About/About.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/Community/Community.jsx",["152"],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Footer/index.js",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/icons/index.js",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Home-Header/Header.jsx",["153","154","155","156","157"],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Management-Home/Management.jsx",["158","159"],"import React from 'react';\nimport Remodeling from '../../Assests/remodeling.png';\nimport Plumbing from '../../Assests/plumbing.png';\nimport Roofing from '../../Assests/roofing.png';\nimport Landscaping from '../../Assests/landscaping.png';\nimport Electrical from '../../Assests/electrical.png';\nimport HeatingAC from '../../Assests/heating-ac.png';\nimport Painting from '../../Assests//painting.png';\nimport Housecleaning from '../../Assests/housecleaning.png';\nimport Marker from '../../Assests/marker.png';\nimport { Link } from 'react-router-dom';\n\nfunction ManagementHome() {\n const proClick = (event) => {\n { }\n }\n\n return (\n <>\n
\n
\n

\n Find top-rated, certified pros for your project\n

\n

\n A simplified way to connect with the right experts to assist you in\n making your home a better place.\n

\n
\n
\n
\n \n
\n
\n \"Location\n
\n \n \n \n\n \n \n\n\n\n\n
\n
\n
\n

Popular Services

\n
\n
\n \"Remodeling\"\n

Remodeling

\n
\n
\n
\n \"Plumbing\"\n

Plumbing

\n
\n
\n
\n \"Roofing\"\n

Roofing

\n
\n
\n
\n \"Landscaping\"\n

Landscaping

\n
\n
\n
\n \"Electrical\"\n

Electrical

\n
\n
\n
\n \"Heating\n

Heating & AC

\n
\n
\n
\n \"Painting\"\n

Painting

\n
\n
\n
\n \n

Housecleaning

\n
\n
\n \n );\n}\n\nexport default ManagementHome;\n","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Home-Body/Body.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Home-Community/Community.jsx",["160","161"],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/GoogleMap/GoogleMap.jsx",["162","163","164"],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/School/School.jsx",["165","166","167"],"import React, { useState, useEffect, useContext } from 'react';\nimport './School.css';\nimport axios from 'axios';\nimport { AppContext } from '../../context/AppContext';\nimport SchoolCard from './SchoolCard';\n\nfunction Schools() {\n const [schoolData, setSchoolData] = useState(null);\n const { contextSearch, setContextSearch } = useContext(AppContext);\n\n useEffect(() => {\n const getSchools = async () => {\n try {\n const response = await axios.get(`/api/schools?term=${contextSearch}`);\n setSchoolData(response.data.schools.school);\n console.log(response.data.schools.school);\n } catch (error) {\n console.log(error);\n }\n };\n\n getSchools();\n }, []);\n\n return (\n
\n

Schools

\n
\n {schoolData?.map((school) => {\n return (\n
\n {' '}\n {' '}\n
\n );\n })}\n
\n
\n );\n}\n\nexport default Schools;\n","/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Footer/styles/footer.js",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/icons/styles/icons.js",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/School/SchoolCard.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Cicero/Cicero.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/RepsCard/RepsCard.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/ManageResults/ManageResults.jsx",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/Pages/SignIn/SignIn.js",[],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Realtor/Realtor.jsx",["168","169","170"],"/Users/sebastianarnavat/Desktop/wyncode/C40_Final_Eimy_Keith_Sebastian_Thip/client/src/components/Realtor/RealtorCard.jsx",[],{"ruleId":"171","severity":1,"message":"172","line":2,"column":10,"nodeType":"173","messageId":"174","endLine":2,"endColumn":18},{"ruleId":"171","severity":1,"message":"175","line":2,"column":20,"nodeType":"173","messageId":"174","endLine":2,"endColumn":29},{"ruleId":"171","severity":1,"message":"176","line":3,"column":8,"nodeType":"173","messageId":"174","endLine":3,"endColumn":19},{"ruleId":"171","severity":1,"message":"177","line":17,"column":10,"nodeType":"173","messageId":"174","endLine":17,"endColumn":25},{"ruleId":"178","severity":1,"message":"179","line":12,"column":6,"nodeType":"180","endLine":12,"endColumn":8,"suggestions":"181"},{"ruleId":"182","replacedBy":"183"},{"ruleId":"184","replacedBy":"185"},{"ruleId":"171","severity":1,"message":"186","line":11,"column":9,"nodeType":"173","messageId":"174","endLine":11,"endColumn":23},{"ruleId":"187","severity":1,"message":"188","line":33,"column":13,"nodeType":"189","endLine":33,"endColumn":29},{"ruleId":"187","severity":1,"message":"188","line":34,"column":13,"nodeType":"189","endLine":34,"endColumn":29},{"ruleId":"187","severity":1,"message":"188","line":35,"column":13,"nodeType":"189","endLine":35,"endColumn":29},{"ruleId":"178","severity":1,"message":"190","line":10,"column":21,"nodeType":"191","endLine":14,"endColumn":4},{"ruleId":"171","severity":1,"message":"192","line":3,"column":8,"nodeType":"173","messageId":"174","endLine":3,"endColumn":22},{"ruleId":"193","severity":1,"message":"194","line":87,"column":13,"nodeType":"189","endLine":91,"endColumn":14},{"ruleId":"193","severity":1,"message":"194","line":96,"column":13,"nodeType":"189","endLine":100,"endColumn":14},{"ruleId":"193","severity":1,"message":"194","line":105,"column":13,"nodeType":"189","endLine":109,"endColumn":14},{"ruleId":"193","severity":1,"message":"194","line":114,"column":13,"nodeType":"189","endLine":118,"endColumn":14},{"ruleId":"171","severity":1,"message":"195","line":14,"column":9,"nodeType":"173","messageId":"174","endLine":14,"endColumn":17},{"ruleId":"196","severity":1,"message":"197","line":15,"column":5,"nodeType":"198","messageId":"199","endLine":15,"endColumn":8},{"ruleId":"171","severity":1,"message":"200","line":2,"column":8,"nodeType":"173","messageId":"174","endLine":2,"endColumn":17},{"ruleId":"171","severity":1,"message":"201","line":3,"column":10,"nodeType":"173","messageId":"174","endLine":3,"endColumn":16},{"ruleId":"202","severity":1,"message":"203","line":84,"column":19,"nodeType":"204","messageId":"205","endLine":84,"endColumn":65,"fix":"206"},{"ruleId":"202","severity":1,"message":"207","line":84,"column":19,"nodeType":"204","messageId":"205","endLine":84,"endColumn":59,"fix":"208"},{"ruleId":"202","severity":1,"message":"209","line":84,"column":19,"nodeType":"204","messageId":"205","endLine":84,"endColumn":47,"fix":"210"},{"ruleId":"171","severity":1,"message":"211","line":9,"column":26,"nodeType":"173","messageId":"174","endLine":9,"endColumn":42},{"ruleId":"178","severity":1,"message":"212","line":23,"column":6,"nodeType":"180","endLine":23,"endColumn":8,"suggestions":"213"},{"ruleId":"202","severity":1,"message":"203","line":30,"column":10,"nodeType":"204","messageId":"205","endLine":30,"endColumn":26,"fix":"214"},{"ruleId":"171","severity":1,"message":"211","line":9,"column":28,"nodeType":"173","messageId":"174","endLine":9,"endColumn":44},{"ruleId":"178","severity":1,"message":"212","line":23,"column":8,"nodeType":"180","endLine":23,"endColumn":10,"suggestions":"215"},{"ruleId":"202","severity":1,"message":"203","line":29,"column":18,"nodeType":"204","messageId":"205","endLine":29,"endColumn":35,"fix":"216"},"no-unused-vars","'useState' is defined but never used.","Identifier","unusedVar","'useEffect' is defined but never used.","'ContextDemo' is defined but never used.","'FooterContainer' is defined but never used.","react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'history'. Either include it or remove the dependency array.","ArrayExpression",["217"],"no-native-reassign",["218"],"no-negated-in-lhs",["219"],"'handleRegister' is assigned a value but never used.","jsx-a11y/alt-text","img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.","JSXOpeningElement","Effect callbacks are synchronous to prevent race conditions. Put the async function inside:\n\nuseEffect(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching","ArrowFunctionExpression","'GoogleMapReact' is defined but never used.","jsx-a11y/anchor-is-valid","The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md","'proClick' is assigned a value but never used.","no-lone-blocks","Nested block is redundant.","BlockStatement","redundantNestedBlock","'Community' is defined but never used.","'motion' is defined but never used.","no-whitespace-before-property","Unexpected whitespace before property map.","MemberExpression","unexpectedWhitespace",{"range":"220","text":"221"},"Unexpected whitespace before property locations.",{"range":"222","text":"221"},"Unexpected whitespace before property contextSearch.",{"range":"223","text":"221"},"'setContextSearch' is assigned a value but never used.","React Hook useEffect has a missing dependency: 'contextSearch'. Either include it or remove the dependency array.",["224"],{"range":"225","text":"221"},["226"],{"range":"227","text":"221"},{"desc":"228","fix":"229"},"no-global-assign","no-unsafe-negation",[2467,2470],"?.",[2455,2458],[2439,2442],{"desc":"230","fix":"231"},[833,836],{"desc":"230","fix":"232"},[914,917],"Update the dependencies array to be: [history]",{"range":"233","text":"234"},"Update the dependencies array to be: [contextSearch]",{"range":"235","text":"236"},{"range":"237","text":"236"},[296,298],"[history]",[699,701],"[contextSearch]",[761,763]] \ No newline at end of file diff --git a/client/src/Assests/banner.jpg b/client/src/Assests/banner.jpg new file mode 100644 index 0000000..03cb076 Binary files /dev/null and b/client/src/Assests/banner.jpg differ diff --git a/client/src/Assests/fb.png b/client/src/Assests/fb.png new file mode 100644 index 0000000..870f7c8 Binary files /dev/null and b/client/src/Assests/fb.png differ diff --git a/client/src/Assests/gp.png b/client/src/Assests/gp.png new file mode 100644 index 0000000..06bd85a Binary files /dev/null and b/client/src/Assests/gp.png differ diff --git a/client/src/Assests/tw.png b/client/src/Assests/tw.png new file mode 100644 index 0000000..94378bc Binary files /dev/null and b/client/src/Assests/tw.png differ diff --git a/client/src/Pages/Community/Community.jsx b/client/src/Pages/Community/Community.jsx index e7411e0..1077cef 100644 --- a/client/src/Pages/Community/Community.jsx +++ b/client/src/Pages/Community/Community.jsx @@ -3,6 +3,7 @@ import './Community.css'; import axios from 'axios'; import MyMapComponent from '../../components/GoogleMap/GoogleMap'; import Schools from '../../components/School/School'; +import Realtor from '../../components/Realtor/Realtor'; import Reps from '../../components/Cicero/Cicero'; function Community() { const [mapKey, setMapKey] = useState(); @@ -20,6 +21,7 @@ function Community() { + ); diff --git a/client/src/Pages/SignIn/SignIn.css b/client/src/Pages/SignIn/SignIn.css index 360fa6c..63771d6 100644 --- a/client/src/Pages/SignIn/SignIn.css +++ b/client/src/Pages/SignIn/SignIn.css @@ -1,3 +1,163 @@ -.signin { - margin-top: 80px; +* { + margin: 0; + padding: 0; + font-family: sans-serif; +} +.hero { + height: 100vh; + width: 100vw; + background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), + url(../../Assests/home.jpeg); + background-position: center; + background-size: cover; + position: relative; + margin-top: -35px; +} +.form-box { + width: 400px; + height: 100vh; + position: relative; + margin: 6% auto; + background: #fff; + padding: 5px; + overflow: hidden; +} +.button-box { + width: 220px; + margin: 35px auto; + position: relative; + box-shadow: 0 0 20px 9px #ff61241f; + border-radius: 30px; +} +.toggle-btn { + padding: 10px 30px; + cursor: pointer; + background: transparent; + border: 0; + outline: none; + position: relative; + color: orange; +} +#btn { + top: 0; + left: 0; + position: absolute; + width: 110px; + height: 100%; + background: #0f2027; /* fallback for old browsers */ + background: -webkit-linear-gradient( + to right, + #2c5364, + #203a43, + #0f2027 + ); /* Chrome 10-25, Safari 5.1-6 */ + background: linear-gradient( + to right, + #2c5364, + #203a43, + #0f2027 + ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ + border-radius: 30px; + transition: 0.5s; +} +.social-icons { + margin: 30px auto; + text-align: center; +} +.social-icons img { + width: 30px; + margin: 0 12px; + box-shadow: 0 0 20px 0 #7f7f7f3d; + cursor: pointer; + border-radius: 50%; +} +.input-group { + top: 180px; + position: absolute; + width: 280px; + transition: 0.5s; +} +.input-field { + width: 100%; + padding: 10px 0; + margin: 5px 0; + border-left: 0; + border-top: 0; + border-right: 0; + border-bottom: 1px solid #999; + outline: none; + background: transparent; +} +.submit-btn { + width: 85%; + padding: 10px 30px; + cursor: pointer; + display: block; + margin: auto; + background: linear-gradient(); + border: 0; + outline: none; + border-radius: 30px; +} +.check-box { + margin: 30px 10px 30px 0; + /* display:flex; + flex-direction: column; */ +} +span { + color: #777; + font-size: 12px; + bottom: 68px; + position: absolute; +} +.form-control label { + display: inline-block; + margin-bottom: 5px; +} +.form-control input { + border: 2px solid #f0f0f0; + border-radius: 4px; + display: block; + font-family: inherit; + font-size: 14px; + padding: 10px; + width: 100%; +} +.form-control input:focus { + outline: 0; + border-color: #777; +} +.form-control.success input { + border-color: #2ecc71; +} +.form-control.error input { + border-color: #e74c3c; +} +.form-control i { + visibility: hidden; + position: absolute; + top: 40px; + right: 10px; +} +.form-control.success i.fa-check-circle { + color: #2ecc71; + visibility: visible; +} +.form-control.error i.fa-exclamation-circle { + color: #e74c3c; + visibility: visible; +} +.form-control small { + color: #e74c3c; + position: absolute; + bottom: 0; + left: 0; + visibility: hidden; +} +.form-control.error small { + visibility: visible; +} + +.pro-check { + padding: 10px; } diff --git a/client/src/Pages/SignIn/SignIn.js b/client/src/Pages/SignIn/SignIn.js new file mode 100644 index 0000000..775c55e --- /dev/null +++ b/client/src/Pages/SignIn/SignIn.js @@ -0,0 +1,16 @@ +const x = document.getElementById('login'); +const y = document.getElementById('register'); +const z = document.getElementById('btn'); +function register() { + console.log(x); + x.style.left = '-400px'; + y.style.left = '50px'; + z.style.left = '110px'; +} +function login() { + x.style.left = '50px'; + y.style.left = '450px'; + z.style.left = '0px'; +} + +export { register, login }; diff --git a/client/src/Pages/SignIn/SignIn.jsx b/client/src/Pages/SignIn/SignIn.jsx index 2370bb9..91c6d4d 100644 --- a/client/src/Pages/SignIn/SignIn.jsx +++ b/client/src/Pages/SignIn/SignIn.jsx @@ -1,66 +1,127 @@ -import React from 'react'; +import React, { useState } from 'react'; + import './SignIn.css'; +import fb from '../../Assests/fb.png'; +import tw from '../../Assests/tw.png'; +import gp from '../../Assests/gp.png'; +import { register, login } from './SignIn'; + +const SignIn = () => { + const handleRegister = (event) => { + console.log(event.target); + }; + const [checked, setChecked] = useState(false); + + const handleCheck = () => { + setChecked(!checked); + console.log(checked); + }; + + return ( + <> +
+
+
+
+ + +
+
+ + + +
+
+ + + + + + + + +
+
+ + + + + + + + + -function SignIn() { - // return ( - //
- //

Sign In Page

- //
- //
- //
- //
- //
- //
- // - // - // - // - // Remember Password - // - // - //
- // - // - // I agree to the terms & conditions - // - //
- //
- //
- //
- // - // - // - // - //
- //
- // ); -} + {checked && ( +
+ + + +
+ )} + + +
+
+ + ); +}; export default SignIn; diff --git a/client/src/components/Cicero/Cicero.jsx b/client/src/components/Cicero/Cicero.jsx index ffd5a73..f4f5a25 100644 --- a/client/src/components/Cicero/Cicero.jsx +++ b/client/src/components/Cicero/Cicero.jsx @@ -61,9 +61,7 @@ const Reps = ({ history }) => {
-

- Your REPS -

+

Your Reps

( ); class SimpleMap extends Component { + static contextType = AppContext; constructor(props) { super(props); this.handleSubmit = this.handleSubmit.bind(this); @@ -27,11 +28,12 @@ class SimpleMap extends Component { lat: 25.7617, lng: -80.1918 }, - zoom: 12 + zoom: 16 }; async handleSubmit(event) { event.preventDefault(); const { data } = await axios.get(`api/search?location=${this.state.value}`); + console.log(event.target.value); console.log(data); this.setState({ locations: data }); @@ -68,13 +70,14 @@ class SimpleMap extends Component { !this.state.locations ? this.props.center : { - lat: this.state.locations[0].coordinates.latitude, - lng: this.state.locations[0].coordinates.longitude + lalat: this.state.locations[0].coordinates.latitude, + lnlng: this.state.locations[0].coordinates.longitude } } > - {this.state.locations && - this.state.locations.map((location) => { + { + // this.state.locations && + this.context?.contextSearch?.locations?.map((location) => { console.log(location); return ( ); - })} + }) + } )}
diff --git a/client/src/components/Home-Header/Header.jsx b/client/src/components/Home-Header/Header.jsx index 3e9aba1..6d1c719 100644 --- a/client/src/components/Home-Header/Header.jsx +++ b/client/src/components/Home-Header/Header.jsx @@ -53,9 +53,8 @@ function Header() { else if (communityStatus === 'active') history.push('/community'); else if (manageStatus === 'active') history.push('/manage'); //edit line 53 to go to the other page rather than the home manage page. - const { data } = await axios.get( - `api/search?location=${event.target.value}` - ); + console.log(event.target.value); + const { data } = await axios.get(`api/search?location=${contextSearch}`); console.log(event.target.value); console.log(data); setContextSearch({ locations: data }); diff --git a/client/src/components/Realtor/Realtor.css b/client/src/components/Realtor/Realtor.css new file mode 100644 index 0000000..48c6627 --- /dev/null +++ b/client/src/components/Realtor/Realtor.css @@ -0,0 +1,5 @@ +.card-body { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); + grid-gap: 20px; +} diff --git a/client/src/components/Realtor/Realtor.jsx b/client/src/components/Realtor/Realtor.jsx new file mode 100644 index 0000000..9a57b06 --- /dev/null +++ b/client/src/components/Realtor/Realtor.jsx @@ -0,0 +1,42 @@ +import React, { useState, useEffect, useContext } from 'react'; +import './Realtor.css'; +import axios from 'axios'; +import { AppContext } from '../../context/AppContext'; +import RealtorCard from './RealtorCard'; + +function Realtor() { + const [realtorData, setRealtorData] = useState(null); + const { contextSearch, setContextSearch } = useContext(AppContext); + + useEffect(() => { + const getRealtor = async () => { + try { + const response = await axios.get(`/api/realtor?term=${contextSearch}`); + setRealtorData(response.data.realtor); + console.log(response.data.realtor); + } catch (error) { + console.log(error); + } + }; + + getRealtor(); + }, []); + + return ( +
+

Realtor

+
+ {realtorData?.map((realtor) => { + return ( +
+ {' '} + {' '} +
+ ); + })} +
+
+ ); +} + +export default Realtor; diff --git a/client/src/components/Realtor/RealtorCard.jsx b/client/src/components/Realtor/RealtorCard.jsx new file mode 100644 index 0000000..c4c0cc9 --- /dev/null +++ b/client/src/components/Realtor/RealtorCard.jsx @@ -0,0 +1,22 @@ +import React from 'react'; + +const RealtorCard = ({ realtor }) => { + return ( +
+
+
{realtor.name}
+
+
+ {realtor.city} {realtor.limit} {realtor.offset} {realtor.stateCode} +
+
+ {realtor.address} + {realtor.phone} {realtor.website} +
+
+
+
+ ); +}; + +export default RealtorCard; diff --git a/server/controllers/APIs.js b/server/controllers/APIs.js index 6125f90..16a2815 100644 --- a/server/controllers/APIs.js +++ b/server/controllers/APIs.js @@ -39,6 +39,20 @@ exports.searchSchoolsAPI = async (request, response) => { } }; +//Realtor API +exports.searchRealtorAPI = async (request, response) => { + try { + const { term } = request.query; + const data = await axios.get( + // `https://rapidapi.com/apidojo/api/realtor?endpoint=${process.env.REALTOR_API_KEY}` + 'https://realtor.p.rapidapi.com/properties/v2/list-for-sale?endpoint=${process.env.REALTOR_API_KEY}&city=Edgewater&limit=200&offset=0&state_code=FL' + ); + response.send(data.data); + } catch (e) { + console.log(e); + } +}; + //Ciceros API exports.getRepByAPI = async (req, res) => { diff --git a/server/routes/open/APIs.js b/server/routes/open/APIs.js index 420d755..a9946e7 100644 --- a/server/routes/open/APIs.js +++ b/server/routes/open/APIs.js @@ -2,7 +2,8 @@ const router = require('express').Router(), { getYelpAPI, searchYelpAPI, - searchSchoolsAPI + searchSchoolsAPI, + searchRealtorAPI } = require('../../controllers/APIs'), { getRepByAPI } = require('../../controllers/APIs'); @@ -14,6 +15,9 @@ router.get('/api/search', searchYelpAPI); //Schools API router.get('/api/schools', searchSchoolsAPI); +//Realtor API +router.get('/api/realtor', searchRealtorAPI); + // Ciceros API router.get('api/reps/', getRepByAPI);