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

Commit d09c4b1

Browse files
Merge pull request #174 from Abhishek-kumar09/r
Add training course to courses View.
2 parents cd1c049 + 57f667c commit d09c4b1

File tree

1 file changed

+41
-1
lines changed

1 file changed

+41
-1
lines changed

src/views/pages/CoursesView/Courses.js

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,19 +101,59 @@ const useStyles = makeStyles(theme => ({
101101
export default function Courses() {
102102
const classes = useStyles();
103103

104+
const training = coursesContent.training;
104105
const foundation = coursesContent.foundation;
105106
const advanced = coursesContent.advanced;
106107

107108
return (
108109
<Grid container className={classes.root}>
109-
<Grid item lg={12} md={12} sm={12} xs={12}>
110+
<Grid
111+
item
112+
lg={12}
113+
md={12}
114+
sm={12}
115+
xs={12}
116+
style={{
117+
marginTop: '48px'
118+
}}
119+
>
110120
<Typography
111121
variant="h1"
112122
align="center"
113123
color="textPrimary"
114124
style={{
115125
marginBottom: '20px'
116126
}}
127+
>
128+
Six Months Training
129+
</Typography>
130+
</Grid>
131+
132+
<Grid container>
133+
<Grid
134+
item
135+
lg={12}
136+
md={12}
137+
sm={12}
138+
xs={12}
139+
align="center"
140+
display="flex"
141+
justifyContent="center"
142+
alignItems="center"
143+
>
144+
<CoursesGrid courses={training} />
145+
</Grid>
146+
</Grid>
147+
148+
<Grid item lg={12} md={12} sm={12} xs={12}>
149+
<Typography
150+
variant="h1"
151+
align="center"
152+
color="textPrimary"
153+
style={{
154+
marginBottom: '20px',
155+
marginTop: '48px'
156+
}}
117157
>
118158
Foundational Courses
119159
</Typography>

0 commit comments

Comments
 (0)