Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update: changed the twitter to X #5619

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 23 additions & 13 deletions website/src/components/Icons/Twitter.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { SVGProps } from "react"
import React, { SVGProps } from "react";
interface SVGRProps {
title?: string
titleId?: string
title?: string;
titleId?: string;
}

const TwitterIcon = ({
Expand All @@ -10,20 +10,30 @@ const TwitterIcon = ({
...props
}: SVGProps<SVGSVGElement> & SVGRProps) => (
<svg
viewBox="0 0 16 14"
width={16}
height={14}
fill="none"
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
width={25}
height={18}
fill="none"
id="twitter"
aria-labelledby={titleId}
{...props}
>
{" "}
{title ? <title id={titleId}>{title}</title> : null}
<path
d="M14.115 2.481A3.36 3.36 0 0 0 15.56.618a6.472 6.472 0 0 1-2.085.817A3.229 3.229 0 0 0 9.532.778c-1.308.718-1.985 2.246-1.654 3.73C5.24 4.37 2.78 3.092 1.114.987c-.87 1.54-.426 3.507 1.015 4.497a3.208 3.208 0 0 1-1.486-.422v.042c0 1.604 1.102 2.985 2.634 3.302-.484.135-.99.155-1.483.058.431 1.372 1.663 2.31 3.067 2.339A6.48 6.48 0 0 1 0 12.199a9.12 9.12 0 0 0 5.032 1.513 9.157 9.157 0 0 0 6.623-2.787 9.644 9.644 0 0 0 2.716-6.795c0-.146-.003-.291-.01-.436A6.767 6.767 0 0 0 16 1.951a6.433 6.433 0 0 1-1.885.53Z"
fill="currentColor"
/>
<g clip-path="url(#clip0_84_15697)">
<rect width={512} height={512} fill="#000" rx="60"></rect>
<path
fill="#fff"
d="M355.904 100H408.832L293.2 232.16L429.232 412H322.72L239.296 302.928L143.84 412H90.8805L214.56 270.64L84.0645 100H193.28L268.688 199.696L355.904 100ZM337.328 380.32H366.656L177.344 130.016H145.872L337.328 380.32Z"
></path>
</g>
<defs>
<clipPath id="clip0_84_15697">
<rect width={512} height={512} fill="#fff"></rect>
</clipPath>
</defs>
</svg>
)
);

export default TwitterIcon
export default TwitterIcon;
Loading