feat: ko-fi link

This commit is contained in:
OLIMINATOR 2023-04-15 20:18:00 +02:00
parent 3d0455368a
commit 1b6e9f5aaa
2 changed files with 11 additions and 6 deletions

BIN
public/icons/ko-fi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View file

@ -3,22 +3,27 @@ const socials = [
{ {
name: "GitHub", name: "GitHub",
link: "https://github.com/xHyroM/", link: "https://github.com/xHyroM/",
icon: "github", icon: "github.svg",
}, },
{ {
name: "Discord", name: "Discord.svg",
link: "https://discord.gg/kFPKmEKeMS/", link: "https://discord.gg/kFPKmEKeMS/",
icon: "discord", icon: "discord.svg",
}, },
{ {
name: "Twitter", name: "Twitter",
link: "https://twitter.com/hyrousek/", link: "https://twitter.com/hyrousek/",
icon: "twitter", icon: "twitter.svg",
}, },
{ {
name: "Instagram", name: "Instagram",
link: "https://www.instagram.com/hyro.dev/", link: "https://www.instagram.com/hyro.dev/",
icon: "instagram", icon: "instagram.svg",
},
{
name: "ko-fi",
link: "https://ko-fi.com/xhyrom",
icon: "ko-fi.png",
}, },
]; ];
--- ---
@ -30,7 +35,7 @@ const socials = [
<a class="h-10 w-10" href={social.link} title={social.name}> <a class="h-10 w-10" href={social.link} title={social.name}>
<img <img
class="h-8 w-8 transition-all hover:-translate-y-1" class="h-8 w-8 transition-all hover:-translate-y-1"
src={`/icons/${social.icon}.svg`} src={`/icons/${social.icon}`}
alt={`${social.name} icon`} alt={`${social.name} icon`}
/> />
</a> </a>