diff --git a/.eslintcache b/.eslintcache index 4e9dbce..953351b 100644 --- a/.eslintcache +++ b/.eslintcache @@ -1 +1 @@ -[{"/Users/vilasayrathahao/Documents/FreeOpenUniversity/splash--page/src/index.js":"1","/Users/vilasayrathahao/Documents/FreeOpenUniversity/splash--page/src/App.js":"2","/Users/vilasayrathahao/Documents/FreeOpenUniversity/splash--page/src/reportWebVitals.js":"3"},{"size":500,"mtime":1610117916212,"results":"4","hashOfConfig":"5"},{"size":144,"mtime":1610122043791,"results":"6","hashOfConfig":"5"},{"size":362,"mtime":1610117916213,"results":"7","hashOfConfig":"5"},{"filePath":"8","messages":"9","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"q4ivd7",{"filePath":"10","messages":"11","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"12","messages":"13","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/vilasayrathahao/Documents/FreeOpenUniversity/splash--page/src/index.js",[],"/Users/vilasayrathahao/Documents/FreeOpenUniversity/splash--page/src/App.js",[],"/Users/vilasayrathahao/Documents/FreeOpenUniversity/splash--page/src/reportWebVitals.js",[]] \ No newline at end of file +[{"C:\\Users\\Noosa\\Desktop\\freeOpenUniv\\splash--page\\src\\index.js":"1","C:\\Users\\Noosa\\Desktop\\freeOpenUniv\\splash--page\\src\\App.js":"2","C:\\Users\\Noosa\\Desktop\\freeOpenUniv\\splash--page\\src\\reportWebVitals.js":"3","C:\\Users\\Noosa\\Desktop\\freeOpenUniv\\splash--page\\src\\components\\Navbar\\Navbar.js":"4","C:\\Users\\Noosa\\Desktop\\freeOpenUniv\\splash--page\\src\\components\\Hero\\index.js":"5","C:\\Users\\Noosa\\Desktop\\freeOpenUniv\\splash--page\\src\\components\\SearchBar.js":"6"},{"size":500,"mtime":1610126499193,"results":"7","hashOfConfig":"8"},{"size":231,"mtime":1610237254969,"results":"9","hashOfConfig":"8"},{"size":362,"mtime":1610126499216,"results":"10","hashOfConfig":"8"},{"size":1125,"mtime":1610244588586,"results":"11","hashOfConfig":"8"},{"size":702,"mtime":1610237110498,"results":"12","hashOfConfig":"8"},{"size":697,"mtime":1610237111090,"results":"13","hashOfConfig":"8"},{"filePath":"14","messages":"15","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"16"},"afgwvf",{"filePath":"17","messages":"18","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"16"},{"filePath":"19","messages":"20","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"16"},{"filePath":"21","messages":"22","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"23","messages":"24","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"25","usedDeprecatedRules":"16"},{"filePath":"26","messages":"27","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"28","usedDeprecatedRules":"16"},"C:\\Users\\Noosa\\Desktop\\freeOpenUniv\\splash--page\\src\\index.js",[],["29","30"],"C:\\Users\\Noosa\\Desktop\\freeOpenUniv\\splash--page\\src\\App.js",[],"C:\\Users\\Noosa\\Desktop\\freeOpenUniv\\splash--page\\src\\reportWebVitals.js",[],"C:\\Users\\Noosa\\Desktop\\freeOpenUniv\\splash--page\\src\\components\\Navbar\\Navbar.js",["31"],"C:\\Users\\Noosa\\Desktop\\freeOpenUniv\\splash--page\\src\\components\\Hero\\index.js",["32"],"import { SearchBar } from \"../SearchBar\"\nimport \"./index.css\"\nimport heroimg from \"./resources/hero_img.png\"\n\nconst Hero = () => {\n return (\n
\n
\n
\n

Powerful search tools for your documents

\n

You simply input keywords, then all relavant results will be returned within miliseconds.

\n
\n \n
\n
\n \n \n
\n );\n };\n \n export default Hero;\n ","C:\\Users\\Noosa\\Desktop\\freeOpenUniv\\splash--page\\src\\components\\SearchBar.js",["33"],"import { isEmpty } from \"lodash\";\nimport React from \"react\";\n// import { connect } from \"react-redux\";\n// import { api } from \"../store\";\n\nexport function SearchBar({ books, className }) {\n // isEmpty(books) && api.book.read();\n return (\n
\n \n \n
\n );\n}\n\n// export const SearchBar \n// = connect(\n// (state, props) => ({ books: state.book, ...props }),\n// {}\n// )(searchBar);\n",{"ruleId":"34","replacedBy":"35"},{"ruleId":"36","replacedBy":"37"},{"ruleId":"38","severity":1,"message":"39","line":1,"column":17,"nodeType":"40","messageId":"41","endLine":1,"endColumn":26},{"ruleId":"42","severity":1,"message":"43","line":13,"column":11,"nodeType":"44","endLine":13,"endColumn":51},{"ruleId":"38","severity":1,"message":"45","line":1,"column":10,"nodeType":"40","messageId":"41","endLine":1,"endColumn":17},"no-native-reassign",["46"],"no-negated-in-lhs",["47"],"no-unused-vars","'Component' is defined but never used.","Identifier","unusedVar","jsx-a11y/alt-text","img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.","JSXOpeningElement","'isEmpty' is defined but never used.","no-global-assign","no-unsafe-negation"] \ No newline at end of file diff --git a/.gitignore b/.gitignore index 4d29575..00ec607 100644 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,7 @@ .env.development.local .env.test.local .env.production.local +.eslintcache npm-debug.log* yarn-debug.log* diff --git a/package-lock.json b/package-lock.json index eccaf3a..20e68dc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15007,7 +15007,6 @@ "version": "2.3.2", "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "optional": true, "requires": { "arr-flatten": "^1.1.0", "array-unique": "^0.3.2", @@ -15025,7 +15024,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "optional": true, "requires": { "is-extendable": "^0.1.0" } @@ -15056,7 +15054,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "optional": true, "requires": { "extend-shallow": "^2.0.1", "is-number": "^3.0.0", @@ -15068,7 +15065,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "optional": true, "requires": { "is-extendable": "^0.1.0" } @@ -15119,7 +15115,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "optional": true, "requires": { "kind-of": "^3.0.2" }, @@ -15128,7 +15123,6 @@ "version": "3.2.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "optional": true, "requires": { "is-buffer": "^1.1.5" } @@ -15139,7 +15133,6 @@ "version": "3.1.10", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "optional": true, "requires": { "arr-diff": "^4.0.0", "array-unique": "^0.3.2", @@ -15195,7 +15188,6 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", - "optional": true, "requires": { "is-number": "^3.0.0", "repeat-string": "^1.6.1" diff --git a/public/index.html b/public/index.html index 9d88cbd..ed77683 100644 --- a/public/index.html +++ b/public/index.html @@ -23,6 +23,9 @@ rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css" /> + + +