From 498a64cdc9cea240ef87ff482d44401f4a3606f5 Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Tue, 28 Nov 2023 13:01:50 +0300 Subject: [PATCH] apps/web: fix manifest 401 --- apps/web/app/layout.tsx | 1 + apps/web/app/manifest.ts | 25 ------------------------- apps/web/public/manifest.webmanifest | 21 +++++++++++++++++++++ 3 files changed, 22 insertions(+), 25 deletions(-) delete mode 100644 apps/web/app/manifest.ts create mode 100644 apps/web/public/manifest.webmanifest diff --git a/apps/web/app/layout.tsx b/apps/web/app/layout.tsx index 2ff2b3f..bf8cf2c 100644 --- a/apps/web/app/layout.tsx +++ b/apps/web/app/layout.tsx @@ -46,6 +46,7 @@ export default function RootLayout({ children }: { readonly children: React.Reac +
diff --git a/apps/web/app/manifest.ts b/apps/web/app/manifest.ts deleted file mode 100644 index 2caf2cc..0000000 --- a/apps/web/app/manifest.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { MetadataRoute } from 'next'; - -export default function manifest(): MetadataRoute.Manifest { - return { - background_color: '#fff', - description: 'External | Эволюция', - display: 'standalone', - icons: [ - { - sizes: '192x192', - src: '/android-chrome-192x192.png', - type: 'image/png', - }, - { - sizes: '512x512', - src: '/android-chrome-512x512.png', - type: 'image/png', - }, - ], - name: 'External | Эволюция', - short_name: 'External | Эволюция', - start_url: '/', - theme_color: '#fff', - }; -} diff --git a/apps/web/public/manifest.webmanifest b/apps/web/public/manifest.webmanifest new file mode 100644 index 0000000..2447d01 --- /dev/null +++ b/apps/web/public/manifest.webmanifest @@ -0,0 +1,21 @@ +{ + "background_color": "#fff", + "description": "External | Эволюция", + "display": "standalone", + "icons": [ + { + "sizes": "192x192", + "src": "/android-chrome-192x192.png", + "type": "image/png" + }, + { + "sizes": "512x512", + "src": "/android-chrome-512x512.png", + "type": "image/png" + } + ], + "name": "External | Эволюция", + "short_name": "External | Эволюция", + "start_url": "/", + "theme_color": "#fff" +}