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

Commit bd16772

Browse files
Change Topics styles and add course Features (#158)
* Six months course page alterations * Change Topics styles and add course Features (#157) * Change Topics styles and add course Features * make features a step down Co-authored-by: Abhishek Kumar <[email protected]>
1 parent 32a7ba0 commit bd16772

File tree

23 files changed

+1979
-895
lines changed

23 files changed

+1979
-895
lines changed
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 9 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

src/Routes.js

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,45 @@ const renderRoutes = () => (
214214
)}
215215
/>
216216

217+
<Route
218+
path={`/six-months-fullstack-webdev-with-js`}
219+
exact
220+
render={props => (
221+
<MainLayout>
222+
<CoursePage
223+
course={coursesContent.training.webDevelopment}
224+
{...props}
225+
/>
226+
</MainLayout>
227+
)}
228+
/>
229+
230+
<Route
231+
path={`/six-months-competitive-programming-with-java`}
232+
exact
233+
render={props => (
234+
<MainLayout>
235+
<CoursePage
236+
course={coursesContent.training.competitiveJava}
237+
{...props}
238+
/>
239+
</MainLayout>
240+
)}
241+
/>
242+
243+
<Route
244+
path={`/six-months-machine-learning-with-python`}
245+
exact
246+
render={props => (
247+
<MainLayout>
248+
<CoursePage
249+
course={coursesContent.training.machineLearning}
250+
{...props}
251+
/>
252+
</MainLayout>
253+
)}
254+
/>
255+
217256
{/* Privacy, refund policies, and terms and conditions routes */}
218257
<Route
219258
path={`/privacy`}

src/components/Course/CourseCardTemplate1.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ const useStyles = makeStyles(theme => ({
9797
},
9898
bottomCardContent: {
9999
margin: '0px 8px 18px 0px',
100-
padding: '4px 8px',
100+
padding: '2px 4px',
101101
border: '1px solid',
102-
borderColor: '#A6A6A6',
102+
borderColor: '#A60000',
103103
borderRadius: '5px',
104104
width: 'min-content'
105105
}
@@ -120,7 +120,7 @@ export default function CourseCard({ course }) {
120120
<Box display="flex" flexDirection="column">
121121
<Typography
122122
align="left"
123-
variant="h5"
123+
variant="h4"
124124
style={{
125125
color: '#0085FF',
126126
paddingTop: '14px'
@@ -130,7 +130,7 @@ export default function CourseCard({ course }) {
130130
</Typography>
131131
<Typography
132132
align="left"
133-
variant="h6"
133+
variant="h5"
134134
color="secondary"
135135
style={{
136136
margin: '12px 0'
@@ -139,7 +139,7 @@ export default function CourseCard({ course }) {
139139
{course.domain}
140140
</Typography>
141141

142-
<Typography variant="h4" align="left" style={{ fontWeight: 500 }}>
142+
<Typography variant="h4" align="left" style={{ fontWeight: 700 }}>
143143
{course.title}
144144
</Typography>
145145
</Box>
@@ -159,7 +159,7 @@ export default function CourseCard({ course }) {
159159
{course.tags.slice(0, 3).map((tag, index) => (
160160
<div className={classes.bottomCardContent} variant="outlined">
161161
<Typography
162-
style={{ color: '#a6a6a6', fontWeight: 500 }}
162+
style={{ color: '#a60000', fontWeight: 500 }}
163163
variant="caption"
164164
noWrap={true}
165165
>

0 commit comments

Comments
 (0)