Skip to content

Commit 467ba0a

Browse files
Merge pull request #2 from favour-chibueze/frontendstudygroup-master
Frontendstudygroup master
2 parents f337185 + c2d40ba commit 467ba0a

File tree

7 files changed

+66
-17
lines changed

7 files changed

+66
-17
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.disclaimerContainer {
2+
padding: 30px 80px 30px 80px;
3+
}
4+
5+
.disclaimerLink {
6+
text-decoration: underline;
7+
color: rgb(0, 122, 124);
8+
}
9+
10+
.disclaimerLink:hover {
11+
color: rgba(0, 122, 124, 0.5);
12+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import React from 'react';
2+
import '../../assets/css/App.css';
3+
import './Disclaimer.css';
4+
5+
export default function Disclaimer(props) {
6+
7+
return (
8+
<>
9+
<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>
11+
</div>
12+
13+
</>
14+
);
15+
}

src/components/Resources/Resources.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,4 @@ article h1 {
5959
height: 350px;
6060
}
6161
}
62+

src/components/Resources/Resources.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@ import '../../assets/css/App.css';
33
import './Resources.css';
44
import ResourcesList from '../data/data.json';
55
import { Link } from "react-router-dom";
6-
import Toggle from "../Toggle"
7-
8-
9-
6+
import Toggle from "../Toggle";
7+
import Disclaimer from "../Disclaimer/Disclaimer";
108

119
export default function Resources() {
10+
1211
return (
1312
<div className="container">
1413
<Toggle />
@@ -20,7 +19,11 @@ return (
2019
<p className="text">{resource.body}
2120
</p>
2221
<Link className="resourceLink" to={`/resources/${resource.id}`}><span>More info</span></Link>
23-
</article>)
22+
23+
</article>)}
24+
</div>
25+
<Disclaimer />
26+
</> </article>)
2427
}
2528
</div>
2629

