Add socials
This commit is contained in:
@ -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[];
|
||||
|
||||
Reference in New Issue
Block a user