Skip to content

Commit

Permalink
chore: change twitter icons to x icons
Browse files Browse the repository at this point in the history
  • Loading branch information
tobySolutions committed Nov 18, 2023
1 parent 4d87342 commit a0eb62c
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"postcss": "^8.4.20",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^4.7.1",
"react-icons": "^4.12.0",
"react-toastify": "^9.1.1",
"sharp": "^0.31.3",
"tailwindcss": "^3.2.4",
Expand Down
7 changes: 4 additions & 3 deletions src/components/Footer.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from "react"
import { FaDiscord, FaGithub, FaLinkedin, FaTwitter } from "react-icons/fa"
import { FaDiscord, FaGithub, FaLinkedin } from "react-icons/fa"
import { FaXTwitter } from "react-icons/fa6";

Check failure on line 3 in src/components/Footer.jsx

View workflow job for this annotation

GitHub Actions / Lint Before Release

Extra semicolon

Check failure on line 3 in src/components/Footer.jsx

View workflow job for this annotation

GitHub Actions / Lint Before Release

Extra semicolon

function Footer() {
return (
Expand Down Expand Up @@ -39,10 +40,10 @@ function Footer() {
target="_blank"
>
<span className="sr-only">
Twitter
X
</span>

<FaTwitter aria-hidden="true" />
<FaXTwitter aria-hidden="true" />
</a>

<a
Expand Down
4 changes: 2 additions & 2 deletions src/components/ProfileCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import React from "react"
import {
FaBlog,
FaGithub,
FaTwitter,
FaYoutube,
FaTwitch,
FaLinkedin,
} from "react-icons/fa"
import { FaXTwitter } from "react-icons/fa6";

Check failure on line 9 in src/components/ProfileCard.jsx

View workflow job for this annotation

GitHub Actions / Lint Before Release

Extra semicolon

Check failure on line 9 in src/components/ProfileCard.jsx

View workflow job for this annotation

GitHub Actions / Lint Before Release

Extra semicolon
import SocialLink from "components/SocialLink"
import Image from "next/image"

Expand All @@ -17,7 +17,7 @@ const socialMediaData = {
},
twitter: {
url: "https://twitter.com/",
icon: FaTwitter,
icon: FaXTwitter,
},
blog: {
icon: FaBlog,
Expand Down
7 changes: 4 additions & 3 deletions src/data/homepage.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { FaDiscord, FaTwitter } from "react-icons/fa"
import { FaDiscord } from "react-icons/fa"
import { FaXTwitter } from "react-icons/fa6";

Check failure on line 2 in src/data/homepage.js

View workflow job for this annotation

GitHub Actions / Lint Before Release

Extra semicolon

Check failure on line 2 in src/data/homepage.js

View workflow job for this annotation

GitHub Actions / Lint Before Release

Extra semicolon
import "react-toastify/dist/ReactToastify.css"

export const main = {
Expand Down Expand Up @@ -53,8 +54,8 @@ export const main = {
className="btn btn-twitter"
target="_blank" rel="noreferrer"
>
<FaTwitter />
X
<FaXTwitter />
X (Twitter)
</a>
),
}
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6980,10 +6980,10 @@ react-fast-compare@^2.0.1:
resolved "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz"
integrity sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==

react-icons@^4.7.1:
version "4.11.0"
resolved "https://registry.npmjs.org/react-icons/-/react-icons-4.11.0.tgz"
integrity sha512-V+4khzYcE5EBk/BvcuYRq6V/osf11ODUM2J8hg2FDSswRrGvqiYUYPRy4OdrWaQOBj4NcpJfmHZLNaD+VH0TyA==
react-icons@^4.12.0:
version "4.12.0"
resolved "https://registry.npmjs.org/react-icons/-/react-icons-4.12.0.tgz"
integrity sha512-IBaDuHiShdZqmfc/TwHu6+d6k2ltNCf3AszxNmjJc1KUfXdEeRJOKyNvLmAHaarhzGmTSVygNdyu8/opXv2gaw==

react-is@^16.13.1, react-is@^16.7.0:
version "16.13.1"
Expand Down

0 comments on commit a0eb62c

Please sign in to comment.