8000 Change Twitter content to X (#257) · anshvert/TheAlgorithms-Website@679b462 · GitHub
[go: up one dir, main page]

8000
Skip to content

Commit 679b462

Browse files
authored
Change Twitter content to X (TheAlgorithms#257)
1 parent c12412d commit 679b462

File tree

2 files changed

+8
-20
lines changed

2 files changed

+8
-20
lines changed

components/footer/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default function Footer() {
4242
<a href="https://matrix.to/#/#TheAlgorithms_community:gitter.im" target="_blank" rel="noreferrer">
4343
Gitter
4444
</a>
45-
<a href="https://twitter.com/The_Algorithms" target="_blank" rel="noreferrer">Twitter</a>
45+
<a href="https://twitter.com/The_Algorithms" target="_blank" rel="noreferrer">X</a>
4646
<a href="https://github.com/TheAlgorithms/website" target="_blank" rel="noreferrer">
4747
{t("sourceCodeFooter")}
4848
</a>

pages/index.tsx

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -253,31 +253,19 @@ export default function Home({
253253
</IconButton>
254254
</Card>
255255
</Tooltip>
256-
<Tooltip title="Twitter">
256+
<Tooltip title="X">
257257
<Card>
258258
<IconButton
259259
href="https://twitter.com/The_Algorithms"
260260
target="_blank"
261261
rel="noreferrer"
262-
aria-label={t("Twitter")}
262+
aria-label={t("X")}
263263
>
264-
<svg
265-
version="1.1"
266-
xmlns="http://www.w3.org/2000/svg"
267-
viewBox="0 0 512 512"
268-
>
269-
<path
270-
fill="#03a9f4"
271-
d="M512,97.248c-19.04,8.352-39.328,13.888-60.48,16.576c21.76-12.992,38.368-33.408,46.176-58.016
272-
c-20.288,12.096-42.688,20.64-66.56,25.408C411.872,60.704,384.416,48,354.464,48c-58.112,0-104.896,47.168-104.896,104.992
273-
c0,8.32,0.704,16.32,2.432,23.936c-87.264-4.256-164.48-46.08-216.352-109.792c-9.056,15.712-14.368,33.696-14.368,53.056
274-
c0,36.352,18.72,68.576,46.624,87.232c-16.864-0.32-33.408-5.216-47.424-12.928c0,0.32,0,0.736,0,1.152
275-
c0,51.008,36.384,93.376,84.096,103.136c-8.544,2.336-17.856,3.456-27.52,3.456c-6.72,0-13.504-0.384-19.872-1.792
276-
c13.6,41.568,52.192,72.128,98.08,73.12c-35.712,27.936-81.056,44.768-130.144,44.768c-8.608,0-16.864-0.384-25.12-1.44
277-
C46.496,446.88,101.6,464,161.024,464c193.152,0,298.752-160,298.752-298.688c0-4.64-0.16-9.12-0.384-13.568
278-
C480.224,136.96,497.728,118.496,512,97.248z"
279-
/>
280-
</svg>
264+
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512" version="1.1">
265+
<g id="surface1">
266+
<path d="M 304.757812 217.003906 L 495.394531 0 L 450.234375 0 L 284.636719 188.382812 L 152.472656 0 L 0 0 L 199.902344 284.894531 L 0 512.425781 L 45.160156 512.425781 L 219.921875 313.445312 L 359.527344 512.425781 L 512 512.425781 M 61.457031 33.347656 L 130.832031 33.347656 L 450.203125 480.71875 L 380.808594 480.71875 "/>
267+
</g>
268+
</svg>
281269
</IconButton>
282270
</Card>
283271
</Tooltip>

0 commit comments

Comments
 (0)
0