전체 폰트 한 단계 확대 + 시나리오 4색 부여 (A 파랑·B 초록·C 보라·D 주황)
- 보조 텍스트 10→11px·12→13px, 본문 14→15px, 가격 헤드라인 24→28px, 차트 라벨 확대 - 사분면 카드와 좌측 요약 뱃지에 시나리오별 저채도 색 연결 (테마에 보라 보조색 추가) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UFZ7JWdwCaQAwNYJErL8pP
This commit is contained in:
1 parent
edca1250a3
commit
fdfb235774
6 files changed
+51
-46
No files matched your search
@@ -57,7 +57,7 @@ export function ChatPanel({
|
||||
<section className="flex min-h-[70vh] flex-col rounded-box bg-base-100 min-[960px]:h-full min-[960px]:min-h-0">
|
||||
{started && demoCase && (
|
||||
<div className="flex items-center justify-between gap-3 border-b border-base-300/60 px-5 py-3">
|
||||
<span className="truncate text-sm font-bold">{demoCase.item_name}</span>
|
||||
<span className="truncate text-[15px] font-bold">{demoCase.item_name}</span>
|
||||
{!nego.done && (
|
||||
<button
|
||||
type="button"
|
||||
@@ -75,15 +75,15 @@ export function ChatPanel({
|
||||
{!started && (
|
||||
<div className="flex h-full flex-col items-center justify-center gap-6 py-8 text-center">
|
||||
<div>
|
||||
<p className="text-lg font-bold">어떤 시나리오로 협상해 볼까요?</p>
|
||||
<p className="mx-auto mt-2 max-w-md text-sm leading-relaxed text-base-content/55">
|
||||
<p className="text-xl font-bold">어떤 시나리오로 협상해 볼까요?</p>
|
||||
<p className="mx-auto mt-2 max-w-md text-[15px] leading-relaxed text-base-content/55">
|
||||
구매 엔진은 상품의 매출 규모와 경쟁 강도에 따라 가격 전략을 다르게 씁니다.
|
||||
시나리오를 선택하면 해당 조건의 품목으로 협상이 시작됩니다.
|
||||
</p>
|
||||
</div>
|
||||
{/* 사분면 다이어그램 — Y축: 매출 규모(위=높음), X축: 경쟁 강도(오른쪽=높음) */}
|
||||
<div className="flex w-full max-w-sm items-stretch gap-2">
|
||||
<div className="mb-7 flex flex-col text-[10px] font-medium text-base-content/45" aria-hidden>
|
||||
<div className="mb-7 flex flex-col text-[11px] font-medium text-base-content/45" aria-hidden>
|
||||
<span className="flex flex-1 items-center justify-center [writing-mode:vertical-rl]">
|
||||
매출 높음
|
||||
</span>
|
||||
@@ -104,21 +104,21 @@ export function ChatPanel({
|
||||
disabled={busy}
|
||||
onClick={() => onSelect(c)}
|
||||
aria-label={`시나리오 ${q.letter} — ${q.axis}`}
|
||||
className="cursor-pointer rounded-field bg-base-200/60 px-4 py-5 transition-colors hover:bg-primary/10 focus-visible:ring-2 focus-visible:ring-primary focus-visible:outline-none"
|
||||
className={`cursor-pointer rounded-field px-4 py-5 transition-colors focus-visible:ring-2 focus-visible:ring-primary focus-visible:outline-none ${q.tileCls}`}
|
||||
>
|
||||
<span className="text-2xl font-extrabold">{q.letter}</span>
|
||||
<span className="mt-0.5 block text-[10px] font-medium text-base-content/45">시나리오</span>
|
||||
<span className={`text-3xl font-extrabold ${q.textCls}`}>{q.letter}</span>
|
||||
<span className="mt-0.5 block text-[11px] font-medium text-base-content/45">시나리오</span>
|
||||
</button>
|
||||
)
|
||||
})}
|
||||
</div>
|
||||
<div className="mt-1.5 grid grid-cols-2 pl-3 text-[10px] font-medium text-base-content/45" aria-hidden>
|
||||
<div className="mt-1.5 grid grid-cols-2 pl-3 text-[11px] font-medium text-base-content/45" aria-hidden>
|
||||
<span className="text-center">경쟁 낮음</span>
|
||||
<span className="text-center">경쟁 높음</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p className="text-xs text-base-content/45">
|
||||
<p className="text-[13px] text-base-content/45">
|
||||
챗봇은 구매 담당자(MD) 역할이고, 당신은 공급사로서 가격 제안에 응답합니다.
|
||||
</p>
|
||||
</div>
|
||||
@@ -127,7 +127,7 @@ export function ChatPanel({
|
||||
{messages.map((m, i) => (
|
||||
<li key={i} className={`msg-in chat ${m.role === 'user' ? 'chat-end' : 'chat-start'}`}>
|
||||
{m.role === 'bot' && m.step && (
|
||||
<div className="chat-header mb-1 flex items-center gap-1.5 text-[11px] font-semibold text-base-content/45">
|
||||
<div className="chat-header mb-1 flex items-center gap-1.5 text-xs font-semibold text-base-content/45">
|
||||
<span>{stepLabel(m.step)}</span>
|
||||
{m.meta?.card_id && (
|
||||
<span className="num rounded-full bg-primary/10 px-1.5 py-px font-mono text-primary">
|
||||
@@ -169,8 +169,8 @@ export function ChatPanel({
|
||||
<div className="flex flex-wrap items-center justify-between gap-3">
|
||||
{finalPrice != null ? (
|
||||
<div>
|
||||
<p className="text-xs font-semibold text-success">협상 완료</p>
|
||||
<p className="num mt-0.5 text-lg font-bold">
|
||||
<p className="text-[13px] font-semibold text-success">협상 완료</p>
|
||||
<p className="num mt-0.5 text-xl font-bold">
|
||||
{finalPrice.toLocaleString()}원
|
||||
<span className="num ml-2 align-[2px] rounded-full bg-primary/10 px-2 py-0.5 text-xs font-semibold text-primary">
|
||||
기존가 대비 −{savedPct}%
|
||||
|
||||
Reference in new issue
Block a user