feat: webforai.kr 공개 기능 스위치 (요금·예시 리포트·Use Cases)
- src/lib/site.ts 의 SHOW_PRICING·SHOW_SAMPLE_REPORT·SHOW_USE_CASES 로 라우트·헤더·랜딩 버튼을 한 곳에서 켜고 끈다. 공개 배포 기본값은 모두 꺼짐 - 리포트 본문을 DiscoveryReportView 로 분리하고, 가상 데이터만 그리는 /discovery/sample 을 만든다 - 예시 리포트 경로는 병원 작업 공간 메뉴 대신 일반 헤더를 쓴다 - Use Cases 데이터(src/data/useCases.ts, 비어 있음)와 섹션을 두고, 사례가 있을 때만 섹션·메뉴가 보인다 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a47b792912
commit
f1f8e6f6e4
10 files changed
+157
-28
No files matched your search
@@ -21,6 +21,9 @@ import Roadmap from '../components/discovery/Roadmap';
|
||||
import HonestyStrip from '../components/discovery/HonestyStrip';
|
||||
import DiscoveryCta from '../components/discovery/DiscoveryCta';
|
||||
import ContactModal from '../components/ContactModal';
|
||||
import UseCasesSection from '../components/discovery/UseCasesSection';
|
||||
import { USE_CASES } from '../data/useCases';
|
||||
import { SHOW_USE_CASES } from '../lib/site';
|
||||
|
||||
export default function DiscoveryLandingPage() {
|
||||
// 진단 요청은 문의하기와 같은 폼(구글시트 기록 + 메일 알림)으로 받는다. source 로 어느 버튼에서 왔는지 남긴다.
|
||||
@@ -55,6 +58,7 @@ export default function DiscoveryLandingPage() {
|
||||
<WhyNow />
|
||||
<HowItWorks criteriaCount={criteriaCount} categoryCount={categoryCount} />
|
||||
<SampleReport overall={overall} axes={axes} result={result} />
|
||||
{SHOW_USE_CASES && USE_CASES.length > 0 && <UseCasesSection cases={USE_CASES} />}
|
||||
<Roadmap
|
||||
axes={axes}
|
||||
criteriaCount={criteriaCount}
|
||||
|
||||
Reference in new issue
Block a user