From 5358c2d6400f48e2132304dab7419b83474bd7ed Mon Sep 17 00:00:00 2001 From: kvakazyambra Date: Sat, 11 Nov 2023 18:20:43 +0300 Subject: [PATCH] Add twitter to profile social links --- public/icons/social-twitter.svg | 4 ++++ src/utils/profileSocialLinks.ts | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 public/icons/social-twitter.svg diff --git a/public/icons/social-twitter.svg b/public/icons/social-twitter.svg new file mode 100644 index 00000000..341b6bdf --- /dev/null +++ b/public/icons/social-twitter.svg @@ -0,0 +1,4 @@ + + + diff --git a/src/utils/profileSocialLinks.ts b/src/utils/profileSocialLinks.ts index 637c1743..bc0f3e7a 100644 --- a/src/utils/profileSocialLinks.ts +++ b/src/utils/profileSocialLinks.ts @@ -9,7 +9,8 @@ const links: Link[] = [ { link: 'https://linkedin.com/', name: 'linkedin', isPlaceholder: true }, { link: 'https://vk.com/', name: 'vk', isPlaceholder: true }, { link: 'https://instagram.com/', name: 'instagram', isPlaceholder: true }, - { link: 'https://t.me/', name: 'telegram', isPlaceholder: true } + { link: 'https://t.me/', name: 'telegram', isPlaceholder: true }, + { link: 'https://twitter.com/', name: 'twitter', isPlaceholder: true } ] const checkLink = (link: string, keyword: string): boolean => link.includes(keyword)