|
@@ -6,9 +6,9 @@ import TwitterIcon from '@mui/icons-material/Twitter';
|
6
|
6
|
|
7
|
7
|
const SocialMedia = () => {
|
8
|
8
|
const socialMedia = [
|
9
|
|
- { icon: <InstagramIcon color="primary" />, name: 'Instagram' },
|
10
|
|
- { icon: <FacebookIcon color="primary" />, name: 'Facebook' },
|
11
|
|
- { icon: <TwitterIcon color="primary" />, name: 'Twitter' },
|
|
9
|
+ { icon: <InstagramIcon color="primary" />, name: 'Instagram', link: 'https://www.instagram.com/amber.officials/?hl=en' },
|
|
10
|
+ { icon: <FacebookIcon color="primary" />, name: 'Facebook', link: 'https://www.facebook.com/amber.officials/' },
|
|
11
|
+ { icon: <TwitterIcon color="primary" />, name: 'Twitter', link: 'https://twitter.com/amber.officials' },
|
12
|
12
|
];
|
13
|
13
|
|
14
|
14
|
return (
|
|
@@ -22,11 +22,15 @@ const SocialMedia = () => {
|
22
|
22
|
py: 4,
|
23
|
23
|
borderTop: '1px solid #CFCFCF',
|
24
|
24
|
borderBottom: '1px solid #CFCFCF',
|
|
25
|
+ cursor: 'pointer'
|
25
|
26
|
}}
|
26
|
27
|
>
|
27
|
28
|
{socialMedia.map((media, index) => (
|
28
|
29
|
<Box
|
29
|
30
|
key={index}
|
|
31
|
+ onClick={()=>{
|
|
32
|
+ window.open(media.link, '_blank')
|
|
33
|
+ }}
|
30
|
34
|
sx={{
|
31
|
35
|
display: 'flex',
|
32
|
36
|
flexDirection: { xs: 'column', sm: 'row' }, // Stack icon and text on small screens
|
|
@@ -35,7 +39,7 @@ const SocialMedia = () => {
|
35
|
39
|
}}
|
36
|
40
|
>
|
37
|
41
|
{media.icon}
|
38
|
|
- <Typography variant="body1" sx={{ fontWeight: 'bold' }}>
|
|
42
|
+ <Typography variant="body1" sx={{fontWeight: 'bold', color:'#000',':hover':{color:"#95AAC5"}}}>
|
39
|
43
|
{media.name}
|
40
|
44
|
</Typography>
|
41
|
45
|
</Box>
|