diff --git a/frontend/app/(mobile)/layout.tsx b/frontend/app/(mobile)/layout.tsx index 293caffe..b5f47745 100644 --- a/frontend/app/(mobile)/layout.tsx +++ b/frontend/app/(mobile)/layout.tsx @@ -1,6 +1,29 @@ +import type { Metadata, Viewport } from "next"; import { AuthProvider } from "@/contexts/AuthContext"; import { RequireAuth } from "@/components/auth/AuthGuard"; +export const metadata: Metadata = { + title: "INVYONE EHS", + description: "INVYONE 작업자 알림 동반 화면", + // iOS Safari "홈 화면에 추가" 시 standalone 모드 (주소창/하단바 제거) + appleWebApp: { + capable: true, + statusBarStyle: "black-translucent", + title: "INVYONE EHS", + }, +}; + +export const viewport: Viewport = { + width: "device-width", + initialScale: 1, + maximumScale: 1, + userScalable: false, + // 노치/홈바 영역까지 사용 + viewportFit: "cover", + // PWA 시 상태표시줄 색 + themeColor: "#0d0202", +}; + export default function MobileLayout({ children }: { children: React.ReactNode }) { return (