From 090f3960742ab0bddd11070264a49793573bb047 Mon Sep 17 00:00:00 2001 From: techfg Date: Wed, 18 Dec 2024 11:18:06 -0800 Subject: [PATCH] remove phone from social icons --- .changeset/slow-dancers-help.md | 2 +- packages/starlight/__tests__/basics/config-errors.test.ts | 2 +- packages/starlight/schemas/social.ts | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.changeset/slow-dancers-help.md b/.changeset/slow-dancers-help.md index d9391b6a39a..1a4372914e1 100644 --- a/.changeset/slow-dancers-help.md +++ b/.changeset/slow-dancers-help.md @@ -2,4 +2,4 @@ '@astrojs/starlight': patch --- -Adds social link icon for phone +Adds icon for phone diff --git a/packages/starlight/__tests__/basics/config-errors.test.ts b/packages/starlight/__tests__/basics/config-errors.test.ts index 087e1885b6d..6a4538958e3 100644 --- a/packages/starlight/__tests__/basics/config-errors.test.ts +++ b/packages/starlight/__tests__/basics/config-errors.test.ts @@ -114,7 +114,7 @@ test('errors with bad social icon config', () => { "[AstroUserError]: Invalid config passed to starlight integration Hint: - **social.unknown**: Invalid enum value. Expected 'twitter' | 'mastodon' | 'github' | 'gitlab' | 'bitbucket' | 'discord' | 'gitter' | 'codeberg' | 'codePen' | 'youtube' | 'threads' | 'linkedin' | 'twitch' | 'azureDevOps' | 'microsoftTeams' | 'instagram' | 'stackOverflow' | 'x.com' | 'telegram' | 'rss' | 'facebook' | 'email' | 'phone' | 'reddit' | 'patreon' | 'signal' | 'slack' | 'matrix' | 'openCollective' | 'hackerOne' | 'blueSky' | 'discourse' | 'zulip' | 'pinterest' | 'tiktok' | 'nostr' | 'backstage', received 'unknown' + **social.unknown**: Invalid enum value. Expected 'twitter' | 'mastodon' | 'github' | 'gitlab' | 'bitbucket' | 'discord' | 'gitter' | 'codeberg' | 'codePen' | 'youtube' | 'threads' | 'linkedin' | 'twitch' | 'azureDevOps' | 'microsoftTeams' | 'instagram' | 'stackOverflow' | 'x.com' | 'telegram' | 'rss' | 'facebook' | 'email' | 'reddit' | 'patreon' | 'signal' | 'slack' | 'matrix' | 'openCollective' | 'hackerOne' | 'blueSky' | 'discourse' | 'zulip' | 'pinterest' | 'tiktok' | 'nostr' | 'backstage', received 'unknown' **social.unknown**: Invalid url" ` ); diff --git a/packages/starlight/schemas/social.ts b/packages/starlight/schemas/social.ts index cc478f3e354..2aea7ae92d5 100644 --- a/packages/starlight/schemas/social.ts +++ b/packages/starlight/schemas/social.ts @@ -23,7 +23,6 @@ export const socialLinks = [ 'rss', 'facebook', 'email', - 'phone', 'reddit', 'patreon', 'signal', @@ -76,7 +75,6 @@ export const SocialLinksSchema = () => rss: 'RSS', facebook: 'Facebook', email: 'Email', - phone: 'Phone', reddit: 'Reddit', patreon: 'Patreon', signal: 'Signal',