diff --git a/app/manifest.ts b/app/manifest.ts new file mode 100644 index 0000000..0667bd2 --- /dev/null +++ b/app/manifest.ts @@ -0,0 +1,31 @@ +import { MetadataRoute } from "next"; +import { siteConfig } from "@/app-config"; + +export default function manifest(): MetadataRoute.Manifest { + return { + name: siteConfig.name, + short_name: siteConfig.short_name, + description: siteConfig.description, + start_url: "/", + icons: [ + { + src: "/favicon.ico", + sizes: "any", + type: "image/x-icon", + }, + { + src: "/android-chrome-192x192.png", + sizes: "192x192", + type: "image/png", + }, + { + src: "/android-chrome-512x512.png", + sizes: "512x512", + type: "image/png", + }, + ], + theme_color: "#ffffff", + background_color: "#ffffff", + display: "standalone", + }; +} diff --git a/public/site.webmanifest b/public/site.webmanifest deleted file mode 100644 index 45dc8a2..0000000 --- a/public/site.webmanifest +++ /dev/null @@ -1 +0,0 @@ -{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file