Skip to content

Commit 89c41f7

Browse files
committed
fix: twitter icon -> x icon
For the entire site. Fixes #9
1 parent 02033d4 commit 89c41f7

File tree

6 files changed

+16
-14
lines changed

6 files changed

+16
-14
lines changed

public/site-config.piml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
(id) twitter
1818
(label) TWITTER
1919
(url) https://x.com/fezcoddy
20-
(icon) TwitterLogo
20+
(icon) XLogo
2121

2222
> (link)
2323
(id) linkedin

src/components/ContactModal.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import {
33
EnvelopeSimpleIcon,
44
LinkedinLogoIcon,
5-
TwitterLogoIcon,
5+
XLogoIcon,
66
GithubLogoIcon,
77
GlobeIcon,
88
} from '@phosphor-icons/react';
@@ -11,7 +11,7 @@ import { useSiteConfig } from '../context/SiteConfigContext';
1111

1212
const socialIcons = {
1313
GithubLogo: GithubLogoIcon,
14-
TwitterLogo: TwitterLogoIcon,
14+
XLogo: XLogoIcon,
1515
LinkedinLogo: LinkedinLogoIcon,
1616
EnvelopeSimple: EnvelopeSimpleIcon,
1717
};

src/components/Footer.jsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import React from 'react';
22
import { Link } from 'react-router-dom';
33
import { version } from '../version';
44
import {
5-
TwitterLogo,
6-
GithubLogo,
7-
LinkedinLogo,
5+
XLogoIcon,
6+
GithubLogoIcon,
7+
LinkedinLogoIcon,
88
Command,
99
Terminal,
1010
} from '@phosphor-icons/react';
@@ -121,11 +121,11 @@ const Footer = () => {
121121
</h3>
122122

123123
<div className="flex gap-3 mb-8">
124-
<SocialIcon href="https://x.com/fezcoddy" icon={TwitterLogo} />
125-
<SocialIcon href="https://github.com/fezcode" icon={GithubLogo} />
124+
<SocialIcon href="https://x.com/fezcoddy" icon={XLogoIcon} />
125+
<SocialIcon href="https://github.com/fezcode" icon={GithubLogoIcon} />
126126
<SocialIcon
127127
href="https://www.linkedin.com/in/ahmed-samil-bulbul/"
128-
icon={LinkedinLogo}
128+
icon={LinkedinLogoIcon}
129129
/>
130130
</div>
131131

src/components/ShareButtons.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { useState, useEffect } from 'react';
22
import {
33
FacebookLogoIcon,
4-
TwitterLogoIcon,
4+
XLogoIcon,
55
LinkedinLogoIcon,
66
LinkSimpleIcon,
77
WhatsappLogoIcon,
@@ -165,7 +165,7 @@ const ShareButtons = ({ title, url }) => {
165165
className="text-gray-400 hover:text-blue-400 transition-colors"
166166
aria-label="Share on Twitter"
167167
>
168-
<TwitterLogoIcon size={24} />
168+
<XLogoIcon size={24} />
169169
</button>
170170
<button
171171
onClick={() =>

src/pages/about-views/aboutData.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {
1818
GithubLogoIcon,
1919
LinkedinLogoIcon,
2020
EnvelopeIcon,
21-
TwitterLogoIcon,
21+
XLogoIcon,
2222
GraduationCapIcon,
2323
} from '@phosphor-icons/react';
2424

@@ -48,9 +48,9 @@ export const aboutData = {
4848
icon: EnvelopeIcon,
4949
},
5050
{
51-
label: 'Twitter',
51+
label: 'X (Twitter)',
5252
url: 'https://x.com/fezcoddy',
53-
icon: TwitterLogoIcon,
53+
icon: XLogoIcon,
5454
},
5555
{ label: 'Fezcode', url: 'https://fezcode.com', icon: GlobeIcon },
5656
],

src/utils/appIcons.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ import {
8080
MonitorIcon,
8181
WindIcon,
8282
TwitterLogoIcon,
83+
XLogoIcon,
8384
FlaskIcon,
8485
WavesIcon,
8586
HeartIcon,
@@ -175,6 +176,7 @@ export const appIcons = {
175176
MonitorIcon,
176177
WindIcon,
177178
TwitterLogoIcon,
179+
XLogoIcon,
178180
FlaskIcon,
179181
WavesIcon,
180182
HeartIcon,

0 commit comments

Comments
 (0)