From d36f60218b5d58c8478c8d10ac2a949afd14af7b Mon Sep 17 00:00:00 2001 From: prototypa Date: Mon, 21 Aug 2023 20:16:51 -0400 Subject: [PATCH] Update from twitter to x --- astro.config.mjs | 1 - package.json | 1 - src/components/common/SocialShare.astro | 10 +++++----- src/navigation.js | 2 +- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index e4ac4cb..ea815a9 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -51,7 +51,6 @@ export default defineConfig({ 'business-contact', 'database', ], - ri: ['twitter-fill', 'facebook-box-fill', 'linkedin-box-fill', 'whatsapp-fill', 'mail-fill'], }, }), diff --git a/package.json b/package.json index 22aafad..8fef1d0 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,6 @@ "@astrolib/seo": "^0.6.0", "@fontsource-variable/inter": "^5.0.8", "@iconify-json/flat-color-icons": "^1.1.7", - "@iconify-json/ri": "^1.1.12", "@iconify-json/tabler": "^1.1.88", "@tailwindcss/typography": "^0.5.9", "@types/lodash.merge": "^4.6.7", diff --git a/src/components/common/SocialShare.astro b/src/components/common/SocialShare.astro index b1f4f23..852587b 100644 --- a/src/components/common/SocialShare.astro +++ b/src/components/common/SocialShare.astro @@ -14,31 +14,31 @@ const { text, url, class: className = 'inline-block' } = Astro.props; Share: diff --git a/src/navigation.js b/src/navigation.js index 1964e34..0080ef8 100644 --- a/src/navigation.js +++ b/src/navigation.js @@ -170,7 +170,7 @@ export const footerData = { { text: 'Privacy Policy', href: getPermalink('/privacy') }, ], socialLinks: [ - { ariaLabel: 'Twitter', icon: 'tabler:brand-twitter', href: '#' }, + { ariaLabel: 'X', icon: 'tabler:brand-x', href: '#' }, { ariaLabel: 'Instagram', icon: 'tabler:brand-instagram', href: '#' }, { ariaLabel: 'Facebook', icon: 'tabler:brand-facebook', href: '#' }, { ariaLabel: 'RSS', icon: 'tabler:rss', href: getAsset('/rss.xml') },