feat(web): add PWA manifest config (theme_color matches layout viewport)
This commit is contained in:
parent
7a5c00d08a
commit
afc94e613e
18
web/app/manifest.ts
Normal file
18
web/app/manifest.ts
Normal file
@ -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" },
|
||||
],
|
||||
};
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user