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

Commit

Permalink
Change Topics styles and add course Features (#158)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
KeenWarrior and Abhishek-kumar09 authored Nov 15, 2020
1 parent 32a7ba0 commit bd16772
Show file tree
Hide file tree
Showing 23 changed files with 1,979 additions and 895 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/static/images/courses/trainingLogos/0.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions public/static/images/courses/trainingLogos/1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/static/images/courses/trainingLogos/2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/static/images/courses/trainingLogos/3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions src/Routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,45 @@ const renderRoutes = () => (
)}
/>

<Route
path={`/six-months-fullstack-webdev-with-js`}
exact
render={props => (
<MainLayout>
<CoursePage
course={coursesContent.training.webDevelopment}
{...props}
/>
</MainLayout>
)}
/>

<Route
path={`/six-months-competitive-programming-with-java`}
exact
render={props => (
<MainLayout>
<CoursePage
course={coursesContent.training.competitiveJava}
{...props}
/>
</MainLayout>
)}
/>

<Route
path={`/six-months-machine-learning-with-python`}
exact
render={props => (
<MainLayout>
<CoursePage
course={coursesContent.training.machineLearning}
{...props}
/>
</MainLayout>
)}
/>

{/* Privacy, refund policies, and terms and conditions routes */}
<Route
path={`/privacy`}
Expand Down
12 changes: 6 additions & 6 deletions src/components/Course/CourseCardTemplate1.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ const useStyles = makeStyles(theme => ({
},
bottomCardContent: {
margin: '0px 8px 18px 0px',
padding: '4px 8px',
padding: '2px 4px',
border: '1px solid',
borderColor: '#A6A6A6',
borderColor: '#A60000',
borderRadius: '5px',
width: 'min-content'
}
Expand All @@ -120,7 +120,7 @@ export default function CourseCard({ course }) {
<Box display="flex" flexDirection="column">
<Typography
align="left"
variant="h5"
variant="h4"
style={{
color: '#0085FF',
paddingTop: '14px'
Expand All @@ -130,7 +130,7 @@ export default function CourseCard({ course }) {
</Typography>
<Typography
align="left"
variant="h6"
variant="h5"
color="secondary"
style={{
margin: '12px 0'
Expand All @@ -139,7 +139,7 @@ export default function CourseCard({ course }) {
{course.domain}
</Typography>

<Typography variant="h4" align="left" style={{ fontWeight: 500 }}>
<Typography variant="h4" align="left" style={{ fontWeight: 700 }}>
{course.title}
</Typography>
</Box>
Expand All @@ -159,7 +159,7 @@ export default function CourseCard({ course }) {
{course.tags.slice(0, 3).map((tag, index) => (
<div className={classes.bottomCardContent} variant="outlined">
<Typography
style={{ color: '#a6a6a6', fontWeight: 500 }}
style={{ color: '#a60000', fontWeight: 500 }}
variant="caption"
noWrap={true}
>
Expand Down
Loading

0 comments on commit bd16772

Please sign in to comment.