From afc94e613ea325a19d1a057625cc2ab0fff46990 Mon Sep 17 00:00:00 2001 From: yiekheng Date: Sat, 2 May 2026 21:01:18 +0800 Subject: [PATCH] feat(web): add PWA manifest config (theme_color matches layout viewport) --- web/app/manifest.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 web/app/manifest.ts diff --git a/web/app/manifest.ts b/web/app/manifest.ts new file mode 100644 index 0000000..4db6976 --- /dev/null +++ b/web/app/manifest.ts @@ -0,0 +1,18 @@ +import type { MetadataRoute } from "next"; + +export default function manifest(): MetadataRoute.Manifest { + return { + name: "CM Bot V2", + short_name: "CM Bot", + description: "CM Bot account and user dashboard", + start_url: "/", + display: "standalone", + orientation: "portrait", + background_color: "#ffffff", + theme_color: "#facc15", + icons: [ + { src: "/icon", sizes: "any", type: "image/png" }, + { src: "/apple-icon", sizes: "180x180", type: "image/png" }, + ], + }; +}