From 7cfbc25e5002b494c3a2dca750eab43df22cd689 Mon Sep 17 00:00:00 2001 From: Lucas Menezes Date: Fri, 16 Aug 2024 08:49:58 -0300 Subject: [PATCH] chore: Update icon URLs with versioning --- app/[locale]/layout.tsx | 14 ++++++------- components/SvgIcons/index.tsx | 37 ++++++++++++++++++++++------------- 2 files changed, 30 insertions(+), 21 deletions(-) diff --git a/app/[locale]/layout.tsx b/app/[locale]/layout.tsx index 83bf647..2edb3b4 100644 --- a/app/[locale]/layout.tsx +++ b/app/[locale]/layout.tsx @@ -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', diff --git a/components/SvgIcons/index.tsx b/components/SvgIcons/index.tsx index 42a205b..11c9760 100644 --- a/components/SvgIcons/index.tsx +++ b/components/SvgIcons/index.tsx @@ -214,7 +214,10 @@ export function IconShield() { } export function IconMic() { return ( - + ( ) - export function IconNews() { return ( - + stroke="currentColor" + fill="currentColor"> + ) } @@ -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"> + stroke="currentColor" + fill="currentColor"> @@ -675,12 +675,18 @@ export const IconInfo = () => ( ) export const IconX = () => ( - + ) export const IconGitHub = () => ( - + ( ) export const IconDiscord = () => ( - +