diff --git a/public/favicon/apple-touch-icon.png b/public/favicon/apple-touch-icon.png new file mode 100644 index 0000000..eae8276 Binary files /dev/null and b/public/favicon/apple-touch-icon.png differ diff --git a/public/favicon/favicon-16x16.png b/public/favicon/favicon-16x16.png new file mode 100644 index 0000000..682b0fb Binary files /dev/null and b/public/favicon/favicon-16x16.png differ diff --git a/public/favicon/favicon-32x32.png b/public/favicon/favicon-32x32.png new file mode 100644 index 0000000..c3319b6 Binary files /dev/null and b/public/favicon/favicon-32x32.png differ diff --git a/public/favicon/favicon.ico b/public/favicon/favicon.ico new file mode 100644 index 0000000..227b364 Binary files /dev/null and b/public/favicon/favicon.ico differ diff --git a/public/images/favicon.ico b/public/images/favicon.ico deleted file mode 100644 index 2e367bd..0000000 Binary files a/public/images/favicon.ico and /dev/null differ diff --git a/src/app/robots.ts b/src/app/robots.ts index dd21653..0c07c0a 100644 --- a/src/app/robots.ts +++ b/src/app/robots.ts @@ -7,7 +7,7 @@ export default function robots(): MetadataRoute.Robots { rules: { userAgent: '*', ...(isProd && { allow: '/' }), - disallow: isProd ? ['/_next/', '/images/'] : '/' + disallow: isProd ? ['/_next/'] : '/' }, sitemap: isProd ? `${APP_URL}/sitemap.xml` : undefined }; diff --git a/src/constants/DefaultMetadata.ts b/src/constants/DefaultMetadata.ts index 0e1aa32..ab06cc8 100644 --- a/src/constants/DefaultMetadata.ts +++ b/src/constants/DefaultMetadata.ts @@ -19,7 +19,29 @@ export const METADATA: Metadata = { metadataBase: new URL(APP_URL), title, description, - icons: [{ rel: 'icon', url: '/images/favicon.ico', type: 'image/x-icon' }], + icons: [ + { + rel: 'apple-touch-icon', + url: '/favicon/favicon-16x16.png', + sizes: '180x180 ' + }, + { + rel: 'icon', + url: '/favicon/favicon-32x32.png', + type: 'image/png', + sizes: '32x32' + }, + { + rel: 'icon', + url: '/favicon/favicon-16x16.png', + type: 'image/png', + sizes: '16x16' + }, + { + rel: 'icon', + url: '/favicon/favicon.ico' + } + ], alternates: { canonical: '/' }, keywords: [ 'Front-End',