From e9659e869cd0c9ad0b7388397b0fff8e2a9db27a Mon Sep 17 00:00:00 2001 From: Pukima Date: Tue, 2 Jan 2024 19:28:10 +0100 Subject: Add Open Collective social icon (#1254) Co-authored-by: Atharva Pise Co-authored-by: Chris Swithinbank --- .changeset/mighty-ways-marry.md | 5 +++++ packages/starlight/components/Icons.ts | 2 ++ packages/starlight/schemas/social.ts | 2 ++ 3 files changed, 9 insertions(+) create mode 100644 .changeset/mighty-ways-marry.md diff --git a/.changeset/mighty-ways-marry.md b/.changeset/mighty-ways-marry.md new file mode 100644 index 00000000..d086b881 --- /dev/null +++ b/.changeset/mighty-ways-marry.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': patch +--- + +Adds Open Collective social link icon diff --git a/packages/starlight/components/Icons.ts b/packages/starlight/components/Icons.ts index 4aeabd27..912b557f 100644 --- a/packages/starlight/components/Icons.ts +++ b/packages/starlight/components/Icons.ts @@ -103,4 +103,6 @@ export const Icons = { '', matrix: '', + openCollective: + '' }; diff --git a/packages/starlight/schemas/social.ts b/packages/starlight/schemas/social.ts index c3ccff8f..e68f442c 100644 --- a/packages/starlight/schemas/social.ts +++ b/packages/starlight/schemas/social.ts @@ -26,6 +26,7 @@ export const socialLinks = [ 'patreon', 'slack', 'matrix', + 'openCollective' ] as const; export const SocialLinksSchema = () => @@ -67,6 +68,7 @@ export const SocialLinksSchema = () => patreon: 'Patreon', slack: 'Slack', matrix: 'Matrix', + openCollective: 'Open Collective', }[key]; labelledLinks[key] = { label, url }; } -- cgit