feat: PART III 랜딩 피봇 — 다채널 URL 입력 + Strategic Planner 포지셔닝
- MultiChannelInput: URL 뭉치 붙여넣기 → classifyUrls로 7개 채널 자동 분류
(homepage·YouTube·Instagram·Facebook·네이버플레이스·블로그·강남언니)
· "Analyze" pill 버튼 복원 + variant별 색 분기 (hero=dark brand,
cta=#fff3eb→#e4cfff→#f5f9ff warm 3-stop)
· placeholder 중앙 정렬 + "한 줄씩" 규칙 제거 (유연 파싱 노출)
- Navbar: Free Report CTA 제거 → Login + 문의하기 (contact@o2o.kr) duo
- LoginPage: 계약 고객용 스캐폴딩 페이지 신규 추가
- PricingPage: 계약 기반 영업 반영, FAQ에서 해지·환불 항목 제거
(세부 정책 미확정 → 후속 추가)
- Landing 카피 Strategic Planner 포지셔닝 피봇:
· Hero sub: "10분 진단 → 12개월 전략 설계"
· Solution AGDP: Audit / Generation / Direction / Planning 재해석
· Modules: Intelligence + Planning Available, 나머지 Coming Soon 정직화
· TargetAudience: 전략 파트너 / 전략 자문 + Partner Program 신청 waitlist
· Problems: 콘텐츠 소진 / 경쟁사 분석 부재 / 데이터 부족 3축
· UseCases: 진단·전략·KPI(Medical) · 수주·자문·포트폴리오(Agency)
- discover-channels Edge Function: manualChannels 수용 — 사용자 붙여넣은
URL이 Firecrawl 스크래핑보다 우선, naverPlace/gangnamUnni 직접 주입
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
517075b3ef
commit
938ebacbf9
20 files changed
+1774
-146
No files matched your search
@@ -57,7 +57,12 @@ export default function AnalysisLoadingPage() {
|
||||
const navigate = useNavigate();
|
||||
const location = useLocation();
|
||||
const { reportId: urlReportId } = useParams<{ reportId?: string }>();
|
||||
const url = (location.state as { url?: string })?.url;
|
||||
const locState = (location.state as {
|
||||
url?: string;
|
||||
manualChannels?: import('../lib/supabase').ManualChannels;
|
||||
}) ?? {};
|
||||
const url = locState.url;
|
||||
const manualChannels = locState.manualChannels;
|
||||
const hasStarted = useRef(false);
|
||||
|
||||
const phaseIndex = PHASE_STEPS.findIndex(s => s.key === phase);
|
||||
@@ -76,7 +81,9 @@ export default function AnalysisLoadingPage() {
|
||||
if (startPhase === 'discovering') {
|
||||
if (!startUrl) throw new Error('No URL provided');
|
||||
setPhase('discovering');
|
||||
const discovery = await discoverChannels(startUrl);
|
||||
// manualChannels가 있으면 Edge Function이 Firecrawl discovery를 스킵하고
|
||||
// 사용자 제공 URL을 직접 verified_channels에 주입합니다.
|
||||
const discovery = await discoverChannels(startUrl, undefined, manualChannels);
|
||||
if (!discovery.success) throw new Error(discovery.error || 'Channel discovery failed');
|
||||
reportId = discovery.reportId;
|
||||
clinicId = discovery.clinicId;
|
||||
@@ -146,7 +153,7 @@ export default function AnalysisLoadingPage() {
|
||||
setErrorDomain((err as { domain?: string }).domain || null);
|
||||
}
|
||||
}
|
||||
}, [navigate]);
|
||||
}, [navigate, manualChannels]);
|
||||
|
||||
// Retry from the current failed phase
|
||||
const handleRetry = useCallback(() => {
|
||||
|
||||
Reference in new issue
Block a user