diff --git a/app/layout.tsx b/app/layout.tsx index 89eaafe..aefc781 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,4 +1,4 @@ -import type { Metadata } from "next"; +import type { Metadata, Viewport } from "next"; import { Anuphan, Geist_Mono } from "next/font/google"; import { DeploymentUpdateNotifier } from "@/components/deployment-update-notifier"; @@ -29,6 +29,10 @@ export const metadata: Metadata = { keywords: ["เกนชิน", "เกนชินไม่ใช่เกมมือถือ", "Buzz", "ไกด์", "สุดหล่อ"], }; +export const viewport: Viewport = { + themeColor: "#1b1b22", +}; + export default function RootLayout({ children }: LayoutProps<"/">) { const deploymentId = process.env.NEXT_DEPLOYMENT_ID?.trim() || "development"; diff --git a/app/manifest.ts b/app/manifest.ts index b1781f7..5703838 100644 --- a/app/manifest.ts +++ b/app/manifest.ts @@ -5,8 +5,14 @@ export default function manifest(): MetadataRoute.Manifest { id: "/", name: "Buzz Sheet", short_name: "Buzz Sheet", - start_url: "/commission/tickets", + description: "ไกด์ตัวละคร อาวุธ อาร์ติแฟกต์ และทีมเกนชิน", + start_url: "/", display: "standalone", - icons: [{ src: "/icon.png", sizes: "any", type: "image/png" }], + background_color: "#1b1b22", + theme_color: "#1b1b22", + icons: [ + { src: "/icon-192.png", sizes: "192x192", type: "image/png" }, + { src: "/icon.png", sizes: "512x512", type: "image/png" }, + ], }; } diff --git a/public/icon-192.png b/public/icon-192.png new file mode 100644 index 0000000..dc11d86 Binary files /dev/null and b/public/icon-192.png differ