feat(WEB): 앱 이름 SAM으로 변경 및 환경별 접두사 추가
- ERP System → SAM - 내 손안의 대시보드 - 환경별 접두사: [L] 로컬, [D] 개발, 없음 운영 - i18n appName 업데이트 (en/ko)
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"common": {
|
||||
"appName": "ERP System",
|
||||
"appName": "SAM",
|
||||
"welcome": "Welcome",
|
||||
"loading": "Loading...",
|
||||
"save": "Save",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"common": {
|
||||
"appName": "ERP 시스템",
|
||||
"appName": "SAM",
|
||||
"welcome": "환영합니다",
|
||||
"loading": "로딩 중...",
|
||||
"save": "저장",
|
||||
|
||||
Reference in New Issue
Block a user