@@ -19,22 +19,19 @@ const StarMediaSection = () => {
1919
2020 const CardSection = ( { image, title, cardContent, link = '' } ) => {
2121 return (
22- < Card className = { classes . card } >
23- < CardActionArea
24- className = { `${ classes . link } ${ classes . media } ` }
25- href = { link }
26- target = '_blank'
27- >
22+ < CardActionArea className = { classes . link } href = { link } target = '_blank' >
23+ < Card className = { classes . card } >
2824 < CardMedia className = { classes . media } image = { image } title = { title } />
29- </ CardActionArea >
30- < CardContent >
31- < Typography variant = 'h6' className = { classes . cardTypo } >
32- { cardContent }
33- </ Typography >
34- </ CardContent >
35- </ Card >
25+ < CardContent >
26+ < Typography variant = 'h6' className = { classes . cardTypo } >
27+ { cardContent }
28+ </ Typography >
29+ </ CardContent >
30+ </ Card >
31+ </ CardActionArea >
3632 ) ;
3733 } ;
34+
3835 return (
3936 < Grid
4037 container
@@ -44,24 +41,30 @@ const StarMediaSection = () => {
4441 className = { classes . starMediaSection }
4542 >
4643 < Grid item md = { 4 } >
47- < Card variant = 'outlined' className = { classes . card } >
48- < CardActions >
49- < GitHubButton
50- href = 'https://github.com/civictechindex/CTI-website-frontend'
51- data-icon = 'octicon-star'
52- data-size = 'large'
53- data-show-count = 'true'
54- aria-label = 'Star civictechindex/CTI-website-frontend on GitHub'
55- >
56- Star
57- </ GitHubButton >
58- </ CardActions >
59- < CardContent >
60- < Typography variant = 'h6' className = { classes . cardTypo } >
61- Don’t forget to star our repository
62- </ Typography >
63- </ CardContent >
64- </ Card >
44+ < CardActionArea
45+ className = { classes . link }
46+ href = 'https://github.com/civictechindex/CTI-website-frontend'
47+ target = '_blank'
48+ >
49+ < Card className = { classes . card } >
50+ < CardActions className = { classes . media } >
51+ < GitHubButton
52+ href = 'https://github.com/civictechindex/CTI-website-frontend'
53+ data-icon = 'octicon-star'
54+ data-size = 'large'
55+ data-show-count = 'true'
56+ aria-label = 'Star civictechindex/CTI-website-frontend on GitHub'
57+ >
58+ Star
59+ </ GitHubButton >
60+ </ CardActions >
61+ < CardContent >
62+ < Typography variant = 'h6' className = { classes . cardTypo } >
63+ Don’t forget to star our repository
64+ </ Typography >
65+ </ CardContent >
66+ </ Card >
67+ </ CardActionArea >
6568 </ Grid >
6669 < Grid item md = { 4 } >
6770 < CardSection
@@ -74,6 +77,7 @@ const StarMediaSection = () => {
7477 </ Grid >
7578 ) ;
7679} ;
80+
7781const SocialMediaPostSection = ( ) => {
7882 const classes = useStyles ( ) ;
7983 return (
@@ -93,6 +97,7 @@ const SocialMediaPostSection = () => {
9397 </ Grid >
9498 ) ;
9599} ;
100+
96101const SocialMediaSection = ( ) => {
97102 const classes = useStyles ( ) ;
98103 return (
0 commit comments