src/components/SingleResource/SingleResource.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.fullCardContainer {
2-
height: calc(100vh - 62px);
2+
min-height: calc(100vh - 62px);
33
display: flex;
44
justify-content: center;
55
align-items: center;
@@ -8,6 +8,7 @@
88
.fullCard {
99
width: 400px;
1010
padding: 20px 30px;
11+
margin: 30px auto;
1112
border: 1px solid rgb(0, 122, 124);
1213
box-shadow: 4px 5px 10px 0px rgb(0 122 124 / 30%);
1314
display: flex;
@@ -20,6 +21,10 @@
2021
font-weight: 600;
2122
}
2223

24+
.fullCardDescription {
25+
line-height: 1.5em;
26+
}
27+
2328
.fullCardLabelsContainer {
2429
display: flex;
2530
flex-wrap: wrap;

src/components/SingleResource/SingleResource.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import '../../assets/css/App.css';
33
import './SingleResource.css';
44
import { useParams } from "react-router-dom";
55
import data from '../data/data.json';
6+
import Disclaimer from '../Disclaimer/Disclaimer';
67

78
export default function SingleResource() {
89
const { id } = useParams();
@@ -15,19 +16,20 @@ export default function SingleResource() {
1516
.map((resource) => (
1617
<div className="fullCard" key={ resource.id }>
1718
<h2 className="fullCardTitle">{resource.name}</h2>
19+
<p className="fullCardDescription">{resource.description}</p>
1820
<p>Duration: <strong>{resource.internship_period} months</strong></p>
1921
{resource.application_period.length > 0 &&
2022
<div><p>Application period:</p>
2123
<div className="fullCardLabelsContainer">{ resource.application_period.map((month, index) => <span key={index} className="fullCardLabel">{ month }</span>) }</div>
2224
</div>
2325
}
2426
<p>Stipend: {resource.stipend ? <strong>Paid</strong> : <strong>Unpaid</strong>}</p>
25-
<p>Location: { resource.location.join(', ')}</p>
27+
<p>Location: <strong>{ resource.location.join(', ')}</strong></p>
2628
<a className="fullCardLink" target="_blank" href={resource.url} rel="noreferrer">Go to resource website</a>
2729
</div>
2830
))}
2931
</div>
30-
32+
<Disclaimer />
3133
</>
3234
);
3335
}

src/components/data/data.json

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"internship_period": 3,
99
"application_period": ["March", "April"],
1010
"stipend": true,
11-
"location": ["Remote"]
11+
"location": ["Remote"],
12+
"description": "You can work with famous organizations like, Debian, Fedora, GCC, FreeBSD, Git (Not GitHub), Gnome, OpenSUSE Arduino, and other more top names in Open Source community."
1213
},
1314
{
1415
"id": 2,
@@ -19,7 +20,8 @@
1920
"internship_period": 3,
2021
"application_period": ["April", "May"],
2122
"stipend": false,
22-
"location": ["Remote", "Boston, US"]
23+
"location": ["Remote", "Boston, US"],
24+
"description": "The oldest, mother of all organizations which started the free software movement. The Internship program runs thrice a year."
2325
},
2426
{
2527
"id": 3,
@@ -43,7 +45,8 @@
4345
"December"
4446
],
4547
"stipend": true,
46-
"location": ["Remote"]
48+
"location": ["Remote"],
49+
"description": "Project which develops, maintains, supports the free software stack for accelerated graphics for all graphics hardware."
4750
},
4851
{
4952
"id": 4,
@@ -54,7 +57,8 @@
5457
"internship_period": 3,
5558
"application_period": ["February", "March", "April"],
5659
"stipend": true,
57-
"location": ["Remote"]
60+
"location": ["Remote"],
61+
"description": "Project to entice/enhance women participation in Rust, Clojure, JavaScript, PHP, Python, Ruby on Rails, Rails web framework etc."
5862
},
5963
{
6064
"id": 5,
@@ -65,7 +69,8 @@
6569
"internship_period": 4,
6670
"application_period": ["February", "March"],
6771
"stipend": true,
68-
"location": ["United States"]
72+
"location": ["United States"],
73+
"description": "A project to collect, understand earth observational data using a variety of sensors, testing and making cohesive sense out of the data collected."
6974
},
7075
{
7176
"id": 6,
@@ -76,7 +81,8 @@
7681
"internship_period": 3,
7782
"application_period": ["January", "February", "March"],
7883
"stipend": true,
79-
"location": ["Remote"]
84+
"location": ["Remote"],
85+
"description": "FOSS Project which works to use and promote software-defined networking and network functions visualization."
8086
},
8187
{
8288
"id": 7,
@@ -96,6 +102,7 @@
96102
"September"
97103
],
98104
"stipend": false,
105+
"description": "Deeproot started in 2000. Their main product is deepOfix Mail Server and is based on Debian."
99106
"location": ["Remote"]
100107
},
101108
{
@@ -110,7 +117,8 @@
110117
"February"
111118
],
112119
"stipend": true,
113-
"location": ["Remote"]
120+
"location": ["Remote"],
121+
"description": "An organisation dedicated to network functions virtualisation"
114122
},
115123
{
116124
"id": 9,
@@ -121,7 +129,8 @@
121129
"internship_period": 3,
122130
"application_period": ["February", "March", "April"],
123131
"stipend": true,
124-
"location": ["Remote"]
132+
"location": ["Remote"],
133+
"description": "Outreachy started in 2006, wrapped up, and started up again in 2010. I did share an interview with Maria Glukova which shared her experience. Twice a year it runs and has in excess of 30+ interns per year from 20+ projects including Debian, Redhat, OpenStack, and many others."
125134
},
126135
{
127136
"id": 10,
@@ -132,7 +141,8 @@
132141
"internship_period": 3,
133142
"application_period": ["June", "July"],
134143
"stipend": false,
135-
"location": ["Remote"]
144+
"location": ["Remote"],
145+
"description": "Technical writers can spend three months working closely with an open-source community. Bring their technical writing expertise to the project’s documentation. Google uses Payoneer to pay a stipend to technical writers who have successfully completed their Season of Docs projects."
136146
},
137147
{
138148
"id": 11,
@@ -143,6 +153,7 @@
143153
"internship_period": null,
144154
"application_period": [],
145155
"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."
146157
"location": ["Remote"]
147158
},
148159
{

0 commit comments

Comments
 (0)