diff --git a/src/app/[locale]/layout.tsx b/src/app/[locale]/layout.tsx index dafb18b3..296187f0 100644 --- a/src/app/[locale]/layout.tsx +++ b/src/app/[locale]/layout.tsx @@ -17,12 +17,23 @@ const pretendard = localFont({ weight: '100 900', // Variable 폰트 weight λ²”μœ„ }); +// 🏷️ ν™˜κ²½λ³„ 접두사 +const getEnvPrefix = () => { + const env = process.env.NEXT_PUBLIC_APP_ENV; + if (env === 'local') return '[L]'; + if (env === 'development') return '[D]'; + return ''; +}; + +const APP_NAME = 'SAM'; +const APP_TITLE = `${getEnvPrefix()}${APP_NAME} - λ‚΄ μ†μ•ˆμ˜ λŒ€μ‹œλ³΄λ“œ`; + export const metadata: Metadata = { title: { - default: "ERP System - Enterprise Resource Planning", - template: "%s | ERP System" + default: APP_TITLE, + template: `%s | ${getEnvPrefix()}${APP_NAME} Smart Automation Management` }, - description: "Multi-tenant Enterprise Resource Planning System for SME businesses", + description: "λ‚΄ μ†μ•ˆμ˜ λŒ€μ‹œλ³΄λ“œ SAM - μ€‘μ†ŒκΈ°μ—…μ„ μœ„ν•œ 슀마트 경영 μ‹œμŠ€ν…œ", robots: { index: false, follow: false, @@ -42,9 +53,9 @@ export const metadata: Metadata = { openGraph: { type: 'website', locale: 'ko_KR', - siteName: 'ERP System', - title: 'Enterprise Resource Planning System', - description: 'Multi-tenant ERP System for SME businesses', + siteName: APP_NAME, + title: APP_TITLE, + description: 'λ‚΄ μ†μ•ˆμ˜ λŒ€μ‹œλ³΄λ“œ SAM - μ€‘μ†ŒκΈ°μ—…μ„ μœ„ν•œ 슀마트 경영 μ‹œμŠ€ν…œ', }, // Prevent caching of sensitive pages other: { diff --git a/src/messages/en.json b/src/messages/en.json index 518c08a7..022e1f85 100644 --- a/src/messages/en.json +++ b/src/messages/en.json @@ -1,6 +1,6 @@ { "common": { - "appName": "ERP System", + "appName": "SAM", "welcome": "Welcome", "loading": "Loading...", "save": "Save", diff --git a/src/messages/ko.json b/src/messages/ko.json index 7cbf672a..0da09ed3 100644 --- a/src/messages/ko.json +++ b/src/messages/ko.json @@ -1,6 +1,6 @@ { "common": { - "appName": "ERP μ‹œμŠ€ν…œ", + "appName": "SAM", "welcome": "ν™˜μ˜ν•©λ‹ˆλ‹€", "loading": "λ‘œλ”© 쀑...", "save": "μ €μž₯",