From 2f2adf29f2a13d5ff0f1577207210745a5ae7405 Mon Sep 17 00:00:00 2001 From: Russ Biggs Date: Fri, 17 Nov 2023 03:13:13 -0700 Subject: [PATCH] add Slack icon (#1075) Co-authored-by: Chris Swithinbank --- .changeset/kind-boats-train.md | 5 +++++ packages/starlight/components/Icons.ts | 2 ++ packages/starlight/schemas/social.ts | 2 ++ 3 files changed, 9 insertions(+) create mode 100644 .changeset/kind-boats-train.md diff --git a/.changeset/kind-boats-train.md b/.changeset/kind-boats-train.md new file mode 100644 index 00000000000..83267d880ed --- /dev/null +++ b/.changeset/kind-boats-train.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': patch +--- + +Add Slack social link icon diff --git a/packages/starlight/components/Icons.ts b/packages/starlight/components/Icons.ts index f6910737782..6446a5ae8a0 100644 --- a/packages/starlight/components/Icons.ts +++ b/packages/starlight/components/Icons.ts @@ -99,4 +99,6 @@ export const Icons = { '', patreon: '', + slack: + '', }; diff --git a/packages/starlight/schemas/social.ts b/packages/starlight/schemas/social.ts index b8aac4b60d0..6882f9f8a36 100644 --- a/packages/starlight/schemas/social.ts +++ b/packages/starlight/schemas/social.ts @@ -24,6 +24,7 @@ export const socialLinks = [ 'email', 'reddit', 'patreon', + 'slack', ] as const; export const SocialLinksSchema = () => @@ -63,6 +64,7 @@ export const SocialLinksSchema = () => email: 'Email', reddit: 'Reddit', patreon: 'Patreon', + slack: 'Slack', }[key]; labelledLinks[key] = { label, url }; }