2022-10-29 21:48:36 +02:00
|
|
|
import { Github, Linkedin, Instagram, Discord, Steam } from "@icons-pack/react-simple-icons";
|
2022-11-09 17:34:35 +01:00
|
|
|
import Icon from "@mdi/react";
|
|
|
|
import { mdiEmailLock } from "@mdi/js";
|
2022-10-29 21:48:36 +02:00
|
|
|
|
|
|
|
interface Social {
|
|
|
|
name: string;
|
|
|
|
url: string;
|
|
|
|
icon: JSX.Element;
|
|
|
|
}
|
|
|
|
|
|
|
|
export const socials = (iconSize?: string, color?: string): Social[] => {
|
|
|
|
iconSize = iconSize || "1em";
|
2022-10-29 22:48:49 +02:00
|
|
|
|
2022-10-29 21:48:36 +02:00
|
|
|
return [
|
|
|
|
{
|
|
|
|
name: "GitHub",
|
|
|
|
url: "https://github.com/C0ntroller",
|
|
|
|
icon: <Github size={iconSize} title="GitHub" color={color} />,
|
|
|
|
}, {
|
|
|
|
name: "LinkedIn",
|
|
|
|
url: "https://www.linkedin.com/in/c0ntroller/",
|
|
|
|
icon: <Linkedin size={iconSize} title="Linked" color={color} />,
|
|
|
|
}, {
|
|
|
|
name: "Instagram",
|
|
|
|
url: "https://www.instagram.com/c0ntroller/",
|
|
|
|
icon: <Instagram size={iconSize} title="Instagram" color={color} />,
|
|
|
|
}, {
|
|
|
|
name: "Steam",
|
|
|
|
url: "https://steamcommunity.com/id/c0ntroller/",
|
|
|
|
icon: <Steam size={iconSize} title="Steam" color={color} />,
|
|
|
|
}, {
|
|
|
|
name: "Discord",
|
|
|
|
url: "https://discordapp.com/users/224208617820127233",
|
|
|
|
icon: <Discord size={iconSize} title="Discord" color={color} />
|
2022-11-09 17:34:35 +01:00
|
|
|
}, {
|
|
|
|
name: "PGP Key",
|
|
|
|
url: "/files/pubkey.pgp",
|
|
|
|
icon: <Icon path={mdiEmailLock} size={iconSize} title="PGP Key" color={color} />
|
2022-10-29 21:48:36 +02:00
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
export default socials;
|