feat : mobile app
This commit is contained in:
+5
-1
@@ -1,4 +1,4 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata, Viewport } from "next";
|
||||||
import { Anuphan, Geist_Mono } from "next/font/google";
|
import { Anuphan, Geist_Mono } from "next/font/google";
|
||||||
|
|
||||||
import { DeploymentUpdateNotifier } from "@/components/deployment-update-notifier";
|
import { DeploymentUpdateNotifier } from "@/components/deployment-update-notifier";
|
||||||
@@ -29,6 +29,10 @@ export const metadata: Metadata = {
|
|||||||
keywords: ["เกนชิน", "เกนชินไม่ใช่เกมมือถือ", "Buzz", "ไกด์", "สุดหล่อ"],
|
keywords: ["เกนชิน", "เกนชินไม่ใช่เกมมือถือ", "Buzz", "ไกด์", "สุดหล่อ"],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const viewport: Viewport = {
|
||||||
|
themeColor: "#1b1b22",
|
||||||
|
};
|
||||||
|
|
||||||
export default function RootLayout({ children }: LayoutProps<"/">) {
|
export default function RootLayout({ children }: LayoutProps<"/">) {
|
||||||
const deploymentId = process.env.NEXT_DEPLOYMENT_ID?.trim() || "development";
|
const deploymentId = process.env.NEXT_DEPLOYMENT_ID?.trim() || "development";
|
||||||
|
|
||||||
|
|||||||
+8
-2
@@ -5,8 +5,14 @@ export default function manifest(): MetadataRoute.Manifest {
|
|||||||
id: "/",
|
id: "/",
|
||||||
name: "Buzz Sheet",
|
name: "Buzz Sheet",
|
||||||
short_name: "Buzz Sheet",
|
short_name: "Buzz Sheet",
|
||||||
start_url: "/commission/tickets",
|
description: "ไกด์ตัวละคร อาวุธ อาร์ติแฟกต์ และทีมเกนชิน",
|
||||||
|
start_url: "/",
|
||||||
display: "standalone",
|
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" },
|
||||||
|
],
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
Reference in New Issue
Block a user