Update header twitter icon (#1583)

Co-authored-by: Carlos Cuesta <carloscuesta@me.com>
This commit is contained in:
Willyam Arcand 2023-08-30 11:19:46 -04:00 committed by GitHub
parent dee3ba0971
commit c8414e2df1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 45 additions and 8 deletions

View File

@ -281,6 +281,17 @@ exports[`Pages App should render the page 1`] = `
r="2.5"
/>
</symbol>
<symbol
id="icon-twitter-x"
viewBox="0 0 48 35"
>
<title>
twitter-x
</title>
<path
d="M12.91 5.477l14.813 19.882-14.907 16.164h3.356l13.05-14.152 10.544 14.152h11.418l-15.645-21L49.414 5.477H46.06l-12.02 13.035-9.71-13.035zm4.934 2.48h5.242L46.25 39.043h-5.246zm0 0"
/>
</symbol>
<symbol
id="icon-list"
viewBox="0 0 512 512"
@ -417,13 +428,13 @@ exports[`Pages App should render the page 1`] = `
target="_blank"
>
<svg
className="icon icon-twitter"
className="icon icon-twitter-x"
>
<use
xlinkHref="#icon-twitter"
xlinkHref="#icon-twitter-x"
/>
</svg>
Tweet
Share
</a>
</div>
</header>,

View File

@ -101,6 +101,17 @@ exports[`Icon should match Definitions 1`] = `
r="2.5"
/>
</symbol>
<symbol
id="icon-twitter-x"
viewBox="0 0 48 35"
>
<title>
twitter-x
</title>
<path
d="M12.91 5.477l14.813 19.882-14.907 16.164h3.356l13.05-14.152 10.544 14.152h11.418l-15.645-21L49.414 5.477H46.06l-12.02 13.035-9.71-13.035zm4.934 2.48h5.242L46.25 39.043h-5.246zm0 0"
/>
</symbol>
<symbol
id="icon-list"
viewBox="0 0 512 512"

View File

@ -53,6 +53,10 @@ export const IconDefinitions = () => (
</g>
<circle cx="15.1" cy="24.9" r="2.5" fill="#3e4347" />
</symbol>
<symbol id="icon-twitter-x" viewBox="0 0 48 35">
<title>twitter-x</title>
<path d="M12.91 5.477l14.813 19.882-14.907 16.164h3.356l13.05-14.152 10.544 14.152h11.418l-15.645-21L49.414 5.477H46.06l-12.02 13.035-9.71-13.035zm4.934 2.48h5.242L46.25 39.043h-5.246zm0 0"></path>
</symbol>
<symbol id="icon-list" x="0px" y="0px" viewBox="0 0 512 512">
<title>list</title>
<path

View File

@ -17,7 +17,7 @@ const Header = (props: Props) => (
text="GitHub"
/>
<Button
icon="twitter"
icon="twitter-x"
link={
'https://twitter.com/intent/tweet?text=gitmoji' +
'%20%E2%80%93%20An%20%23emoji%20guide%20for%20your%20commit' +
@ -25,7 +25,7 @@ const Header = (props: Props) => (
'&url=https://gitmoji.dev'
}
target="_blank"
text="Tweet"
text="Share"
/>
</div>
</header>

View File

@ -398,6 +398,17 @@ exports[`Layout should render the component 1`] = `
r="2.5"
/>
</symbol>
<symbol
id="icon-twitter-x"
viewBox="0 0 48 35"
>
<title>
twitter-x
</title>
<path
d="M12.91 5.477l14.813 19.882-14.907 16.164h3.356l13.05-14.152 10.544 14.152h11.418l-15.645-21L49.414 5.477H46.06l-12.02 13.035-9.71-13.035zm4.934 2.48h5.242L46.25 39.043h-5.246zm0 0"
/>
</symbol>
<symbol
id="icon-list"
viewBox="0 0 512 512"
@ -534,13 +545,13 @@ exports[`Layout should render the component 1`] = `
target="_blank"
>
<svg
className="icon icon-twitter"
className="icon icon-twitter-x"
>
<use
xlinkHref="#icon-twitter"
xlinkHref="#icon-twitter-x"
/>
</svg>
Tweet
Share
</a>
</div>
</header>,