File tree 8 files changed +245
-158
lines changed
8 files changed +245
-158
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,22 @@ const config: Config = {
129
129
target : "_blank" ,
130
130
className : "x-icon" ,
131
131
} ,
132
+
133
+ {
134
+ to : "https://bsky.app/profile/quantstack.bsky.social" ,
135
+ title : "Bluesky" ,
136
+ position : "right" ,
137
+ target : "_blank" ,
138
+ className : "bluesky-icon" ,
139
+ } ,
140
+
141
+ {
142
+ to : "https://mastodon.social/@QuantStack" ,
143
+ title : "Mastodon" ,
144
+ position : "right" ,
145
+ target : "_blank" ,
146
+ className : "mastodon-icon" ,
147
+ } ,
132
148
] ,
133
149
} ,
134
150
Original file line number Diff line number Diff line change @@ -3,32 +3,44 @@ import Link from "@docusaurus/Link";
3
3
import GHPicture from "@site/static/img/socialmedias/GH.svg" ;
4
4
import LinkedInPicture from "@site/static/img/socialmedias/LinkedIn.svg" ;
5
5
import XPicture from "@site/static/img/socialmedias/X.svg" ;
6
+ import BlueskyPicture from "@site/static/img/socialmedias/Bluesky.svg" ;
7
+ import MastodonPicture from "@site/static/img/socialmedias/Mastodon.svg" ;
6
8
7
9
export default function SocialMediaContacts ( { person } ) {
8
10
return (
9
11
< >
10
12
< div className = "flex-full-centered" >
11
13
< div >
12
- { person . onGithub === "true" ? (
13
- < Link href = { person . githubLink } > { < GHPicture /> } </ Link >
14
+ { person . GitHubLink ? (
15
+ < Link href = { person . GitHubLink } > { < GHPicture /> } </ Link >
14
16
) : (
15
17
null
16
18
) }
17
19
</ div >
18
- { person . onLinkedIn === "true" ? (
20
+ { person . LinkedInLink ? (
19
21
< Link href = { person . LinkedInLink } > { < LinkedInPicture /> } </ Link >
20
22
) : (
21
23
null
22
24
) }
23
- { person . onX === "true" ? (
25
+ { person . XLink ? (
24
26
< Link href = { person . XLink } > { < XPicture /> } </ Link >
25
27
) : (
26
28
null
27
29
) }
30
+ { person . BlueskyLink ? (
31
+ < Link href = { person . BlueskyLink } > { < BlueskyPicture /> } </ Link >
32
+ ) : (
33
+ null
34
+ ) }
35
+ { person . MastodonLink ? (
36
+ < Link href = { person . MastodonLink } > { < MastodonPicture /> } </ Link >
37
+ ) : (
38
+ null
39
+ ) }
28
40
</ div >
29
41
< div className = "flex-full-centered" >
30
- < Link href = { person . githubLink } className = { styles . githubname } >
31
- { person . githubName }
42
+ < Link href = { person . GitHubLink } className = { styles . GitHubName } >
43
+ { person . GitHubName }
32
44
</ Link >
33
45
</ div >
34
46
</ >
You can’t perform that action at this time.
0 commit comments