Add socials

This commit is contained in:
2025-12-27 16:18:46 +01:00
parent 8d449206d2
commit 78d7afcddb
5 changed files with 31 additions and 10 deletions

View File

@ -4,10 +4,11 @@ import {
siMastodon,
siPaypal,
siTelegram,
siTwitch,
type SimpleIcon,
} from "simple-icons";
type SocialKey = "paypal" | "telegram" | "mastodon" | "bluesky" | "linktree";
type SocialKey = "paypal" | "telegram" | "mastodon" | "bluesky" | "linktree" | "twitch";
const SOCIALS: Record<
SocialKey,
@ -38,6 +39,11 @@ const SOCIALS: Record<
icon: siLinktree,
href: "https://linktr.ee/gaertan",
},
twitch: {
label: "Twitch",
icon: siTwitch,
href: "https://www.twitch.tv/gaertan_art",
}
};
function BrandSvg({ icon }: { icon: SimpleIcon }) {
@ -54,7 +60,7 @@ function BrandSvg({ icon }: { icon: SimpleIcon }) {
}
export function SocialLinks({
items = ["paypal", "telegram", "mastodon", "bluesky", "linktree"],
items = ["paypal", "telegram", "mastodon", "bluesky", "linktree", "twitch"],
size = "md",
}: {
items?: SocialKey[];