From cef54875105aaf6c76efaedfb6648511c5ed959b Mon Sep 17 00:00:00 2001 From: Riccardo Senica Date: Sat, 23 Nov 2024 14:21:40 +0100 Subject: [PATCH] fix: moved manifest and favicon --- app/manifest.ts | 20 -------------------- {app => public}/favicon.ico | Bin public/manifest.webmanifest | 16 ++++++++++++++++ 3 files changed, 16 insertions(+), 20 deletions(-) delete mode 100644 app/manifest.ts rename {app => public}/favicon.ico (100%) create mode 100644 public/manifest.webmanifest diff --git a/app/manifest.ts b/app/manifest.ts deleted file mode 100644 index 93e6ac9..0000000 --- a/app/manifest.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { MetadataRoute } from 'next'; - -export default function manifest(): MetadataRoute.Manifest { - return { - name: 'Newsletter', - short_name: 'Newsletter', - description: 'Newsletter with top stories from the Hacker News forum', - start_url: '/', - display: 'standalone', - background_color: '#fff', - theme_color: '#fff', - icons: [ - { - src: '/favicon.ico', - sizes: 'any', - type: 'image/x-icon' - } - ] - }; -} diff --git a/app/favicon.ico b/public/favicon.ico similarity index 100% rename from app/favicon.ico rename to public/favicon.ico diff --git a/public/manifest.webmanifest b/public/manifest.webmanifest new file mode 100644 index 0000000..966215f --- /dev/null +++ b/public/manifest.webmanifest @@ -0,0 +1,16 @@ +{ + "name": "Newsletter", + "short_name": "Newsletter", + "description": "Newsletter with top stories from the Hacker News forum", + "start_url": "/", + "display": "standalone", + "background_color": "#fff", + "theme_color": "#fff", + "icons": [ + { + "src": "favicon.ico", + "sizes": "any", + "type": "image/x-icon" + } + ] + } \ No newline at end of file