Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,22 @@ const config: Config = {
target: "_blank",
className: "x-icon",
},

{
to: "https://bsky.app/profile/quantstack.bsky.social",
title: "Bluesky",
position: "right",
target: "_blank",
className: "bluesky-icon",
},

{
to: "https://mastodon.social/@QuantStack",
title: "Mastodon",
position: "right",
target: "_blank",
className: "mastodon-icon",
},
],
},

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@
]
},
"engines": {
"node": ">=18.0"
"node": "18.x"
}
}
24 changes: 18 additions & 6 deletions src/components/about/SocialMediaContacts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,44 @@ import Link from "@docusaurus/Link";
import GHPicture from "@site/static/img/socialmedias/GH.svg";
import LinkedInPicture from "@site/static/img/socialmedias/LinkedIn.svg";
import XPicture from "@site/static/img/socialmedias/X.svg";
import BlueskyPicture from "@site/static/img/socialmedias/Bluesky.svg";
import MastodonPicture from "@site/static/img/socialmedias/Mastodon.svg";

export default function SocialMediaContacts({ person }) {
return (
<>
<div className="flex-full-centered">
<div>
{person.onGithub === "true" ? (
<Link href={person.githubLink}>{<GHPicture />}</Link>
{person.GitHubLink ? (
<Link href={person.GitHubLink}>{<GHPicture />}</Link>
) : (
null
)}
</div>
{person.onLinkedIn === "true" ? (
{person.LinkedInLink ? (
<Link href={person.LinkedInLink}>{<LinkedInPicture />}</Link>
) : (
null
)}
{person.onX === "true" ? (
{person.XLink ? (
<Link href={person.XLink}>{<XPicture />}</Link>
) : (
null
)}
{person.BlueskyLink ? (
<Link href={person.BlueskyLink}>{<BlueskyPicture />}</Link>
) : (
null
)}
{person.MastodonLink ? (
<Link href={person.MastodonLink}>{<MastodonPicture />}</Link>
) : (
null
)}
</div>
<div className="flex-full-centered">
<Link href={person.githubLink} className={styles.githubname}>
{person.githubName}
<Link href={person.GitHubLink} className={styles.GitHubName}>
{person.GitHubName}
</Link>
</div>
</>
Expand Down
Loading