Skip to content

Commit 495a944

Browse files
fixed merge conflict
1 parent 467ba0a commit 495a944

File tree

6 files changed

+32
-17
lines changed

6 files changed

+32
-17
lines changed

src/components/Disclaimer/Disclaimer.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import './Disclaimer.css';
55
export default function Disclaimer(props) {
66

77
return (
8-
<>
8+
<div>
99
<div className="disclaimerContainer">
10-
<p>The source for the data used in this project is <a className="disclaimerLink" target="_blank" href="https://itsfoss.com/best-open-source-internships/" rel="noreferrer">"It's Foss"</a>, an award-winning web-portal that focuses on Open Source.</p>
10+
<p>The source for the data used in this project is <a className="disclaimerLink" target="_blank" href="https://itsfoss.com/best-open-source-internships/" rel="noreferrer">"It's Foss"</a>, an award-winning web-portal that focuses on Open Source and <a className="disclaimerLink" target="_blank" href="https://www.geeksforgeeks.org/" rel="noreferrer">"GeeksforGeeks"</a>.</p>
1111
</div>
1212

13-
</>
13+
</div>
1414
);
1515
}

src/components/Resources/Resources.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ return (
2323
</article>)}
2424
</div>
2525
<Disclaimer />
26-
</> </article>)
27-
}
28-
</div>
29-
30-
</div>
26+
</div>
3127
);
3228
}

src/components/Resources/TableView.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import './TableView.css';
55
import Toggle from "../Toggle";
66

77
export default function TableView() {
8-
98
return (
109
<div className="container">
1110
<Toggle />

src/components/SingleResource/SingleResource.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,22 @@
5050
color: rgba(0, 122, 124, 0.5);
5151
}
5252

53+
.singleResourceBtn {
54+
padding: 8px;
55+
margin: 14px 40px;
56+
width: 13%;
57+
border: 1px solid rgb(0, 122, 124);
58+
cursor: pointer;
59+
transition: all 0.3s;
60+
background-color: transparent;
61+
text-align: center;
62+
}
63+
64+
.singleResourceBtn:hover {
65+
background: rgb(0, 122, 124);
66+
color: #fff;
67+
}
68+
5369
@media (max-width: 875px) {
5470
.fullCard {
5571
width: auto;

src/components/SingleResource/SingleResource.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
import React from 'react';
22
import '../../assets/css/App.css';
33
import './SingleResource.css';
4-
import { useParams } from "react-router-dom";
4+
import { useParams, useHistory } from "react-router-dom";
55
import data from '../data/data.json';
66
import Disclaimer from '../Disclaimer/Disclaimer';
77

88
export default function SingleResource() {
99
const { id } = useParams();
10-
10+
const history = useHistory();
11+
1112
return (
12-
<>
13+
<div>
14+
<button className="singleResourceBtn" onClick={() => history.goBack()}>Go Back</button>
15+
1316
<div className="fullCardContainer">
1417
{ data
1518
.filter((resource) => resource.id === Number(id))
@@ -30,6 +33,6 @@ export default function SingleResource() {
3033
))}
3134
</div>
3235
<Disclaimer />
33-
</>
36+
</div>
3437
);
3538
}

src/components/data/data.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"September"
103103
],
104104
"stipend": false,
105-
"description": "Deeproot started in 2000. Their main product is deepOfix Mail Server and is based on Debian."
105+
"description": "Open Mainframe Project also has its own open-source program and the mentees will be able to expand their knowledge on the mainframe technology. You’ll also help in contributing to open source projects which will make it easier for infrastructure applications to run on the mainframe.",
106106
"location": ["Remote"]
107107
},
108108
{
@@ -118,7 +118,7 @@
118118
],
119119
"stipend": true,
120120
"location": ["Remote"],
121-
"description": "An organisation dedicated to network functions virtualisation"
121+
"description": "Their mission is to impinge on every individual who has the zeal to learn more. Around the year we conduct several educational programs and offer internship opportunities to the youngsters so that they become industry-ready."
122122
},
123123
{
124124
"id": 9,
@@ -153,7 +153,7 @@
153153
"internship_period": null,
154154
"application_period": [],
155155
"stipend": true,
156-
"description": "Khan Academy is looking for talented software developers to create a free virtual classroom for the world. You can work on developing web solutions, data analysis developing classroom content, etc."
156+
"description": "Khan Academy is looking for talented software developers to create a free virtual classroom for the world. You can work on developing web solutions, data analysis developing classroom content, etc.",
157157
"location": ["Remote"]
158158
},
159159
{
@@ -167,6 +167,7 @@
167167
"October"
168168
],
169169
"stipend": true,
170-
"location": ["Remote"]
170+
"location": ["Remote"],
171+
"description": "You can contribute to participating projects on GitHub and even if you’re not able to make a large major contribution what you can get out of it is how to use Git and Github."
171172
}
172173
]

0 commit comments

Comments
 (0)