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
@@ -0,0 +1,130 @@
|
||||
/**
|
||||
* LoginPage — 계약 병원 전용 로그인 (스캐폴딩).
|
||||
*
|
||||
* 현재 상태:
|
||||
* - UI·라우트 스캐폴딩만 제공합니다. 실제 Supabase Auth 연동은 후속 작업입니다.
|
||||
* - 제출 시 안내 메시지만 표시하고, 리드는 문의하기로 유도합니다.
|
||||
*
|
||||
* 향후 작업:
|
||||
* - Supabase `signInWithPassword` 연동
|
||||
* - 세션 훅 (`useSession`) + ProtectedRoute 적용
|
||||
* - 로그인 후 대시보드 리다이렉트
|
||||
*/
|
||||
import { useState, type FormEvent } from 'react';
|
||||
import { Link } from 'react-router';
|
||||
import { ArrowRight } from 'lucide-react';
|
||||
import { buildContactMailto } from '../lib/contact';
|
||||
|
||||
export default function LoginPage() {
|
||||
const [email, setEmail] = useState('');
|
||||
const [password, setPassword] = useState('');
|
||||
const [notice, setNotice] = useState<string | null>(null);
|
||||
|
||||
const handleSubmit = (e: FormEvent) => {
|
||||
e.preventDefault();
|
||||
setNotice(
|
||||
'로그인 기능은 준비 중입니다. 계약을 희망하시는 경우 contact@o2o.kr 로 문의 주세요.',
|
||||
);
|
||||
};
|
||||
|
||||
return (
|
||||
<section className="min-h-screen pt-32 pb-20 px-6 bg-gradient-to-b from-indigo-50/60 via-white to-white">
|
||||
<div className="max-w-md mx-auto">
|
||||
{/* 헤드라인 */}
|
||||
<div className="text-center mb-8">
|
||||
<Link
|
||||
to="/"
|
||||
className="font-serif text-3xl font-black tracking-[0.05em] bg-gradient-to-r from-[#4F1DA1] to-[#021341] bg-clip-text text-transparent"
|
||||
>
|
||||
INFINITH
|
||||
</Link>
|
||||
<h1 className="text-2xl font-serif font-bold text-primary-900 mt-6 mb-2">
|
||||
계약 병원 전용 로그인
|
||||
</h1>
|
||||
<p className="text-sm text-slate-500 break-keep leading-relaxed">
|
||||
계약 완료 시 별도 제공되는 자격 정보로 로그인하실 수 있습니다.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* 준비중 배너 */}
|
||||
<div className="mb-6 rounded-2xl bg-amber-50/80 border border-amber-200 p-4 text-center">
|
||||
<p className="text-xs font-semibold text-amber-800 break-keep leading-relaxed">
|
||||
현재 로그인 기능은 준비 중입니다.
|
||||
<br />
|
||||
신규 도입 문의는 하단 "문의하기"를 이용해 주세요.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* 폼 카드 */}
|
||||
<form
|
||||
onSubmit={handleSubmit}
|
||||
className="rounded-3xl bg-white border border-slate-200 shadow-sm p-8 space-y-5"
|
||||
>
|
||||
<div>
|
||||
<label
|
||||
htmlFor="login-email"
|
||||
className="block text-xs font-semibold text-slate-600 mb-2"
|
||||
>
|
||||
이메일
|
||||
</label>
|
||||
<input
|
||||
id="login-email"
|
||||
type="email"
|
||||
value={email}
|
||||
onChange={(e) => setEmail(e.target.value)}
|
||||
placeholder="clinic@example.com"
|
||||
className="w-full px-4 py-3 text-sm bg-slate-50 border border-slate-200 rounded-xl focus:outline-none focus:ring-2 focus:ring-accent/20 focus:border-accent/40 text-primary-900 placeholder:text-slate-400 transition-all"
|
||||
autoComplete="email"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label
|
||||
htmlFor="login-password"
|
||||
className="block text-xs font-semibold text-slate-600 mb-2"
|
||||
>
|
||||
비밀번호
|
||||
</label>
|
||||
<input
|
||||
id="login-password"
|
||||
type="password"
|
||||
value={password}
|
||||
onChange={(e) => setPassword(e.target.value)}
|
||||
placeholder="••••••••"
|
||||
className="w-full px-4 py-3 text-sm bg-slate-50 border border-slate-200 rounded-xl focus:outline-none focus:ring-2 focus:ring-accent/20 focus:border-accent/40 text-primary-900 placeholder:text-slate-400 transition-all"
|
||||
autoComplete="current-password"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<button
|
||||
type="submit"
|
||||
className="w-full inline-flex items-center justify-center gap-2 px-6 py-3 text-sm font-bold text-white rounded-full bg-gradient-to-r from-[#4F1DA1] to-[#021341] shadow-sm hover:opacity-90 transition-all"
|
||||
>
|
||||
로그인
|
||||
<ArrowRight className="w-4 h-4" />
|
||||
</button>
|
||||
|
||||
{notice && (
|
||||
<div
|
||||
role="status"
|
||||
className="text-xs text-slate-600 text-center bg-slate-50 rounded-xl p-3 leading-relaxed break-keep"
|
||||
>
|
||||
{notice}
|
||||
</div>
|
||||
)}
|
||||
</form>
|
||||
|
||||
{/* 하단 문의하기 */}
|
||||
<div className="mt-6 text-center">
|
||||
<p className="text-xs text-slate-500 mb-2">계약을 원하시나요?</p>
|
||||
<a
|
||||
href={buildContactMailto('도입 문의 (LoginPage)')}
|
||||
className="inline-flex items-center gap-1 text-sm font-semibold text-[#4F1DA1] hover:text-[#021341] transition-colors underline-offset-4 hover:underline"
|
||||
>
|
||||
문의하기 →
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user