Skip to content

Commit 93d2a87

Browse files
committed
modify eslint
2 parents 5de0a8e + ed35991 commit 93d2a87

File tree

7 files changed

+60
-46
lines changed

7 files changed

+60
-46
lines changed

.eslintcache

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
[{"C:\\Users\\Asus\\Desktop\\JSeeker\\src\\index.js":"1","C:\\Users\\Asus\\Desktop\\JSeeker\\src\\App.js":"2","C:\\Users\\Asus\\Desktop\\JSeeker\\src\\components\\Table\\Table.js":"3","C:\\Users\\Asus\\Desktop\\JSeeker\\src\\components\\Navbar.js":"4","C:\\Users\\Asus\\Desktop\\JSeeker\\src\\components\\Footer\\Footer.jsx":"5","C:\\Users\\Asus\\Desktop\\JSeeker\\src\\components\\Table\\data.js":"6"},{"size":199,"mtime":1608794493186,"results":"7","hashOfConfig":"8"},{"size":729,"mtime":1609759836075,"results":"9","hashOfConfig":"8"},{"size":1008,"mtime":1609750274921,"results":"10","hashOfConfig":"8"},{"size":456,"mtime":1609756569679,"results":"11","hashOfConfig":"8"},{"size":1219,"mtime":1609756497527,"results":"12","hashOfConfig":"8"},{"size":11622,"mtime":1609687326357,"results":"13","hashOfConfig":"8"},{"filePath":"14","messages":"15","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"16qthht",{"filePath":"16","messages":"17","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"18","messages":"19","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"20","messages":"21","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"22","messages":"23","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"24","messages":"25","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"C:\\Users\\Asus\\Desktop\\JSeeker\\src\\index.js",[],"C:\\Users\\Asus\\Desktop\\JSeeker\\src\\App.js",["26"],"C:\\Users\\Asus\\Desktop\\JSeeker\\src\\components\\Table\\Table.js",["27","28"],"C:\\Users\\Asus\\Desktop\\JSeeker\\src\\components\\Navbar.js",[],"C:\\Users\\Asus\\Desktop\\JSeeker\\src\\components\\Footer\\Footer.jsx",[],"C:\\Users\\Asus\\Desktop\\JSeeker\\src\\components\\Table\\data.js",[],{"ruleId":"29","severity":1,"message":"30","line":21,"column":7,"nodeType":"31","endLine":21,"endColumn":47},{"ruleId":"32","severity":1,"message":"33","line":24,"column":41,"nodeType":"34","endLine":24,"endColumn":56},{"ruleId":"32","severity":1,"message":"33","line":29,"column":43,"nodeType":"34","endLine":29,"endColumn":58},"jsx-a11y/alt-text","img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.","JSXOpeningElement","react/jsx-no-target-blank","Using target=\"_blank\" without rel=\"noreferrer\" is a security risk: see https://html.spec.whatwg.org/multipage/links.html#link-type-noopener","JSXAttribute"]
1+
[{"/home/debajit/Desktop/JSeeker/src/index.js":"1","/home/debajit/Desktop/JSeeker/src/App.js":"2","/home/debajit/Desktop/JSeeker/src/components/Navbar.js":"3","/home/debajit/Desktop/JSeeker/src/components/Table/Table.js":"4","/home/debajit/Desktop/JSeeker/src/components/Table/data.js":"5","/home/debajit/Desktop/JSeeker/src/components/Footer/Footer.js":"6"},{"size":193,"mtime":1609754840874,"results":"7","hashOfConfig":"8"},{"size":587,"mtime":1609757423860,"results":"9","hashOfConfig":"8"},{"size":472,"mtime":1609757600199,"results":"10","hashOfConfig":"8"},{"size":968,"mtime":1609754934369,"results":"11","hashOfConfig":"8"},{"size":11257,"mtime":1609754840874,"results":"12","hashOfConfig":"8"},{"size":1053,"mtime":1609759936325,"results":"13","hashOfConfig":"8"},{"filePath":"14","messages":"15","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"16"},"earp11",{"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":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"23","usedDeprecatedRules":"16"},{"filePath":"24","messages":"25","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"16"},{"filePath":"26","messages":"27","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"/home/debajit/Desktop/JSeeker/src/index.js",[],["28","29"],"/home/debajit/Desktop/JSeeker/src/App.js",[],"/home/debajit/Desktop/JSeeker/src/components/Navbar.js",[],"/home/debajit/Desktop/JSeeker/src/components/Table/Table.js",["30","31"],"import React from \"react\";\nimport { Table } from \"reactstrap\";\nimport { Button } from \"reactstrap\";\nimport \"./Table.css\";\nimport data from \"./data\";\n\nconst Tablee = (props) => {\n return (\n <Table striped className=\"mt-5\">\n <thead>\n <tr>\n <th>No</th>\n <th>Company</th>\n <th>Career Site</th>\n <th>Glassdor Link</th>\n </tr>\n </thead>\n <tbody>\n {data.map((item, index) => (\n <tr>\n <th scope=\"row\">{index + 1}</th>\n <td>{item.companyName}</td>\n <td>\n <a href={item.carrearURL} target=\"_blank\">\n <Button color=\"primary\">Click</Button>\n </a>\n </td>\n <td>\n <a href={item.glassdoorURL} target=\"_blank\">\n <Button color=\"primary\">Click</Button>\n </a>\n </td>\n </tr>\n ))}\n </tbody>\n </Table>\n );\n};\n\nexport default Tablee;\n","/home/debajit/Desktop/JSeeker/src/components/Table/data.js",[],"/home/debajit/Desktop/JSeeker/src/components/Footer/Footer.js",["32","33"],{"ruleId":"34","replacedBy":"35"},{"ruleId":"36","replacedBy":"37"},{"ruleId":"38","severity":1,"message":"39","line":24,"column":41,"nodeType":"40","endLine":24,"endColumn":56},{"ruleId":"38","severity":1,"message":"39","line":29,"column":43,"nodeType":"40","endLine":29,"endColumn":58},{"ruleId":"38","severity":1,"message":"39","line":16,"column":17,"nodeType":"40","endLine":16,"endColumn":32},{"ruleId":"38","severity":1,"message":"39","line":24,"column":17,"nodeType":"40","endLine":24,"endColumn":32},"no-native-reassign",["41"],"no-negated-in-lhs",["42"],"react/jsx-no-target-blank","Using target=\"_blank\" without rel=\"noreferrer\" is a security risk: see https://html.spec.whatwg.org/multipage/links.html#link-type-noopener","JSXAttribute","no-global-assign","no-unsafe-negation"]
2+

src/App.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@ import React from "react";
22
import Darkmode from "darkmode-js";
33
import NavBar from "./components/Navbar";
44
import Tablee from "./components/Table/Table";
5+
<<<<<<< HEAD
56
import FooterPage from "./components/Footer/Footer";
67
import './App.css'
78
import logo from "./assets/logo.svg";
89
import clip from "./assets/clip.gif";
10+
=======
11+
import logo from "./assets/logo.svg";
12+
import Footer from "./components/Footer/Footer";
13+
>>>>>>> ed35991c610c8e3488c5ccd7bb04f77bcac7fbb7
914

1015
const App = () => {
1116
const options = {
@@ -22,7 +27,7 @@ const App = () => {
2227
<Tablee />
2328
{darkmode.showWidget()}
2429
</div>
25-
<FooterPage />
30+
<Footer />
2631
</div>
2732
);
2833
};

src/components/Footer/Footer.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.darkmode--activated .footer-text {
2+
color: #ffffff;
3+
}

src/components/Footer/Footer.js

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
import React from "react";
2+
import { MDBCol, MDBContainer, MDBRow, MDBFooter } from "mdbreact";
3+
import "./Footer.css";
4+
5+
const Footer = () => {
6+
return (
7+
<MDBFooter color="blue" className="font-small pt-4 mt-4 mb-4">
8+
<MDBContainer fluid className="text-md-left">
9+
<MDBRow>
10+
<MDBCol className="col-xs-12 center-block text-center">
11+
<h3 className="title footer-text">About Us</h3>
12+
<p className="footer-text">
13+
Made with ❤️ and ☕ by
14+
<a
15+
href="https://www.linkedin.com/in/sankalan-dasgupta-ba390616a/"
16+
target="_blank"
17+
>
18+
{" "}
19+
Sankalan{" "}
20+
</a>
21+
&
22+
<a
23+
href="https://www.linkedin.com/in/debajit-mallick/"
24+
target="_blank"
25+
>
26+
{" "}
27+
Debajit
28+
</a>
29+
</p>
30+
</MDBCol>
31+
</MDBRow>
32+
</MDBContainer>
33+
</MDBFooter>
34+
);
35+
};
36+
37+
export default Footer;

src/components/Footer/Footer.jsx

Lines changed: 0 additions & 37 deletions
This file was deleted.

src/components/Navbar.css

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1-
@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');
1+
@import url("https://fonts.googleapis.com/css2?family=Audiowide&display=swap");
22

3-
p{
4-
font-size: 25px;
5-
color: #dea262;
6-
font-family: 'Audiowide', cursive;
3+
.brand-name {
4+
font-size: 25px;
5+
color: #dea262;
6+
font-family: "Audiowide", cursive;
77
}
88
.navbar {
9+
<<<<<<< HEAD
910
padding-bottom: 0px;
1011
margin-left: 0px;
11-
}
12+
}
13+
=======
14+
padding-bottom: 0px;
15+
}
16+
>>>>>>> ed35991c610c8e3488c5ccd7bb04f77bcac7fbb7

src/components/Navbar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const NavBar = (props) => {
99
<NavbarBrand href="#">
1010
<p>
1111
<img src={props.src} alt={props.alt} height="50px" width="70px" />
12-
Jseekr
12+
<span className="brand-name">Jseekr</span>
1313
</p>
1414
</NavbarBrand>
1515
</Navbar>

0 commit comments

Comments
 (0)