Skip to content

Commit

Permalink
chore: Optimize SVGs with the latest svgo (v3.2.0) (#1037)
Browse files Browse the repository at this point in the history
The order of attributes is what svgo is producing.
  • Loading branch information
XhmikosR authored Apr 17, 2024
1 parent 2f759e5 commit e7f60c9
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 49 deletions.
2 changes: 1 addition & 1 deletion public/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export default () => (
viewBox="0 0 24 24"
>
<title>Twitter icon</title>
<path d="M23.954 4.569a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.691 8.094 4.066 6.13 1.64 3.161a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.061a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.937 4.937 0 004.604 3.417 9.868 9.868 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.054 0 13.999-7.496 13.999-13.986 0-.209 0-.42-.015-.63a9.936 9.936 0 002.46-2.548l-.047-.02z" />
<path d="M23.954 4.569a10 10 0 0 1-2.825.775 4.96 4.96 0 0 0 2.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 0 0-8.384 4.482C7.691 8.094 4.066 6.13 1.64 3.161a4.8 4.8 0 0 0-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.9 4.9 0 0 1-2.228-.616v.061a4.92 4.92 0 0 0 3.946 4.827 5 5 0 0 1-2.212.085 4.94 4.94 0 0 0 4.604 3.417 9.87 9.87 0 0 1-6.102 2.105q-.584 0-1.17-.067a14 14 0 0 0 7.557 2.209c9.054 0 13.999-7.496 13.999-13.986 0-.209 0-.42-.015-.63a9.9 9.9 0 0 0 2.46-2.548z" />
</svg>

<span>&nbsp;Chat on Twitter</span>
Expand All @@ -120,7 +120,7 @@ export default () => (
viewBox="100 120 300 300"
>
<title>Vercel Logo</title>
<path fill="#fff" d="M254 156.459L367 356H141z" />
<path fill="#fff" d="M254 156.459 367 356H141z" />
</svg>

<span>&nbsp;Hosted on Vercel</span>
Expand Down
Loading

0 comments on commit e7f60c9

Please sign in to comment.