|
| 1 | +import React from 'react'; |
| 2 | +import PropTypes from 'prop-types'; |
| 3 | +import clsx from 'clsx'; |
| 4 | + |
| 5 | +import { |
| 6 | + Box, |
| 7 | + Container, |
| 8 | + Grid, |
| 9 | + Hidden, |
| 10 | + Typography, |
| 11 | + makeStyles |
| 12 | +} from '@material-ui/core'; |
| 13 | + |
| 14 | + |
| 15 | +const useStyles = makeStyles(theme => ({ |
| 16 | + root: { |
| 17 | + background: '#FFF', |
| 18 | + paddingTop: 80, |
| 19 | + paddingBottom: 60, |
| 20 | + paddingLeft: 70, |
| 21 | + paddingRight: 70, |
| 22 | + [theme.breakpoints.down('md')]: { |
| 23 | + paddingLeft: 15, |
| 24 | + paddingRight: 15 |
| 25 | + } |
| 26 | + }, |
| 27 | + extraPadding: { |
| 28 | + padding: '0 70px 0px 0px', |
| 29 | + textAlign: 'justify', |
| 30 | + [theme.breakpoints.down('sm')]: { |
| 31 | + padding: '0' |
| 32 | + } |
| 33 | + }, |
| 34 | + image: { |
| 35 | + perspectiveOrigin: 'left center', |
| 36 | + transformStyle: 'preserve-3d', |
| 37 | + perspective: 1500, |
| 38 | + '& > img': { |
| 39 | + maxWidth: '100%', |
| 40 | + height: 'auto', |
| 41 | + backfaceVisibility: 'hidden' |
| 42 | + }, |
| 43 | + [theme.breakpoints.down('md')]: { |
| 44 | + alignItems: 'center', |
| 45 | + display: 'flex', |
| 46 | + flexDirection: 'column', |
| 47 | + height: '100%', |
| 48 | + justifyContent: 'center' |
| 49 | + } |
| 50 | + }, |
| 51 | + hide: { |
| 52 | + display: 'none' |
| 53 | + }, |
| 54 | + btn: { |
| 55 | + backgroundColor: '#A60000', |
| 56 | + color: '#ffffff', |
| 57 | + textTransform: 'capitalize', |
| 58 | + [theme.breakpoints.down('sm')]: { |
| 59 | + width: '100%' |
| 60 | + }, |
| 61 | + '&:hover': { |
| 62 | + backgroundColor: 'rgba(166, 0, 0, 0.8)' |
| 63 | + } |
| 64 | + }, |
| 65 | + listPointers: { |
| 66 | + fontSize: '45px', |
| 67 | + marginRight: '5px' |
| 68 | + } |
| 69 | +})); |
| 70 | + |
| 71 | +function StandsFor({ className, ...rest }) { |
| 72 | + const classes = useStyles(); |
| 73 | + |
| 74 | + return ( |
| 75 | + <div className={clsx(classes.root, className)} {...rest}> |
| 76 | + <Container maxWidth="lg"> |
| 77 | + <Typography |
| 78 | + style={{ marginTop: '10px' }} |
| 79 | + variant="h2" |
| 80 | + align="center" |
| 81 | + gutterBottom |
| 82 | + color="textPrimary" |
| 83 | + > |
| 84 | + What Does the Campus Leader Stands For |
| 85 | + </Typography> |
| 86 | + <Grid container spacing={3} style={{ marginTop: '50px' }}> |
| 87 | + <Grid item xs={12} md={6}> |
| 88 | + <Box |
| 89 | + display="flex" |
| 90 | + flexDirection="column" |
| 91 | + justifyContent="center" |
| 92 | + height="100%" |
| 93 | + className={clsx(classes.extraPadding, className)} |
| 94 | + > |
| 95 | + <Box> |
| 96 | + <Typography variant="body1"> |
| 97 | + <b>Campus Leaders at Code For Cause</b> are the entreprenurial mindset people who want create value in the community by awaring people, and gathering the like minded to work for cause. And above all set example and influence on people for contributing. So, some values and the expectations we have from our campus leaders are |
| 98 | + </Typography> |
| 99 | + </Box> |
| 100 | + <Box mt={5}> |
| 101 | + <Typography variant="body1"> |
| 102 | + He/she shall be entusiastic about going social and build & contribute for the community<h4>- An Initiative taker</h4> |
| 103 | + </Typography> |
| 104 | + </Box> |
| 105 | + <Box mt={4}> |
| 106 | + <Typography variant="body1"> |
| 107 | + A Leader shall always have a way of talking people out from problems and leading them to do that for others too <h4> - A Community Builder</h4> |
| 108 | + </Typography> |
| 109 | + </Box> |
| 110 | + <Box mt={4}> |
| 111 | + <Typography variant="body1"> |
| 112 | + He/she should be connecting to the resources available in community that might help in building a better & more helpful community <h4>- A Resource Seeker</h4> |
| 113 | + </Typography> |
| 114 | + </Box> |
| 115 | + <Box mt={4}> |
| 116 | + <Typography variant="body1"> |
| 117 | + Most sought after value - an effort maker and giving peronality <h4>- An Investor</h4> |
| 118 | + </Typography> |
| 119 | + </Box> |
| 120 | + |
| 121 | + </Box> |
| 122 | + </Grid> |
| 123 | + <Hidden smDown> |
| 124 | + <Grid item xs={12} md={6}> |
| 125 | + <Box> |
| 126 | + <div className={classes.image}> |
| 127 | + <img |
| 128 | + alt="codeforcauseimg" |
| 129 | + src="/static/campusLeaders/standFor.png" |
| 130 | + /> |
| 131 | + </div> |
| 132 | + </Box> |
| 133 | + </Grid> |
| 134 | + </Hidden> |
| 135 | + </Grid> |
| 136 | + </Container> |
| 137 | + </div > |
| 138 | + ); |
| 139 | +} |
| 140 | + |
| 141 | +StandsFor.propTypes = { |
| 142 | + className: PropTypes.string |
| 143 | +}; |
| 144 | + |
| 145 | +export default StandsFor; |
0 commit comments