From 843d13b26719cbad1c4aa7cff4791277363965e1 Mon Sep 17 00:00:00 2001 From: Max Erenberg Date: Tue, 7 Sep 2021 21:22:14 -0400 Subject: [PATCH 1/4] add link to libera.chat --- components/SocialLinks.tsx | 47 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/components/SocialLinks.tsx b/components/SocialLinks.tsx index 75569d04..ee470fd7 100644 --- a/components/SocialLinks.tsx +++ b/components/SocialLinks.tsx @@ -38,6 +38,11 @@ const iconList = [ image: DiscordSvg, link: "https://discord.gg/pHfYBCg", }, + { + name: "Libera", + image: LiberaSvg, + link: "ircs://irc.libera.chat:6697/csc", + } ]; const links = iconList.map((icon) => { @@ -193,3 +198,45 @@ function FacebookSvg(color: string) { ); } + +function LiberaSvg(color: string) { + return ( + + + + + + + + + + + + + ); +} -- 2.39.2 From cbf9f1677ba05e985106ed22a08ed73daf591a45 Mon Sep 17 00:00:00 2001 From: Max Erenberg Date: Tue, 7 Sep 2021 21:28:59 -0400 Subject: [PATCH 2/4] fix lint errors --- components/SocialLinks.tsx | 58 +++++++++++++++++++++++++++++++++++--- 1 file changed, 54 insertions(+), 4 deletions(-) diff --git a/components/SocialLinks.tsx b/components/SocialLinks.tsx index ee470fd7..7b243a84 100644 --- a/components/SocialLinks.tsx +++ b/components/SocialLinks.tsx @@ -42,7 +42,7 @@ const iconList = [ name: "Libera", image: LiberaSvg, link: "ircs://irc.libera.chat:6697/csc", - } + }, ]; const links = iconList.map((icon) => { @@ -220,7 +220,32 @@ function LiberaSvg(color: string) { /> - + ); -- 2.39.2 From 7ac44ca9078318158983b091931413dba2c4f177 Mon Sep 17 00:00:00 2001 From: Max Erenberg Date: Tue, 7 Sep 2021 22:20:16 -0400 Subject: [PATCH 3/4] remove invalid properties --- components/SocialLinks.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/components/SocialLinks.tsx b/components/SocialLinks.tsx index 7b243a84..b800ff55 100644 --- a/components/SocialLinks.tsx +++ b/components/SocialLinks.tsx @@ -238,13 +238,10 @@ function LiberaSvg(color: string) { textTransform: "none", textOrientation: "mixed", whiteSpace: "normal", - shapePadding: "0", shapeMargin: "0", inlineSize: "0", isolation: "auto", mixBlendMode: "normal", - solidColor: "#000", - solidOpacity: "1", }} d="M55.53 35.83L44.12 48.86l-5.22-2.3-16.98 21.82h1.48l15.88-20.32 5.17 2.29 10.9-12.45c6.04 10.27 12.55 20.15 18.47 30.49h1.48z" color="#000" @@ -271,13 +268,10 @@ function LiberaSvg(color: string) { textTransform: "none", textOrientation: "mixed", whiteSpace: "normal", - shapePadding: "0", shapeMargin: "0", inlineSize: "0", isolation: "auto", mixBlendMode: "normal", - solidColor: "#000", - solidOpacity: "1", }} d="M55.32 39.73l-10.6 12.15-5.17-2.15-14.64 18.64h1.62l13.4-17.15 5.14 2.13L55.14 41.8l15.84 26.62 1.56-.03z" color="#000" -- 2.39.2 From 94e11a80d3ea4f5da189ff26042a1a7cc5fbd009 Mon Sep 17 00:00:00 2001 From: Max Erenberg Date: Tue, 7 Sep 2021 22:57:01 -0400 Subject: [PATCH 4/4] add Libera to exported links --- components/SocialLinks.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/SocialLinks.tsx b/components/SocialLinks.tsx index b800ff55..5c3767f5 100644 --- a/components/SocialLinks.tsx +++ b/components/SocialLinks.tsx @@ -65,7 +65,7 @@ const links = iconList.map((icon) => { return SocialLink; }); -export const [Facebook, Instagram, Twitch, Discord] = links; +export const [Facebook, Instagram, Twitch, Discord, Libera] = links; function InstagramSvg(color: string) { return ( -- 2.39.2