Merge branch 'design/frontend' into feature/landing

This commit is contained in:
minaChoi committed 2026-07-22 08:57:08 +09:00
commit a9db0f7a1b
23 files changed
+187 -164

No files matched your search

+17 -9
View File
@@ -7,22 +7,33 @@ import { SectionHeading } from "@/components/ui/section-heading"
import { Typography } from "@/components/ui/typography"
import { useFadeUp } from "@/lib/motion"
/** 기존 방식 ↔ 도입 후 토글 비교 — 화면 진입 시 자동으로 오가고, 사용자가 누르면 수동 고정. */
/** 기존 방식 ↔ 도입 후 토글 비교 — 화면 진입 시 자동으로 오가고, 누르면 잠시 수동(8초 후 자동 재개). */
export function Comparison() {
const fadeUp = useFadeUp()
const toggleFadeUp = useFadeUp(0.1)
const [mode, setMode] = useState<Mode>("before")
// 사용자가 직접 토글을 누르면 자동 전환 중단
// 사용자가 토글을 누르면 잠시 자동 전환 중단, 8초 무조작 시 재개
const [locked, setLocked] = useState(false)
const [inView, setInView] = useState(false)
const sectionRef = useRef<HTMLDivElement>(null)
const lockTimerRef = useRef<ReturnType<typeof setTimeout> | null>(null)
const selectMode = (key: Mode) => {
setMode(key)
setLocked(true)
if (lockTimerRef.current) clearTimeout(lockTimerRef.current)
lockTimerRef.current = setTimeout(() => setLocked(false), 8000)
}
useEffect(() => {
const el = sectionRef.current
if (!el) return
const observer = new IntersectionObserver(([entry]) => setInView(entry.isIntersecting), { threshold: 0.35 })
observer.observe(el)
return () => observer.disconnect()
return () => {
observer.disconnect()
if (lockTimerRef.current) clearTimeout(lockTimerRef.current)
}
}, [])
useEffect(() => {
@@ -32,13 +43,13 @@ export function Comparison() {
}, [inView, locked])
return (
<Section id="comparison" bordered>
<Section id="comparison">
<motion.div {...fadeUp} className="mb-12">
<SectionHeading
align="center"
eyebrow="WHY NEGOTIUM"
title="협상 방식을 바꾸면, 무엇이 달라질까요"
description="기존 가격 협상의 문제는 사람이 아니라 구조입니다. 버튼을 눌러 직접 비교해 보세요."
description="기존 가격 협상의 문제는 사람이 아니라 구조입니다."
descriptionClassName="mt-4 text-[17px] max-w-2xl"
/>
</motion.div>
@@ -49,10 +60,7 @@ export function Comparison() {
{MODES.map((m) => (
<button
key={m.key}
onClick={() => {
setLocked(true)
setMode(m.key)
}}
onClick={() => selectMode(m.key)}
className={`px-5 py-2.5 rounded-[10px] text-xs sm:text-sm font-bold transition-all flex items-center gap-2 cursor-pointer ${
mode === m.key ? "bg-white text-primary shadow-sm" : "text-ink-soft hover:text-ink"
}`}
+3 -2
View File
@@ -13,7 +13,7 @@ export function Faq() {
const [openIndex, setOpenIndex] = useState<number | null>(0)
return (
<Section id="faq" width="sm" bordered>
<Section id="faq" width="sm">
<motion.div {...fadeUp} className="mb-24">
<SectionHeading
align="center"
@@ -107,6 +107,7 @@ const FAQS: FaqEntry[] = [
},
{
question: "기존 시스템과 연동되나요?",
answer: "견적·발주 데이터 연동을 지원합니다. 도입 상담에서 사내 ERP 환경에 맞는 연동 방식을 안내해 드립니다.",
answer:
"별도 연동 없이 바로 시작할 수 있습니다. 상품·공급사 데이터는 엑셀 일괄 업로드로 쉽게 등록되고, ERP 연동은 도입 상담에서 사내 환경에 맞춰 협의합니다.",
},
]
+2 -3
View File
@@ -4,12 +4,11 @@ import { Typography } from "@/components/ui/typography"
export function Footer() {
return (
<footer className="bg-white text-ink-soft border-t border-line py-24 font-sans text-sm relative z-10">
<div className="max-w-4xl mx-auto px-6 grid grid-cols-1 md:grid-cols-12 gap-12">
<div className="max-w-4xl mx-auto px-6 grid grid-cols-1 md:grid-cols-12 gap-12 text-center md:text-left">
<div className="md:col-span-8">
<Logo className="mb-6" />
<Typography variant="caption" className="max-w-sm mb-6 font-medium">
negotium은 기업 구매 부서가 통제 가이드라인을 정의해두면 지능형 흥정 봇이 대신하여 다수 공급자와 투명하게 단가를
조율하는 B2B 자동 중개 대행 플랫폼입니다.
negotium은 협상 봇이 공급사와 1:1로 단가를 조율하고 낙찰까지 처리하는 B2B 구매 협상 자동화 솔루션입니다.
</Typography>
<p className="text-xs text-ink-faint font-semibold">
© {new Date().getFullYear()} negotium Co., Ltd. All rights reserved.
+2 -3
View File
@@ -44,9 +44,8 @@ export function Header() {
}
const NAV_LINKS = [
{ href: "#how-it-works", label: "실시간 협상" },
{ href: "#how-it-works", label: "협상 데모" },
{ href: "#how-it-works-demo", label: "이용 가이드" },
{ href: "#core-values", label: "솔루션 이점" },
{ href: "#reinforcement", label: "강화학습" },
{ href: "#comparison", label: "도입 전후 비교" },
{ href: "#faq", label: "자주 묻는 질문" },
]
@@ -11,8 +11,8 @@ export function HeroGlassmorphic() {
<section className="relative min-h-screen bg-surface text-ink flex flex-col justify-center pt-32 overflow-hidden">
{/* 흐릿한 파스텔 블롭 배경 */}
<div className="absolute top-[10%] right-[15%] w-[480px] h-[480px] bg-primary/10 rounded-full filter blur-[120px] pointer-events-none" />
<div className="absolute bottom-[10%] left-[10%] w-[450px] h-[450px] bg-[#8F52FF]/10 rounded-full filter blur-[120px] pointer-events-none" />
<div className="absolute top-[30%] left-[30%] w-[380px] h-[380px] bg-sky-300/10 rounded-full filter blur-[100px] pointer-events-none" />
<div className="absolute bottom-[10%] left-[10%] w-[450px] h-[450px] bg-accent/10 rounded-full filter blur-[120px] pointer-events-none" />
<div className="absolute top-[30%] left-[30%] w-[380px] h-[380px] bg-primary/10 rounded-full filter blur-[100px] pointer-events-none" />
{/* 저채도 그리드 패턴 오버레이 */}
<div className="absolute inset-0 bg-[linear-gradient(rgba(0,0,0,0.01)_1px,transparent_1px),linear-gradient(90deg,rgba(0,0,0,0.01)_1px,transparent_1px)] bg-[size:40px_40px] pointer-events-none" />
@@ -27,7 +27,7 @@ export function HeroGlassmorphic() {
<motion.div
animate={{ rotate: -360 }}
transition={{ duration: 80, repeat: Infinity, ease: "linear" }}
className="absolute bottom-[18%] left-[6vw] lg:left-[12%] w-28 h-28 sm:w-48 sm:h-48 border-2 border-dashed border-[#8F52FF]/30 rounded-full pointer-events-none z-0"
className="absolute bottom-[18%] left-[6vw] lg:left-[12%] w-28 h-28 sm:w-48 sm:h-48 border-2 border-dashed border-accent/30 rounded-full pointer-events-none z-0"
/>
<motion.div
animate={{ x: [0, 10, 0], y: [0, 10, 0] }}
@@ -2,14 +2,13 @@ import { motion } from "motion/react"
import { ArrowDown, ArrowRight } from "lucide-react"
import { Button } from "@/components/ui/button"
import { PhoneFrame } from "@/components/ui/device-mockups"
import { Typography } from "@/components/ui/typography"
/** 대안 히어로 — 뉴모피즘 배경 + 실제 모바일 협상 화면(GIF) 폰 목업. */
export function HeroNeumorphic() {
return (
<section className="relative min-h-screen bg-surface-neu text-ink flex flex-col justify-center pt-32 pb-20 overflow-hidden">
<div className="mesh-bg absolute top-[-300px] right-[-100px] opacity-40 pointer-events-none" />
{/* 우측 상단 메시 제거 — 영상 배경(#F2F4F7)과 섹션 배경을 완전 동일하게 유지해 경계선 없이 블렌딩 */}
<div className="max-w-5xl mx-auto px-6 w-full relative z-10 grid grid-cols-1 lg:grid-cols-12 gap-16 items-center">
{/* 좌: 카피 + CTA */}
@@ -49,7 +48,7 @@ export function HeroNeumorphic() {
</motion.div>
</div>
{/* 우: 협력사 모바일 협상 실제 화면 (GIF) */}
{/* 우: 모바일 협상 채팅 + 외부 설명 UI(제안가·협상카드·낙찰 하이라이트) 합성 영상 */}
<div className="lg:col-span-5 flex justify-center">
<motion.div
initial={{ opacity: 0, scale: 0.95 }}
@@ -57,13 +56,15 @@ export function HeroNeumorphic() {
transition={{ duration: 0.8, delay: 0.2 }}
className="w-full flex justify-center"
>
<PhoneFrame>
<img
src="/gifs/negotiation.gif"
alt="협력사 모바일 협상 포털 실제 화면"
className="w-full h-full object-cover"
/>
</PhoneFrame>
<video
src="/gifs/negotiation_annotated.mp4"
poster="/gifs/negotiation_annotated.jpg"
autoPlay
muted
loop
playsInline
className="w-full max-w-[440px] h-auto"
/>
</motion.div>
</div>
</div>
@@ -44,7 +44,7 @@ export function HowItWorksDemo() {
<div className="grid grid-cols-1 lg:grid-cols-12 gap-12 items-center min-h-[500px]">
{/* 좌: 단계 설명 */}
<div className="lg:col-span-5 space-y-6">
<div className="lg:col-span-5 space-y-6 text-center lg:text-left">
<AnimatePresence mode="wait">
<motion.div
key={`${activeTab.key}-text`}
@@ -67,7 +67,7 @@ export function HowItWorksDemo() {
<div className="border-t border-line pt-5 mt-2 space-y-3">
{activeTab.checks.map((check, idx) => (
<div key={idx} className="flex items-center gap-2 text-xs font-bold text-ink-soft">
<div key={idx} className="flex items-center gap-2 text-xs font-bold text-ink-soft justify-center lg:justify-start">
<Check className={`w-4 h-4 ${activeTab.checkClassName}`} />
<span>{check}</span>
</div>
@@ -128,6 +128,22 @@ function GifSlot({ tab }: { tab: DemoTab }) {
)
}
// video(mp4)가 있으면 우선 재생 — 줌 스크린캐스트는 GIF보다 용량 1/5·화질 우위. 없으면 GIF.
if (tab.video) {
return (
<video
src={tab.video}
poster={tab.poster}
autoPlay
muted
loop
playsInline
onError={() => setError(true)}
className="w-full h-full object-cover"
/>
)
}
return (
<img
src={tab.gif}
@@ -151,6 +167,8 @@ type DemoTab = {
mockup: "browser" | "phone"
url?: string
gif: string
video?: string
poster?: string
gifAlt: string
fallback: {
icon: LucideIcon
@@ -188,6 +206,8 @@ const DEMO_TABS: DemoTab[] = [
mockup: "browser",
url: "https://console.negotium.ai/estimates/new",
gif: "/gifs/quote_generation.gif",
video: "/gifs/quote_generation.mp4",
poster: "/gifs/quote_generation.jpg",
gifAlt: "견적 생성 가이드라인 수립 시연",
fallback: {
icon: Monitor,
@@ -201,12 +221,12 @@ const DEMO_TABS: DemoTab[] = [
key: "negotiate",
tabIcon: Smartphone,
tabLabel: "2단계: AI 자동 밀당 협상",
badge: { icon: Bot, label: "협력사 모바일 포털 (모바일)", className: "bg-emerald-50 border border-emerald-100 text-positive" },
checkClassName: "text-emerald-500",
badge: { icon: Bot, label: "협력사 협상 포털 (웹·모바일)", className: "bg-positive-soft border border-positive/15 text-positive" },
checkClassName: "text-positive",
heading: (
<>
공급사는 설치 없이 <br />
모바일 웹으로 언제든 협상
웹·모바일 어디서든 협상
</>
),
paragraphs: [
@@ -214,11 +234,11 @@ const DEMO_TABS: DemoTab[] = [
각 파트너사 담당자는 초대 메일로 <b>비대면 협상 모바일 포털</b>에 접속해, 언제든 단가를 조율합니다.
</>,
<>
단순 마진 깎기가 아닌, <b>"물량 보증"</b> 혹은 <b>"지불 주기 단축"</b> 등의 와일드카드 거래 카드를 연동 제안하여
파트너사의 자발적인 마진 타협을 부드럽게 이끌어냅니다.
단순 마진 깎기가 아닙니다. 봇은 준비된 협상 카드를 상황에 맞게 꺼내, 파트너사의 자발적인 마진 타협을 부드럽게
이끌어냅니다.
</>,
],
checks: ["1:1 프라이빗 대화형 역경매 포털 제공", "불필요한 실랑이를 예방하여 파트너십 보호"],
checks: ["1:1 비대면 협상 포털 제공", "불필요한 실랑이를 예방하여 파트너십 보호"],
mockup: "phone",
gif: "/gifs/negotiation.gif",
video: "/gifs/negotiation.mp4",
@@ -226,7 +246,7 @@ const DEMO_TABS: DemoTab[] = [
gifAlt: "AI 모바일 자동 협상 시연",
fallback: {
icon: Smartphone,
iconWrapClassName: "w-12 h-12 bg-emerald-50 border border-emerald-100 rounded-full text-emerald-500",
iconWrapClassName: "w-12 h-12 bg-positive-soft border border-positive/15 rounded-full text-positive",
codeClassName: "bg-fill text-positive",
title: "협상 시연 GIF 공간",
hint: "실제 모바일 협상 시뮬레이션 GIF를 배치해 주세요.",
@@ -236,8 +256,8 @@ const DEMO_TABS: DemoTab[] = [
key: "result",
tabIcon: Monitor,
tabLabel: "3단계: AI 협상 결과 확인",
badge: { icon: Monitor, label: "구매 관리자 콘솔 (웹)", className: "bg-purple-50 border border-purple-100 text-purple-600" },
checkClassName: "text-purple-500",
badge: { icon: Monitor, label: "구매 관리자 콘솔 (웹)", className: "bg-accent-soft border border-accent/15 text-accent" },
checkClassName: "text-accent",
heading: (
<>
자동 분석 및 타결 보고서 <br />
@@ -257,11 +277,13 @@ const DEMO_TABS: DemoTab[] = [
mockup: "browser",
url: "https://console.negotium.ai/dashboard/reports",
gif: "/gifs/negotiation_result.gif",
video: "/gifs/negotiation_result.mp4",
poster: "/gifs/negotiation_result.jpg",
gifAlt: "협상 결과 분석 대시보드 시연",
fallback: {
icon: Monitor,
iconWrapClassName: "w-14 h-14 bg-purple-50 rounded-2xl text-purple-600",
codeClassName: "bg-white text-purple-600",
iconWrapClassName: "w-14 h-14 bg-accent-soft rounded-2xl text-accent",
codeClassName: "bg-white text-accent",
title: "협상 결과 확인 시연 GIF 공간",
hint: "결과 보고 대시보드 기동 GIF를 배치하시면 이 영역에 자동으로 재생됩니다.",
},
@@ -2,6 +2,7 @@ import { useEffect, useRef, useState } from "react"
import { AnimatePresence, motion } from "motion/react"
import { Bot, Handshake, ShieldCheck } from "lucide-react"
import { PriceSparkline } from "@/components/ui/price-sparkline"
import { SlateRenderer } from "@/components/ui/slate-renderer"
import { Typography } from "@/components/ui/typography"
import { EASE_OUT_EXPO } from "@/lib/motion"
@@ -75,16 +76,16 @@ export function NegotiationConsole() {
Live Replay
</Typography>
<Typography variant="heading" as="h2" className="mt-1">
봇이 깎아내는 과정, 그대로 재생
봇은 물러서지 않습니다
</Typography>
</div>
<div className="max-w-4xl mx-auto grid grid-cols-1 md:grid-cols-12 gap-12 md:gap-16 items-center w-full">
{/* 좌: 실시간 단가 패널 */}
<div className="md:col-span-5 flex flex-col justify-center space-y-6">
<div className="md:col-span-5 flex flex-col justify-center space-y-6 text-center md:text-left">
<div>
<span className="text-[11px] font-bold text-ink-muted uppercase tracking-wider block mb-1">실시간 협상 단가</span>
<div className="flex items-baseline gap-1.5">
<div className="flex items-baseline gap-1.5 justify-center md:justify-start">
<span className="text-3xl font-bold text-primary">₩</span>
<span className="text-4xl md:text-5xl font-black tracking-tight text-primary">
{animatedPrice.toLocaleString()}
@@ -105,7 +106,11 @@ export function NegotiationConsole() {
{/* 계단식 하락 스파크라인 + 목표가 기준선 */}
<div>
<PriceSparkline activeStep={activeStep} />
<PriceSparkline
prices={NEGOTIATION_STEPS.map((step) => step.price)}
targetPrice={TARGET_PRICE}
progress={activeStep < 0 ? 0 : (activeStep + 1) / NEGOTIATION_STEPS.length}
/>
<div className="flex justify-between mt-2">
<Typography variant="micro">시작가 {START_PRICE.toLocaleString()}</Typography>
<Typography variant="micro" className="text-primary">
@@ -125,7 +130,7 @@ export function NegotiationConsole() {
initial={{ scale: 0.95, opacity: 0 }}
animate={{ scale: 1, opacity: 1 }}
exit={{ scale: 0.95, opacity: 0 }}
className="inline-flex items-center gap-1.5 px-3 py-1.5 rounded-xl bg-emerald-50 text-positive border border-emerald-100 text-xs font-bold"
className="inline-flex items-center gap-1.5 px-3 py-1.5 rounded-xl bg-positive-soft text-positive border border-positive/15 text-xs font-bold"
>
<ShieldCheck className="w-4 h-4 shrink-0" />
{NEGOTIATION_STEPS[activeStep].badge}
@@ -220,54 +225,6 @@ export function NegotiationConsole() {
const START_PRICE = 1200000
const TARGET_PRICE = 1080000
/** 대화 진행에 맞춰 그려지는 계단식 가격 하락 라인 + 목표가 점선. */
function PriceSparkline({ activeStep }: { activeStep: number }) {
const W = 100
const H = 44
// 위아래 여백을 둔 가격 범위 매핑
const MAX = 1215000
const MIN = 1035000
const y = (price: number) => ((MAX - price) / (MAX - MIN)) * H
const prices = NEGOTIATION_STEPS.map((step) => step.price)
const stepX = (i: number) => (i / (prices.length - 1)) * W
// step-after 계단 경로
let d = `M 0 ${y(prices[0]).toFixed(1)}`
for (let i = 1; i < prices.length; i++) {
d += ` L ${stepX(i).toFixed(1)} ${y(prices[i - 1]).toFixed(1)} L ${stepX(i).toFixed(1)} ${y(prices[i]).toFixed(1)}`
}
const progress = activeStep < 0 ? 0 : Math.min((activeStep + 1) / prices.length, 1)
return (
<svg viewBox={`0 0 ${W} ${H}`} preserveAspectRatio="none" className="w-full h-16 overflow-visible" aria-hidden>
<defs>
<clipPath id="nego-spark-clip">
<rect x="0" y="-4" width={progress * W} height={H + 8} style={{ transition: "width 0.5s ease-out" }} />
</clipPath>
</defs>
{/* 목표가 기준선 */}
<g className="text-primary/40">
<line
x1="0"
y1={y(TARGET_PRICE)}
x2={W}
y2={y(TARGET_PRICE)}
stroke="currentColor"
strokeWidth="1"
strokeDasharray="4 4"
vectorEffect="non-scaling-stroke"
/>
</g>
{/* 가격 하락 계단 — 진행률만큼 클립으로 드러남 */}
<g clipPath="url(#nego-spark-clip)" className="text-primary">
<path d={d} fill="none" stroke="currentColor" strokeWidth="2.5" vectorEffect="non-scaling-stroke" strokeLinejoin="round" />
</g>
</svg>
)
}
// 데모 대화 시나리오 — 1,200,000원 제시에서 1,050,000원 낙찰까지 6스텝
const NEGOTIATION_STEPS: DialogueStep[] = [
{
@@ -14,6 +14,7 @@ export function Reinforcement() {
<Section id="reinforcement" bg="surface" bordered className="border-b border-line">
<motion.div {...fadeUp} className="mb-20">
<SectionHeading
className="text-center md:text-left"
eyebrow="REINFORCEMENT LEARNING"
title="협상할수록, 더 좋은 조건으로"
description={
@@ -77,7 +77,7 @@ export function ROISimulator() {
</div>
<div className="flex gap-3 bg-surface p-5 rounded-2xl border border-line">
<ShieldCheck className="w-5 h-5 text-emerald-500 flex-shrink-0 mt-0.5" />
<ShieldCheck className="w-5 h-5 text-positive flex-shrink-0 mt-0.5" />
<Typography variant="caption" className="text-ink-soft">
본 시뮬레이션은 글로벌 최저가 스캔(LPS) 시장 표준 및 다수 B2B 자율 협상 데이터의 보수적인 평균 수치(3.1% ~ 4.2%
절감)를 적용하여 산정되었습니다. 실사 수준의 검증은 파일 연동을 통해 무상 지원됩니다.