From 85d09819c8bb97dc009067552879aa107cb49efc Mon Sep 17 00:00:00 2001 From: Haewon Kam Date: Wed, 7 Oct 2026 13:08:37 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20webforai.kr=20=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=EC=9A=94=EA=B8=88(Pricing)=20=ED=8E=98=EC=9D=B4=EC=A7=80?= =?UTF-8?q?=EB=A5=BC=20=EC=88=A8=EA=B8=B4=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 요금이 확정 전이라 공개 배포에서는 헤더 메뉴에서 빼고 /pricing 은 홈으로 돌린다. 페이지 코드가 번들에서도 빠진다. infinith-demo 배포는 그대로다. Co-Authored-By: Claude Opus 5.5 --- src/components/Navbar.tsx | 15 +++++++++------ src/lib/site.ts | 2 +- src/main.tsx | 4 ++-- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index b5944f2..e5955ed 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -52,12 +52,15 @@ export default function Navbar() { Product )} - - Pricing - + {/* 요금은 아직 확정 전이라 공개 배포(webforai.kr)에서는 숨긴다 (2026-10-07) */} + {!DISCOVERY_SITE && ( + + Pricing + + )} {!DISCOVERY_SITE && ( Use Cases diff --git a/src/lib/site.ts b/src/lib/site.ts index 10c731d..20b71e1 100644 --- a/src/lib/site.ts +++ b/src/lib/site.ts @@ -1,6 +1,6 @@ /** * 배포 구분. Vercel 프로젝트 환경변수 VITE_SITE 로 정한다. - * 'discovery' 로 빌드한 배포(webforai.kr)는 공개 사이트라 랜딩·요금·로그인·약관만 연다. + * 'discovery' 로 빌드한 배포(webforai.kr)는 공개 사이트라 랜딩·로그인·약관만 연다. 요금은 확정 전이라 열지 않는다. * 실제 병원의 진단 결과와 내부 작업 화면은 이 배포에서 열지 않는다 (2026-10-07 haewon 결정). */ export const DISCOVERY_SITE = import.meta.env.VITE_SITE === 'discovery'; diff --git a/src/main.tsx b/src/main.tsx index ef0dc28..b4564a7 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -33,12 +33,12 @@ createRoot(document.getElementById('root')!).render( }> {/* 배포마다 여는 화면이 다르다. VITE_SITE=discovery 로 빌드한 공개 배포(webforai.kr)는 AI Discovery 랜딩을 - 루트에 두고 공개 페이지만 연다. 실제 병원 진단 결과·내부 작업 화면 경로는 홈으로 돌린다. + 루트에 두고 공개 페이지(랜딩·로그인·약관)만 연다. 실제 병원 진단 결과·내부 작업 화면 경로는 홈으로 돌린다. 값이 없으면 지금까지처럼 INFINITH 랜딩과 전체 화면을 연다. */} {DISCOVERY_SITE ? ( <> } /> - } /> + {/* 요금(/pricing)은 확정 전이라 공개 배포에서 열지 않는다. 아래 '*' 규칙으로 홈에 돌아간다 */} } /> } /> } />