Skip to content

Commit

Permalink
updated twitter to X
Browse files Browse the repository at this point in the history
  • Loading branch information
r0hitm committed Feb 29, 2024
1 parent 8c38e52 commit 3e1ace9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
22 changes: 15 additions & 7 deletions src/assets/socialIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,23 @@ const socialIcons = {
<rect x="3" y="5" width="18" height="14" rx="2"></rect>
<polyline points="3 7 12 13 21 7"></polyline>
</svg>`,
Twitter: `<svg
xmlns="http://www.w3.org/2000/svg"
// Twitter: `<svg
// xmlns="http://www.w3.org/2000/svg"
// class="icon-tabler"
// stroke-linecap="round"
// stroke-linejoin="round"
// >
// <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
// <path d="M22 4.01c-1 .49 -1.98 .689 -3 .99c-1.121 -1.265 -2.783 -1.335 -4.38 -.737s-2.643 2.06 -2.62 3.737v1c-3.245 .083 -6.135 -1.395 -8 -4c0 0 -4.182 7.433 4 11c-1.872 1.247 -3.739 2.088 -6 2c3.308 1.803 6.913 2.423 10.034 1.517c3.58 -1.04 6.522 -3.723 7.651 -7.742a13.84 13.84 0 0 0 .497 -3.753c-.002 -.249 1.51 -2.772 1.818 -4.013z"></path>
// </svg>`,
X: `<svg
xmlns="http://www.w3.org/2000/svg"
class="icon-tabler"
stroke-linecap="round"
stroke-linecap="round"
stroke-linejoin="round"
>
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M22 4.01c-1 .49 -1.98 .689 -3 .99c-1.121 -1.265 -2.783 -1.335 -4.38 -.737s-2.643 2.06 -2.62 3.737v1c-3.245 .083 -6.135 -1.395 -8 -4c0 0 -4.182 7.433 4 11c-1.872 1.247 -3.739 2.088 -6 2c3.308 1.803 6.913 2.423 10.034 1.517c3.58 -1.04 6.522 -3.723 7.651 -7.742a13.84 13.84 0 0 0 .497 -3.753c-.002 -.249 1.51 -2.772 1.818 -4.013z"></path>
</svg>`,
>
<path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 4l11.733 16h4.267l-11.733 -16z" />
<path d="M4 20l6.768 -6.768m2.46 -2.46l6.772 -6.772" /></svg>`,
Twitch: `<svg
xmlns="http://www.w3.org/2000/svg"
class="icon-tabler"
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const SOCIALS: SocialObjects = [
active: true,
},
{
name: "Twitter",
name: "X",
href: "https://twitter.com/_r0hitm",
linkTitle: `Twitter`,
active: true,
Expand Down

0 comments on commit 3e1ace9

Please sign in to comment.