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