Skip to content
This repository was archived by the owner on Mar 7, 2024. It is now read-only.

Commit ee4f9a3

Browse files
Run npm run format to align code (#85)
1 parent 7b43807 commit ee4f9a3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+4727
-751
lines changed

firebase.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
{
22
"hosting": {
33
"public": "build",
4-
"ignore": [
5-
"firebase.json",
6-
"**/.*",
7-
"**/node_modules/**"
8-
]
4+
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"]
95
}
106
}

src/Routes.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,6 @@ const renderRoutes = () => (
132132
</MainLayout>
133133
)}
134134
/>
135-
136-
137135
</Switch>
138136
</Suspense>
139137
);

src/actions/accountActions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ export const UPDATE_PROFILE = '@account/update-profile';
1212

1313
export function login() {
1414
return async dispatch => {
15-
dispatch({ type: LOGIN_REQUEST });
15+
dispatch({ type: LOGIN_REQUEST });
1616
};
1717
}
1818

1919
export function dismissLogin() {
2020
return async dispatch => {
21-
dispatch({ type: DISMISS_LOGIN });
21+
dispatch({ type: DISMISS_LOGIN });
2222
};
2323
}
2424

src/components/auth/Auth.js

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,16 @@ function Auth({ children }) {
1414
});
1515

1616
authService.handleAuthentication();
17-
authService.firebase
18-
.auth()
19-
.onAuthStateChanged((user) => {
20-
dispatch(setUserData(user));
21-
user.getIdToken().then((token) => {
22-
authService.setSession(token);
23-
})
17+
authService.firebase.auth().onAuthStateChanged(user => {
18+
dispatch(setUserData(user));
19+
user.getIdToken().then(token => {
20+
authService.setSession(token);
2421
});
25-
22+
});
2623
};
2724
initAuth();
28-
2925
}, [dispatch]);
3026

31-
3227
return children;
3328
}
3429

src/data/HomeViewData/HomeViewData.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ export const events = [
2323
type: 'Webinar',
2424
description: 'Empowering the Hacker Community - QnA with Mike Swift',
2525
date_time: 'Sept 7, 5:30pm IST'
26-
},
27-
26+
}
2827
];
2928

3029
// mentors data----------------

src/data/Members.js

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
11
// mentors data----------------
22

33
export const members = {
4-
'anuj' : {
5-
name: 'Anuj Garg',
6-
position: 'Instructor',
7-
avatar: '/static/images/members/anuj.png',
8-
linkedin: 'https://www.linkedin.com/in/keenwarrior/'
9-
},
10-
'gaurav' : {
11-
name: 'Gaurav Beriwal',
12-
position: 'Instructor',
13-
avatar: '/static/images/members/gaurav.png',
14-
linkedin: 'https://www.linkedin.com/in/gauravberiwal/'
15-
},
16-
'kunal' : {
17-
name: 'Kunal Kushwaha',
18-
position: 'Instructor',
19-
avatar: '/static/images/members/kunal.png',
20-
linkedin: 'https://www.linkedin.com/in/kunal-kushwaha/'
21-
},
22-
'ganga' : {
23-
name: 'Ganga Chaturvedi',
24-
avatar: '/static/images/members/ganga.png',
25-
position: 'Instructor',
26-
linkedin: 'https://www.linkedin.com/in/gangachatrvedi/'
27-
},
28-
'ekta' : {
29-
name: 'Ekta Mishra',
30-
avatar: '/static/images/members/ekta.png',
31-
position: 'Instructor',
32-
linkedin: 'https://www.linkedin.com/in/darecoder/'
33-
},
34-
'bharat' : {
35-
name: 'Bharat Kumar',
36-
position: 'Instructor',
37-
avatar: '/static/images/members/bharat.png',
38-
linkedin: 'https://www.linkedin.com/in/bharatbbhardwaj/'
39-
}
40-
};
4+
anuj: {
5+
name: 'Anuj Garg',
6+
position: 'Instructor',
7+
avatar: '/static/images/members/anuj.png',
8+
linkedin: 'https://www.linkedin.com/in/keenwarrior/'
9+
},
10+
gaurav: {
11+
name: 'Gaurav Beriwal',
12+
position: 'Instructor',
13+
avatar: '/static/images/members/gaurav.png',
14+
linkedin: 'https://www.linkedin.com/in/gauravberiwal/'
15+
},
16+
kunal: {
17+
name: 'Kunal Kushwaha',
18+
position: 'Instructor',
19+
avatar: '/static/images/members/kunal.png',
20+
linkedin: 'https://www.linkedin.com/in/kunal-kushwaha/'
21+
},
22+
ganga: {
23+
name: 'Ganga Chaturvedi',
24+
avatar: '/static/images/members/ganga.png',
25+
position: 'Instructor',
26+
linkedin: 'https://www.linkedin.com/in/gangachatrvedi/'
27+
},
28+
ekta: {
29+
name: 'Ekta Mishra',
30+
avatar: '/static/images/members/ekta.png',
31+
position: 'Instructor',
32+
linkedin: 'https://www.linkedin.com/in/darecoder/'
33+
},
34+
bharat: {
35+
name: 'Bharat Kumar',
36+
position: 'Instructor',
37+
avatar: '/static/images/members/bharat.png',
38+
linkedin: 'https://www.linkedin.com/in/bharatbbhardwaj/'
39+
}
40+
};

