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

Commit b386c70

Browse files
resolved conflicts and some minor tweaks
1 parent 2b37c1d commit b386c70

File tree

4 files changed

+4
-93
lines changed

4 files changed

+4
-93
lines changed

src/components/SidePanel/Projects.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const useStyles = makeStyles(theme => ({
1515
}
1616
}));
1717

18-
function Projects({ projects, flat }) {
18+
function Projects({title, projects, flat }) {
1919
const classes = useStyles();
2020

2121
return (
@@ -39,7 +39,7 @@ function Projects({ projects, flat }) {
3939
margin: '12px 0px 12px 8px'
4040
}}
4141
>
42-
Learn To Make From this Course
42+
{title}
4343
</Typography>
4444
{projects.map((project, index) => {
4545
return <Project project={project} />;

src/views/pages/Courses/Major.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export default function Major({ course }) {
106106

107107
<Hidden smDown>
108108
<Box display="flex" flexDirection="column" mb={3} ml={2}>
109-
<Projects projects={course.projects} />
109+
<Projects title="Learn To Make From This Course" projects={course.projects} />
110110
</Box>
111111
</Hidden>
112112
</Box>

src/views/pages/HomeView/Hero.js

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -11,41 +11,18 @@ function Hero({ className, ...rest }) {
1111
return (
1212
<div className={className} {...rest}>
1313
<HeroWithLogo
14-
<<<<<<< HEAD
15-
<<<<<<< HEAD
16-
style={{ height: '420px' }}
17-
=======
1814
style={{height: "420px"}}
19-
>>>>>>> fixed pixel perfect things
20-
=======
21-
style={{ height: '420px' }}
22-
>>>>>>> fixed netlify build with removing all unused variables
2315
title="Learn for Cause"
2416
title2="Code for Cause"
2517
imageUrl="/static/home/codeforcause.svg"
2618
firstComponent={
27-
<<<<<<< HEAD
28-
<<<<<<< HEAD
29-
=======
30-
>>>>>>> fixed netlify build with removing all unused variables
3119
<>
3220
<Typography variant="body1">
3321
An initiative to help the community by providing training,
3422
guidance and awareness about the possibilities in the software
3523
field to students & professionals.
3624
</Typography>
3725
<div style={{ height: '16px' }}></div>
38-
<<<<<<< HEAD
39-
=======
40-
<><Typography variant="body1">
41-
An initiative to help the community by providing training, guidance
42-
and awareness about the possibilities in the software field to
43-
students & professionals.
44-
</Typography>
45-
<div style={{height:"16px"}}></div>
46-
>>>>>>> fixed pixel perfect things
47-
=======
48-
>>>>>>> fixed netlify build with removing all unused variables
4926
</>
5027
}
5128
secondComponent={

src/views/pages/WorkshopView/WorkshopContent.js

Lines changed: 1 addition & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -17,72 +17,6 @@ const useStyles = makeStyles(theme => ({
1717
[theme.breakpoints.down('md')]: {
1818
padding: theme.spacing(10, 3, 10)
1919
}
20-
},
21-
cardGrid: {
22-
paddingTop: theme.spacing(8),
23-
paddingBottom: theme.spacing(8)
24-
},
25-
card: {
26-
height: '100%',
27-
display: 'flex',
28-
flexDirection: 'column',
29-
borderRadius: '10px',
30-
margin: '12px'
31-
},
32-
cardMedia: {
33-
width: '100%',
34-
height: 'auto'
35-
// paddingTop: "56.25%", // 16:9
36-
},
37-
cardContent: {},
38-
chip: {
39-
colorPrimary: '#B20000'
40-
},
41-
extraMargin: {
42-
marginTop: '15px',
43-
marginBottom: '0'
44-
},
45-
btn: {
46-
textTransform: 'none'
47-
},
48-
paddingCls: {
49-
paddingLeft: '10px',
50-
paddingRight: '10px'
51-
},
52-
paddingClsxs: {
53-
padding: 0
54-
},
55-
iconSize: {
56-
fontSize: '32px'
57-
},
58-
text: {
59-
color: '#FFFFFF'
60-
},
61-
avatarLarge: {
62-
width: theme.spacing(16),
63-
height: theme.spacing(16),
64-
margin: theme.spacing(4, 0, 2)
65-
},
66-
67-
avatarGrid: {
68-
display: 'flex',
69-
flexDirection: 'column',
70-
alignItems: 'center',
71-
justifyContent: 'center',
72-
padding: '5px'
73-
},
74-
75-
slide: {
76-
perspective: 0, // create perspective
77-
overflow: 'hidden',
78-
// relative is a must if you want to create overlapping layers in children
79-
position: 'relative'
80-
},
81-
background: {
82-
width: '100%',
83-
height: 'auto',
84-
backgroundPosition: 'bottom center',
85-
backgroundSize: 'cover'
8620
}
8721
}));
8822

@@ -108,7 +42,7 @@ export default function WorkshopContent({ details }) {
10842

10943
<Hidden smDown>
11044
<Box display="flex" flexDirection="column" mb={3} ml={2}>
111-
<Projects projects={details.projects} />
45+
<Projects title="Our Previous Workshops" projects={details.projects} />
11246
</Box>
11347
</Hidden>
11448
</Box>

0 commit comments

Comments
 (0)