Skip to content
This repository was archived by the owner on Mar 7, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/components/AboutCard/MainCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const useStyles = makeStyles(theme => ({
padding: 0
},
card: {
minHeight: '628px',
backgroundColor: '#EEF5FF',
borderRadius: '10px',
padding: '50px 30px'
Expand Down
10 changes: 6 additions & 4 deletions src/components/AboutCard/SubCard.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { Grid, Typography, makeStyles } from '@material-ui/core';
import { Grid, Typography, makeStyles, Box } from '@material-ui/core';

const useStyles = makeStyles(theme => ({
root: {
Expand All @@ -20,14 +20,16 @@ const SubCard = ({ point }) => {
return (
<Grid container className={classes.root}>
<Grid item md={2}>
<img alt="Select file" height="55px" src={point.img} />
<img alt="title-img" style={{ marginTop: '6px' }} height="55px" src={point.img} />
</Grid>
<Grid item md={10}>

<Typography
className={classes.extraMargin}
align="justify"
variant="subtitle2"
variant="subtitle1"
>
<Box component="span" style={{ fontWeight: 'bold' }} display="inline-block">{`${point.contentTitle} :`}</Box>
{` `}
{point.content}
</Typography>
</Grid>
Expand Down
6 changes: 5 additions & 1 deletion src/views/pages/HomeView/CTA.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ const useStyles = makeStyles(theme => ({
},
primeBtn: {
backgroundColor: '#A60000',
color: '#ffffff'
color: '#ffffff',
'&:hover': {
backgroundColor: '#A60000',
opacity: '0.8',
}
},
secondaryBtn: {
borderColor: '#A60000',
Expand Down
19 changes: 6 additions & 13 deletions src/views/pages/HomeView/Events.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import PropTypes from 'prop-types';
import clsx from 'clsx';

import {
Link,
Box,
Button,
Container,
Expand Down Expand Up @@ -63,6 +62,10 @@ const useStyles = makeStyles((theme) => ({
[theme.breakpoints.down('sm')]: {
width: '100%',
marginBottom: '20px'
},
'&:hover': {
backgroundColor: '#000',
opacity: '0.8',
}
},
btn: {
Expand Down Expand Up @@ -192,18 +195,8 @@ function Events({ className, ...rest }) {
</Grid>
</Box>
<Typography className={classes.secondaryText}>
Our Youtube Channel for
<Link
style={{
color: '#a60000'
}}
component="a"
href="https://www.youtube.com/c/CodeforCause/videos"
target="_blank"
>
{` Previous Webinars`}
</Link>
</Typography>
Our Youtube Channel for Upcoming Webinars
</Typography>
</div>
</Grid>
</Grid>
Expand Down
12 changes: 7 additions & 5 deletions src/views/pages/HomeView/Hero.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,15 @@ const useStyles = makeStyles(theme => ({
hide: {
display: 'none'
},
Button: {
btn: {
backgroundColor: '#A60000',
color: '#ffffff',
textTransform: 'capitalize',
[theme.breakpoints.down('sm')]: {
width: '100%'
},
'&:hover': {
backgroundColor: 'rgba(166, 0, 0, 0.8)',
}
}
}));
Expand All @@ -81,11 +84,10 @@ function Hero({ className, ...rest }) {
className={clsx(classes.extraPadding, className)}
>
<Typography
variant="h4"
variant="h1"
gutterBottom
style={{ color: '#A60000' }}
>
Welcome to
Learn for Cause
</Typography>
<Typography variant="h1">Code for Cause</Typography>
<Hidden mdUp>
Expand All @@ -109,7 +111,7 @@ function Hero({ className, ...rest }) {
<Grid container xs={12} md={12}>
<Grid item xs={12} md={12}>
<Button
className={classes.Button}
className={classes.btn}
component="a"
href="https://youtube.com/codeforcause"
target="_blank"
Expand Down
11 changes: 9 additions & 2 deletions src/views/pages/HomeView/HomeViewData.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const mentors = [
},
{
id: '6',
name: 'Bharat Bhardwaj',
name: 'Bharat Kumar',
avatar: '/static/images/members/bharat.png',
linkedin: 'https://www.linkedin.com/in/bharatbbhardwaj/'
}
Expand Down Expand Up @@ -105,18 +105,21 @@ export const openKnowledgeContent = {
{
id: '1',
img: '/static/images/icons/ok1.svg',
contentTitle: 'Live Classes',
content:
'We host live classes and workshops regularly with focus on hands-on learning, which is crucial in gaining real-world software development experience.'
},
{
id: '2',
img: '/static/images/icons/ok2.svg',
contentTitle: 'Doubt Resolution',
content:
'Get connected to a large group of developers and open-source enthusiasts to get all your doubts resolved - whether technical, career-oriented or soft skills.'
},
{
id: '3',
img: '/static/images/icons/ok3.svg',
contentTitle: 'Career Guidance',
content:
'Learn from the experiences of the community members in the industry which will help you with career guidance for the path best suited to you.'
}
Expand All @@ -131,20 +134,24 @@ export const openSourceContent = {
{
id: '1',
img: '/static/images/icons/os1.svg',
contentTitle: 'Develop Products',
content:
'Practical development experience is crucial in becoming a pragmatic programmer. Join us and develop products to enhance your skill set for real.'
},
{
id: '2',
img: '/static/images/icons/os2.svg',
contentTitle: 'Collaborative Coding',
content:
'When talking about graphs, the edges matter as much as the nodes. We follow Collaborative Working that helps you generate showcasable work.'
},
{
id: '3',
img: '/static/images/icons/os3.svg',
contentTitle: 'Networking Events',
content:
'Software development professionals flourish by networking. Get connected to people who matter by our online/offline events.'

'As we already know software development professionals flourish by networking. Get connected to people who matter by our online/offline events.'
}
]
};
Expand Down
4 changes: 2 additions & 2 deletions src/views/pages/HomeView/MainCards.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ function MainCards({ className, ...rest }) {
return (
<Container className={clsx(classes.root, className)} {...rest}>
<Grid alignItems="center" container justify="center" spacing={8}>
<Grid item md={6} xs={12}>
<Grid item md={6} sm={6} xs={12}>
<MainCard content={openKnowledgeContent} />
</Grid>
<Grid item md={6} xs={12}>
<Grid item md={6} sm={6} xs={12}>
<MainCard content={openSourceContent} />
</Grid>
</Grid>
Expand Down
9 changes: 4 additions & 5 deletions src/views/pages/HomeView/Promoters.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function Promoters({ className, ...rest }) {
justify="center"
alignItems="center"
>
<Grid item xs={12} md={4}>
<Grid item xs={12} md={5}>
<Typography variant="h4" gutterBottom>
Our mentors are associated with
</Typography>
Expand All @@ -50,13 +50,12 @@ function Promoters({ className, ...rest }) {
<Grid item xs={6} md={2}>
<img alt="Logo" src="/static/images/promoters/microsoft.svg" />
</Grid>
<Grid item xs={6} md={2}>
<img alt="Logo" src="/static/images/promoters/ibm.svg" />
</Grid>

<Grid item xs={6} md={2}>
<img alt="Logo" src="/static/images/promoters/redhat.svg" />
</Grid>
<Grid item xs={6} md={1}>
<img alt="Logo" src="/static/images/promoters/ibm.svg" />
</Grid>
</Grid>
</Container>
</div>
Expand Down
3 changes: 2 additions & 1 deletion src/views/pages/HomeView/WatchVideos.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ const useStyles = makeStyles(theme => ({
height: 90,
'&:hover': {
scale: 1.2,
transition: 'ease-in .2s'
transition: 'ease-in .2s',
opacity: '0.8'
},
[theme.breakpoints.down('sm')]: {
height: 120,
Expand Down