1
- import { GitHub } from "@mui/icons-material" ;
2
1
import { Box , Button , Typography } from "@mui/material" ;
3
- import { ArrowRight , MessageCircle } from "lucide-react" ;
2
+ import { ArrowRight } from "lucide-react" ;
4
3
import { useTranslation } from "react-i18next" ;
4
+ import { FaDiscord , FaGithub } from "react-icons/fa" ;
5
5
import { HeadingAndDescription } from "./FeaturesAndBenefitsSection" ;
6
6
7
7
const GenericLinkButton = ( { icon, text, title } : { icon : React . ReactNode ; text : string ; title : string } ) => (
@@ -13,7 +13,7 @@ const GenericLinkButton = ({ icon, text, title }: { icon: React.ReactNode; text:
13
13
< Typography color = "text.muted" > { text } </ Typography >
14
14
</ Box >
15
15
</ Box >
16
- < ArrowRight size = { 22 } style = { { color : "text.muted" } } />
16
+ < ArrowRight size = { 22 } style = { { color : "text.muted" , justifySelf : 'end' } } />
17
17
</ Button >
18
18
) ;
19
19
@@ -27,12 +27,12 @@ export default function CommunitySection() {
27
27
/>
28
28
< Box sx = { linkContainerStyles } >
29
29
< GenericLinkButton
30
- icon = { < MessageCircle size = { 26 } /> }
30
+ icon = { < FaDiscord size = { 26 } /> }
31
31
title = { t ( "community_section.discord.heading" ) }
32
32
text = { t ( "community_section.discord.body_text" ) }
33
33
/>
34
34
< GenericLinkButton
35
- icon = { < GitHub sx = { { fontSize : 26 } } /> }
35
+ icon = { < FaGithub size = { 26 } /> }
36
36
title = { t ( "community_section.github.heading" ) }
37
37
text = { t ( "community_section.github.body_text" ) }
38
38
/>
@@ -43,9 +43,9 @@ export default function CommunitySection() {
43
43
44
44
// Styles
45
45
const buttonStyles = {
46
- display : "flex" ,
47
- justifyContent : "space-between" ,
46
+ display : "grid" ,
48
47
alignItems : "center" ,
48
+ gridTemplateColumns : "90% 10%" ,
49
49
p : 2 ,
50
50
px : 3 ,
51
51
borderRadius : "12px" ,
0 commit comments