feat: webforai.kr 에서 요금(Pricing) 페이지를 숨긴다

요금이 확정 전이라 공개 배포에서는 헤더 메뉴에서 빼고 /pricing 은 홈으로 돌린다.
페이지 코드가 번들에서도 빠진다. infinith-demo 배포는 그대로다.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Haewon Kam 2026-10-07 13:08:37 +09:00
parent 4245959a0f
commit 85d09819c8
3 changed files with 12 additions and 9 deletions

View File

@ -52,12 +52,15 @@ export default function Navbar() {
Product
</a>
)}
{/* 요금은 아직 확정 전이라 공개 배포(webforai.kr)에서는 숨긴다 (2026-10-07) */}
{!DISCOVERY_SITE && (
<Link
to="/pricing?from=header"
className="hover:text-primary-900 transition-colors"
>
Pricing
</Link>
)}
{!DISCOVERY_SITE && (
<a href="/#use-cases" className="hover:text-primary-900 transition-colors">
Use Cases

View File

@ -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';

View File

@ -33,12 +33,12 @@ createRoot(document.getElementById('root')!).render(
<Routes>
<Route element={<App />}>
{/* 배포마다 여는 화면이 다르다. VITE_SITE=discovery 로 빌드한 공개 배포(webforai.kr)는 AI Discovery 랜딩을
루트에 두고 공개 페이지만 연다. 실제 병원 진단 결과·내부 작업 화면 경로는 홈으로 돌린다.
루트에 두고 공개 페이지(랜딩·로그인·약관)만 연다. 실제 병원 진단 결과·내부 작업 화면 경로는 홈으로 돌린다.
값이 없으면 지금까지처럼 INFINITH 랜딩과 전체 화면을 연다. */}
{DISCOVERY_SITE ? (
<>
<Route index element={<DiscoveryLandingPage />} />
<Route path="pricing" element={<PricingPage />} />
{/* 요금(/pricing)은 확정 전이라 공개 배포에서 열지 않는다. 아래 '*' 규칙으로 홈에 돌아간다 */}
<Route path="login" element={<LoginPage />} />
<Route path="privacy" element={<PrivacyPage />} />
<Route path="terms" element={<TermsPage />} />