diff --git a/src/components/common/ShareButtons.tsx b/src/components/common/ShareButtons.tsx index b5ca5f1f..0a54c787 100644 --- a/src/components/common/ShareButtons.tsx +++ b/src/components/common/ShareButtons.tsx @@ -1,9 +1,10 @@ +import XIcon from 'images/x-logo-white.png' +import Image from 'next/image' import { FacebookIcon, FacebookShareButton, LinkedinIcon, LinkedinShareButton, - TwitterIcon, TwitterShareButton, } from 'react-share' @@ -19,7 +20,9 @@ const ShareButtons = ({ type, slug }: Props) => { - +
+ Twitter +
diff --git a/src/components/layouts/Footer.tsx b/src/components/layouts/Footer.tsx index ab6cb32f..5cb7b164 100644 --- a/src/components/layouts/Footer.tsx +++ b/src/components/layouts/Footer.tsx @@ -1,7 +1,7 @@ import { Square2StackIcon } from '@heroicons/react/24/outline' import Facebook from 'images/fb-w.png' import Linkedin from 'images/li-w.png' -import Twitter from 'images/tw-w.png' +import X from 'images/x-logo-white.png' import Image from 'next/image' import Link from 'next/link' import { useRouter } from 'next/router' @@ -13,7 +13,7 @@ const images = [ href: 'https://www.facebook.com/people/Anti-Pattern-Inc/100039176570521/', }, { - src: Twitter, + src: X, alt: 'Twitter', href: 'https://twitter.com/antipatterninc', }, @@ -48,7 +48,13 @@ const Footer = () => { return ( - {img.alt} + {img.alt} {img.alt} diff --git a/src/images/tw-w.png b/src/images/tw-w.png deleted file mode 100644 index fa838d59..00000000 Binary files a/src/images/tw-w.png and /dev/null differ diff --git a/src/images/x-logo-white.png b/src/images/x-logo-white.png new file mode 100644 index 00000000..2609e580 Binary files /dev/null and b/src/images/x-logo-white.png differ