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

Commit a67dc37

Browse files
Add workshop implementation
1 parent 85debe1 commit a67dc37

File tree

13 files changed

+573
-2
lines changed

13 files changed

+573
-2
lines changed

package-lock.json

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
},
3030
"dependencies": {
3131
"@date-io/core": "^2.5.0",
32+
"@date-io/date-fns": "^1.3.13",
3233
"@date-io/moment": "^1.3.13",
3334
"@emotion/core": "^10.0.28",
3435
"@emotion/styled": "^10.0.27",
@@ -59,6 +60,7 @@
5960
"change-case": "^4.1.1",
6061
"chart.js": "^2.9.3",
6162
"clsx": "^1.1.0",
63+
"date-fns": "^2.0.0-beta.5",
6264
"draft-js": "^0.11.5",
6365
"firebase": "^7.19.1",
6466
"formik": "^2.1.4",

src/Routes.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import CoursesView from 'src/views/pages/CoursesView';
1010
import ProfileView from 'src/views/pages/ProfileView';
1111
import ApplicationsView from 'src/views/pages/ApplicationsView';
1212
import Error404View from 'src/views/pages/Error404View';
13+
import WorkshopView from 'src/views/pages/WorkshopView';
1314

1415
import MachineLearningView from 'src/views/pages/Courses/MachineLearningView';
1516
import AlgoJavaView from 'src/views/pages/Courses/AlgoJavaView';
@@ -82,6 +83,15 @@ const renderRoutes = () => (
8283
</MainLayout>
8384
)}
8485
/>
86+
<Route
87+
path="/workshops"
88+
exact
89+
render={props => (
90+
<MainLayout>
91+
<WorkshopView {...props} />
92+
</MainLayout>
93+
)}
94+
/>
8595

8696
<Route
8797
path={`/machine-learning-using-python`}

src/constants/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ export const horizontalGradient =
99
'linear-gradient(270.72deg, #180255 0.25%, #000000 97.54%)';
1010

1111
export const verticalGradient =
12-
'linear-gradient(180.72deg, #180255 0.25%, #000000 97.54%)';
12+
'linear-gradient(180.72deg, #180255 0.25%, #000000 85.54%)';
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
const worksop = {
2+
policies: {
3+
title: 'Workshop Policies',
4+
body: [
5+
"What is Lorem Ipsum Lorem Ipsum is simply dummy text of text of text of ",
6+
"What is Lorem Ipsum Lorem Ipsum is simply text of",
7+
"What is Lorem Ipsum Lorem Ipsum is simply dummy text text of",
8+
"What is Lorem Ipsum Lorem Ipsum text of"
9+
]
10+
},
11+
must_do: {
12+
title: 'Workshop Requestors Must Do',
13+
body: [
14+
"What is Lorem Ipsum Lorem Ipsum is simply dummy text of text of text of of text of text of of text of text of sfsfterwdvyh",
15+
"What is Lorem Ipsum Lorem Ipsum is simply text of",
16+
"What is Lorem Ipsum Lorem Ipsum is simply dummy text text of",
17+
"What is Lorem Ipsum Lorem Ipsum text of of text of text of of text of text of"
18+
]
19+
},
20+
projects: [
21+
{
22+
title: 'Mobile App Development',
23+
img: '/static/images/courses/projects/split.png'
24+
},
25+
{
26+
title: 'File Encryption and Compression',
27+
img: '/static/images/courses/projects/security.jpg'
28+
},
29+
{
30+
title: 'Api calls',
31+
img: '/static/images/courses/projects/apicall.jpg'
32+
},
33+
{
34+
title: 'Git Version Control Replica',
35+
img: '/static/images/courses/projects/git.png'
36+
},
37+
{
38+
title: 'Mobile App Development',
39+
img: '/static/images/courses/projects/split.png'
40+
},
41+
{
42+
title: 'Mobile App Development',
43+
img: '/static/images/courses/projects/split.png'
44+
},
45+
]
46+
};
47+
48+
export default worksop;

src/views/pages/Courses/Major.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Grid, Box, Hidden } from '@material-ui/core';
44
import Details from './partials/Details';
55
import Overview from './partials/Overview';
66
import Topics from './partials/Topics';
7-
import Projects from './partials/Projects';
7+
import Projects from '../../../components/SidePanel/Projects';
88

99
const useStyles = makeStyles(theme => ({
1010
icon: {

0 commit comments

Comments
 (0)