Skip to content

Commit

Permalink
chore: Update icon URLs with versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasm committed Aug 16, 2024
1 parent e448a63 commit 7cfbc25
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 21 deletions.
14 changes: 7 additions & 7 deletions app/[locale]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ export const metadata: Metadata = {
],
icons: {
icon: [
'/favicon.ico',
'/icon-192x192.png',
'/icon-512x512.png',
'/icon-1024x1024.png',
'icon.svg',
'/favicon.ico?v=2',
'/icon-192x192.png?v=2',
'/icon-512x512.png?v=2',
'/icon-1024x1024.png?v=2',
'icon.svg?v=2',
],
apple: '/apple-touch-icon.png',
apple: '/apple-touch-icon.png?v=2',
},
manifest: '/manifest.json',
manifest: '/manifest.json?v=2',
appleWebApp: {
capable: true,
title: 'Findto',
Expand Down
37 changes: 23 additions & 14 deletions components/SvgIcons/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,10 @@ export function IconShield() {
}
export function IconMic() {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 32 32"
fill="currentColor">
<path
d="m16,20.21c2.8,0,5.05-2.26,5.05-5.05V5.05c0-2.8-2.26-5.05-5.05-5.05s-5.05,2.26-5.05,5.05v10.11c0,2.8,2.26,5.05,5.05,5.05Zm-1.68-15.16c0-.93.76-1.68,1.68-1.68s1.68.76,1.68,1.68v10.11c0,.94-.74,1.68-1.68,1.68s-1.68-.76-1.68-1.68V5.05Zm11.94,10.11h0c.87,0,1.54.78,1.41,1.64-.77,4.99-4.99,8.93-9.98,9.68v4.1c0,.79-.64,1.43-1.43,1.43h-.51c-.79,0-1.43-.64-1.43-1.43v-4.1c-4.99-.75-9.21-4.69-9.98-9.68-.13-.86.54-1.64,1.41-1.64h0c.71,0,1.31.53,1.41,1.23.63,4.39,4.58,7.36,8.84,7.36s8.21-2.97,8.84-7.36c.1-.7.7-1.23,1.41-1.23Z"
stroke="currentColor"
Expand Down Expand Up @@ -287,7 +290,6 @@ export const IconGames = () => (
<path d="M14.998 5a7 7 0 0 1 .24 13.996l-.24.004H9.002a7 7 0 0 1-.24-13.996L9.001 5h5.996Zm0 1.5H9.002a5.5 5.5 0 0 0-.221 10.996l.221.004h5.996a5.5 5.5 0 0 0 .221-10.996l-.221-.004ZM8 9a.75.75 0 0 1 .75.75v1.498h1.5a.75.75 0 0 1 0 1.5h-1.5v1.502a.75.75 0 0 1-1.5 0v-1.502h-1.5a.75.75 0 1 1 0-1.5h1.5V9.75A.75.75 0 0 1 8 9Zm6.75 3.5a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Zm2-3.5a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Z" />
</svg>
)

export function IconNews() {
return (
<svg
Expand Down Expand Up @@ -530,14 +532,11 @@ export function IconList() {
width="32"
height="32"
viewBox="0 0 32 32"
fill="none"
xmlns="http://www.w3.org/2000/svg"
strokeWidth=".8"
stroke="currentColor">
<path
d="M12 10.5C12 11.3284 11.3284 12 10.5 12C9.67157 12 9 11.3284 9 10.5C9 9.67157 9.67157 9 10.5 9C11.3284 9 12 9.67157 12 10.5ZM12 16C12 16.8284 11.3284 17.5 10.5 17.5C9.67157 17.5 9 16.8284 9 16C9 15.1716 9.67157 14.5 10.5 14.5C11.3284 14.5 12 15.1716 12 16ZM10.5 23C11.3284 23 12 22.3284 12 21.5C12 20.6716 11.3284 20 10.5 20C9.67157 20 9 20.6716 9 21.5C9 22.3284 9.67157 23 10.5 23ZM14 10.5C14 9.94772 14.4477 9.5 15 9.5H22C22.5523 9.5 23 9.94772 23 10.5C23 11.0523 22.5523 11.5 22 11.5H15C14.4477 11.5 14 11.0523 14 10.5ZM15 15C14.4477 15 14 15.4477 14 16C14 16.5523 14.4477 17 15 17H22C22.5523 17 23 16.5523 23 16C23 15.4477 22.5523 15 22 15H15ZM14 21.5C14 20.9477 14.4477 20.5 15 20.5H22C22.5523 20.5 23 20.9477 23 21.5C23 22.0523 22.5523 22.5 22 22.5H15C14.4477 22.5 14 22.0523 14 21.5ZM7.5 3C5.01472 3 3 5.01472 3 7.5V24.5C3 26.9853 5.01472 29 7.5 29H24.5C26.9853 29 29 26.9853 29 24.5V7.5C29 5.01472 26.9853 3 24.5 3H7.5ZM5 7.5C5 6.11929 6.11929 5 7.5 5H24.5C25.8807 5 27 6.11929 27 7.5V24.5C27 25.8807 25.8807 27 24.5 27H7.5C6.11929 27 5 25.8807 5 24.5V7.5Z"
fill="currentColor"
/>
stroke="currentColor"
fill="currentColor">
<path d="M12 10.5C12 11.3284 11.3284 12 10.5 12C9.67157 12 9 11.3284 9 10.5C9 9.67157 9.67157 9 10.5 9C11.3284 9 12 9.67157 12 10.5ZM12 16C12 16.8284 11.3284 17.5 10.5 17.5C9.67157 17.5 9 16.8284 9 16C9 15.1716 9.67157 14.5 10.5 14.5C11.3284 14.5 12 15.1716 12 16ZM10.5 23C11.3284 23 12 22.3284 12 21.5C12 20.6716 11.3284 20 10.5 20C9.67157 20 9 20.6716 9 21.5C9 22.3284 9.67157 23 10.5 23ZM14 10.5C14 9.94772 14.4477 9.5 15 9.5H22C22.5523 9.5 23 9.94772 23 10.5C23 11.0523 22.5523 11.5 22 11.5H15C14.4477 11.5 14 11.0523 14 10.5ZM15 15C14.4477 15 14 15.4477 14 16C14 16.5523 14.4477 17 15 17H22C22.5523 17 23 16.5523 23 16C23 15.4477 22.5523 15 22 15H15ZM14 21.5C14 20.9477 14.4477 20.5 15 20.5H22C22.5523 20.5 23 20.9477 23 21.5C23 22.0523 22.5523 22.5 22 22.5H15C14.4477 22.5 14 22.0523 14 21.5ZM7.5 3C5.01472 3 3 5.01472 3 7.5V24.5C3 26.9853 5.01472 29 7.5 29H24.5C26.9853 29 29 26.9853 29 24.5V7.5C29 5.01472 26.9853 3 24.5 3H7.5ZM5 7.5C5 6.11929 6.11929 5 7.5 5H24.5C25.8807 5 27 6.11929 27 7.5V24.5C27 25.8807 25.8807 27 24.5 27H7.5C6.11929 27 5 25.8807 5 24.5V7.5Z" />
</svg>
)
}
Expand All @@ -547,10 +546,10 @@ export function IconCircles() {
width="28"
height="28"
viewBox="0 0 28 28"
fill="none"
xmlns="http://www.w3.org/2000/svg"
strokeWidth=".4"
stroke="currentColor">
stroke="currentColor"
fill="currentColor">
<path
d="M13 8C13 5.23858 10.7614 3 8 3C5.23858 3 3 5.23858 3 8C3 10.7614 5.23858 13 8 13C10.7614 13 13 10.7614 13 8ZM11.125 8C11.125 9.72589 9.72589 11.125 8 11.125C6.27411 11.125 4.875 9.72589 4.875 8C4.875 6.27411 6.27411 4.875 8 4.875C9.72589 4.875 11.125 6.27411 11.125 8ZM25 8C25 5.23858 22.7614 3 20 3C17.2386 3 15 5.23858 15 8C15 10.7614 17.2386 13 20 13C22.7614 13 25 10.7614 25 8ZM23.125 8C23.125 9.72589 21.7259 11.125 20 11.125C18.2741 11.125 16.875 9.72589 16.875 8C16.875 6.27411 18.2741 4.875 20 4.875C21.7259 4.875 23.125 6.27411 23.125 8ZM8 25C5.23858 25 3 22.7614 3 20C3 17.2386 5.23858 15 8 15C10.7614 15 13 17.2386 13 20C13 22.7614 10.7614 25 8 25ZM8 23.125C9.72589 23.125 11.125 21.7259 11.125 20C11.125 18.2741 9.72589 16.875 8 16.875C6.27411 16.875 4.875 18.2741 4.875 20C4.875 21.7259 6.27411 23.125 8 23.125ZM25 20C25 17.2386 22.7614 15 20 15C17.2386 15 15 17.2386 15 20C15 22.7614 17.2386 25 20 25C22.7614 25 25 22.7614 25 20ZM23.125 20C23.125 21.7259 21.7259 23.125 20 23.125C18.2741 23.125 16.875 21.7259 16.875 20C16.875 18.2741 18.2741 16.875 20 16.875C21.7259 16.875 23.125 18.2741 23.125 20Z"
fill="currentColor"
Expand Down Expand Up @@ -610,7 +609,8 @@ export function IconText() {
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
strokeWidth="1"
stroke="currentColor">
stroke="currentColor"
fill="currentColor">
<path d="m2.75,16.25h12.5c.41,0,.75.34.75.75,0,.38-.28.69-.65.74h-.1s-12.5,0-12.5,0c-.41,0-.75-.34-.75-.75,0-.38.28-.69.65-.74h.1s12.5,0,12.5,0H2.75Z" />
<path d="m2.75,11.25h18.5c.41,0,.75.34.75.75,0,.38-.28.69-.65.74h-.1s-18.5,0-18.5,0c-.41,0-.75-.34-.75-.75,0-.38.28-.69.65-.74h.1s18.5,0,18.5,0H2.75Z" />
<path d="m2.75,6.25h18.5c.41,0,.75.34.75.75,0,.38-.28.69-.65.74h-.1s-18.5,0-18.5,0c-.41,0-.75-.34-.75-.75,0-.38.28-.69.65-.74h.1s18.5,0,18.5,0H2.75Z" />
Expand Down Expand Up @@ -675,12 +675,18 @@ export const IconInfo = () => (
)

export const IconX = () => (
<svg id="a" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 77.44 80">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 77.44 80"
fill="currentColor">
<path d="m60.99,5h11.87l-25.95,29.65,30.52,40.35h-23.89l-18.71-24.47-21.42,24.47H1.53l27.75-31.71L0,5h24.5l16.92,22.37L60.99,5Zm-4.17,62.89h6.58L20.93,11.74h-7.07l42.95,56.16h0Z" />
</svg>
)
export const IconGitHub = () => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor">
<path
className="svg"
d="M12,.37A11.93,11.93,0,0,0,8.15,23.62c.59.08.81-.29.81-.58V21c-3.3.74-4-1.61-4-1.61A3,3,0,0,0,3.6,17.68c-1-.73.08-.73.08-.73A2.52,2.52,0,0,1,5.51,18.2a2.54,2.54,0,0,0,3.44,1H9a2.57,2.57,0,0,1,.74-1.61c-2.65-.3-5.43-1.33-5.43-6A4.51,4.51,0,0,1,5.51,8.44a4.17,4.17,0,0,1,.15-3.16S6.68,5,9,6.53a10.53,10.53,0,0,1,3-.37,13.33,13.33,0,0,1,3,.37c2.27-1.54,3.3-1.25,3.3-1.25a4.58,4.58,0,0,1,.14,3.16,4.71,4.71,0,0,1,1.25,3.23c0,4.62-2.79,5.57-5.43,5.86a2.84,2.84,0,0,1,.81,2.21V23c0,.29.22.66.81.58A12,12,0,0,0,24,12.25,12,12,0,0,0,12,.37Z"
Expand All @@ -704,7 +710,10 @@ export const IconKofi = () => (
</svg>
)
export const IconDiscord = () => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor">
<path
className="svg"
d="M20.35,4.43a20.11,20.11,0,0,0-5-1.53,12.8,12.8,0,0,0-.63,1.29,18.77,18.77,0,0,0-5.5,0c-.17-.4-.42-.91-.63-1.29a19.6,19.6,0,0,0-5,1.53A20,20,0,0,0,.1,18.05,20.27,20.27,0,0,0,6.18,21.1,16,16,0,0,0,7.48,19a13.32,13.32,0,0,1-2.05-1c.17-.13.34-.26.49-.39a14.34,14.34,0,0,0,12.15,0l.49.39a13.32,13.32,0,0,1-2,1,16,16,0,0,0,1.3,2.1,20.15,20.15,0,0,0,6.08-3.05A19.91,19.91,0,0,0,20.35,4.43ZM8,15.3a2.29,2.29,0,0,1-2.16-2.4A2.28,2.28,0,0,1,8,10.5a2.27,2.27,0,0,1,2.16,2.4A2.29,2.29,0,0,1,8,15.3Zm8,0a2.29,2.29,0,0,1-2.16-2.4A2.28,2.28,0,0,1,16,10.5a2.27,2.27,0,0,1,2.16,2.4A2.28,2.28,0,0,1,16,15.3Z"
Expand Down

0 comments on commit 7cfbc25

Please sign in to comment.