src/data/campusLeaders/CLViewData.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ export const benefits = [
2525
export const values = [
2626
{
2727
id: '1',
28-
detail: 'He/she shall be entusiastic about going social and build & contribute for the community'
28+
detail:
29+
'He/she shall be entusiastic about going social and build & contribute for the community'
2930
},
3031
{
3132
id: '2',
@@ -34,7 +35,8 @@ export const values = [
3435
},
3536
{
3637
id: '3',
37-
detail: 'He/she should be connecting to the resources available in community that might help in building a better & more helpful community'
38+
detail:
39+
'He/she should be connecting to the resources available in community that might help in building a better & more helpful community'
3840
},
3941
{
4042
id: '4',

src/data/colleges.json

Lines changed: 4006 additions & 1 deletion
Large diffs are not rendered by default.

src/data/courses/advanced/CompetitiveJava.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,6 @@ export const competitiveJava = {
233233
'Game of chocolates',
234234
'Robot problems'
235235
]
236-
237236
}
238237
],
239238
slides: [

src/data/courses/advanced/MachineLearning.js

Lines changed: 27 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,24 @@ export const machineLearning = {
99
mentors: ['anuj', 'kunal'],
1010
schedule: [
1111
{
12-
courseId: "mlpy1020",
13-
dates: "20th Oct - 20th Dec",
14-
days: "Sat, Sun, Wed, Thur",
15-
timing: "08:30 PM - 10:30 PM (IST)",
16-
link: "",
17-
priceCut: "₹ 22,000",
18-
price: "₹ 6,850",
19-
active: true,
12+
courseId: 'mlpy1020',
13+
dates: '20th Oct - 20th Dec',
14+
days: 'Sat, Sun, Wed, Thur',
15+
timing: '08:30 PM - 10:30 PM (IST)',
16+
link: '',
17+
priceCut: '₹ 22,000',
18+
price: '₹ 6,850',
19+
active: true
2020
},
2121
{
22-
courseId: "mlpy0121",
23-
dates: "10th Jan - 10th Apr",
24-
days: "Sat, Sun, Wed",
25-
timing: "06:00 PM - 08:00 PM (IST)",
26-
link: "",
27-
priceCut: "₹ 15,000",
28-
price: "₹ 8,850",
29-
active: false,
22+
courseId: 'mlpy0121',
23+
dates: '10th Jan - 10th Apr',
24+
days: 'Sat, Sun, Wed',
25+
timing: '06:00 PM - 08:00 PM (IST)',
26+
link: '',
27+
priceCut: '₹ 15,000',
28+
price: '₹ 8,850',
29+
active: false
3030
}
3131
],
3232
projects: [
@@ -158,30 +158,27 @@ export const machineLearning = {
158158
'GAN',
159159
'Simmulators',
160160
'Reinforcement Learning',
161-
'Genetic Algorithm',
162-
163-
161+
'Genetic Algorithm'
164162
],
165163
overview: [
166-
"Machine learning is the science of getting computers to act without being explicitly programmed. In the past decade, machine learning has given us self-driving cars, practical speech recognition, effective web search, and a vastly improved understanding of the human genome.",
167-
"We follow the onion peeling approach to create a level order approach towards such great technologies. You do not have to mug up a lot of formulas and maths to become great at machine learning. Understanding what can be done and how to proceed with understanding what is important and start exploring it the right way. We will guide you to build your career in machine learning."
164+
'Machine learning is the science of getting computers to act without being explicitly programmed. In the past decade, machine learning has given us self-driving cars, practical speech recognition, effective web search, and a vastly improved understanding of the human genome.',
165+
'We follow the onion peeling approach to create a level order approach towards such great technologies. You do not have to mug up a lot of formulas and maths to become great at machine learning. Understanding what can be done and how to proceed with understanding what is important and start exploring it the right way. We will guide you to build your career in machine learning.'
168166
],
169167
faqs: [
170168
{
171-
title:
172-
'Will this help me with my career path?',
169+
title: 'Will this help me with my career path?',
173170
answer:
174171
'Yes. If you learn well, all that the course intends to teach, you’ll be able to impress quite a few interviewers across quite a few fine companies.'
175-
}, {
176-
title:
177-
'How your doubts will get resolved?',
172+
},
173+
{
174+
title: 'How your doubts will get resolved?',
178175
answer:
179176
'We have an army of TA’s who are available in different time slots to resolve all your doubts. You can also interact with faculty through Slack.'
180-
}, {
181-
title:
182-
'Is this course suitable for me?',
177+
},
178+
{
179+
title: 'Is this course suitable for me?',
183180
answer:
184181
'Definitely! If you want to shift to software developer career path, then this course is perfect for you!'
185-
},
182+
}
186183
]
187184
};

0 commit comments

Comments
 (0)