Skip to content

Commit d721f29

Browse files
authored
update social links (#20)
1 parent 89c46fb commit d721f29

2 files changed

Lines changed: 39 additions & 21 deletions

File tree

src/components/Footer/Footer.tsx

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,36 +24,52 @@ export const Footer = () => {
2424

2525
<Stack direction="row" spacing={2}>
2626
<Link
27-
href="https://www.npmjs.com/package/@dfsync/client"
27+
href="https://github.com/dfsyncjs/dfsync"
2828
target="_blank"
2929
rel="noreferrer"
3030
underline="hover"
3131
onClick={createTrackedLinkHandler({
3232
params: {
33-
cta_name: 'npm',
33+
cta_name: 'github',
3434
location: 'footer',
35-
label: 'npm',
36-
link_url: 'https://www.npmjs.com/package/@dfsync/client',
35+
label: 'GitHub',
36+
link_url: 'https://github.com/dfsyncjs/dfsync',
3737
},
3838
})}
3939
>
40-
npm
40+
GitHub
4141
</Link>
4242
<Link
43-
href="https://github.com/dfsyncjs/dfsync"
43+
href="https://www.linkedin.com/company/dfsync/"
4444
target="_blank"
4545
rel="noreferrer"
4646
underline="hover"
4747
onClick={createTrackedLinkHandler({
4848
params: {
49-
cta_name: 'github',
49+
cta_name: 'linkedIn',
5050
location: 'footer',
51-
label: 'GitHub',
52-
link_url: 'https://github.com/dfsyncjs/dfsync',
51+
label: 'LinkedIn',
52+
link_url: 'https://www.linkedin.com/company/dfsync/',
5353
},
5454
})}
5555
>
56-
GitHub
56+
LinkedIn
57+
</Link>
58+
<Link
59+
href="https://x.com/dfsyncjs"
60+
target="_blank"
61+
rel="noreferrer"
62+
underline="hover"
63+
onClick={createTrackedLinkHandler({
64+
params: {
65+
cta_name: 'x',
66+
location: 'footer',
67+
label: 'X (Twitter)',
68+
link_url: 'https://x.com/dfsyncjs',
69+
},
70+
})}
71+
>
72+
X (Twitter)
5773
</Link>
5874
</Stack>
5975
</Stack>

src/components/Header/Header.tsx

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import GitHubIcon from '@mui/icons-material/GitHub';
2+
import LinkedIn from '@mui/icons-material/LinkedIn';
23
import { AppBar, Box, Button, Container, Toolbar } from '@mui/material';
34
import { Link as RouterLink } from 'react-router-dom';
45
import { Brand } from '../Brand/Brand';
@@ -42,36 +43,37 @@ export const Header = () => {
4243
</Button>
4344
<Button
4445
color="inherit"
45-
href="https://www.npmjs.com/package/@dfsync/client"
46+
href="https://github.com/dfsyncjs/dfsync"
4647
target="_blank"
4748
rel="noreferrer"
49+
startIcon={<GitHubIcon />}
4850
onClick={createTrackedLinkHandler({
4951
params: {
50-
cta_name: 'npm',
52+
cta_name: 'github',
5153
location: 'header',
52-
label: 'npm',
53-
link_url: 'https://www.npmjs.com/package/@dfsync/client',
54+
label: 'GitHub',
55+
link_url: 'https://github.com/dfsyncjs/dfsync',
5456
},
5557
})}
5658
>
57-
npm
59+
GitHub
5860
</Button>
5961
<Button
6062
color="inherit"
61-
href="https://github.com/dfsyncjs/dfsync"
63+
href="https://www.linkedin.com/company/dfsync/"
6264
target="_blank"
6365
rel="noreferrer"
64-
startIcon={<GitHubIcon />}
66+
startIcon={<LinkedIn />}
6567
onClick={createTrackedLinkHandler({
6668
params: {
67-
cta_name: 'github',
69+
cta_name: 'linkedIn',
6870
location: 'header',
69-
label: 'GitHub',
70-
link_url: 'https://github.com/dfsyncjs/dfsync',
71+
label: 'LinkedIn',
72+
link_url: 'https://www.linkedin.com/company/dfsync/',
7173
},
7274
})}
7375
>
74-
GitHub
76+
LinkedIn
7577
</Button>
7678
<ThemeToggle />
7779
</Box>

0 commit comments

Comments
 (0)