feat(site): rewrite the landing page around verified facts and accessible controls

- Replace claims that contradicted the app: the default hotkey is Right Alt
  (hold to talk), local features are free with no daily cap, there is no
  14-day trial, Team/SSO/SCIM/ZDR are not offered, and the repository is not
  public. Remove invented metrics, status badges, the competitor table, the
  ad-mediation changelog, the hash calculator and the duplicate demo.
- Seven sections: hero with one labelled example, features, how it works,
  privacy, pricing (Free / Pro 2,900 / Pro+ 8,900 KRW a month), download, FAQ.
  Footer links the privacy policy, terms and account deletion pages.
- All copy moves into i18n and every one of the 10 locales is translated.
  Pricing and cloud quotas come from site/src/pricing.ts.
- Accessibility: skip link, labelled sections, aria-expanded with Esc and
  focus return for the menu, language list and FAQ, live status for the
  example, reduced-motion support, 44px targets, AA contrast on the primary
  button. Korean keep-all line breaking is scoped to :lang(ko) because
  Tailwind's break-keep blocked wrapping in Japanese and Chinese.
- JS 111 -> 98 KB gzip, CSS 7.8 -> 5.2 KB gzip.
This commit is contained in:
Yun Chan 2026-09-26 15:04:43 +09:00
parent ad6bb70c20
commit e689683b72
44 changed files with 2198 additions and 3782 deletions

View file

@ -1,124 +1,28 @@
import { SectionHeader } from '../components/SectionHeader'
import { Container } from '../components/Container'
import { Led } from '../components/Led'
import { SectionHeading } from '../components/SectionHeading'
import { useI18n } from '../i18n'
export function Privacy() {
const { t, locale } = useI18n()
const comparisonRows = [
{
feature: locale === 'ko' ? '음성 데이터 외부 서버 전송' : 'Voice Uploaded to External Servers',
d3ro: locale === 'ko' ? '0% (절대 전송 안 함)' : '0% (Never Uploaded)',
cloud: locale === 'ko' ? '100% (클라우드 저장)' : '100% (Saved to Cloud)',
d3roOk: true,
},
{
feature: locale === 'ko' ? '오프라인 단독 동작 가능 여부' : '100% Offline / Air-Gapped Operation',
d3ro: locale === 'ko' ? '완전 지원 (인터넷 불필요)' : 'Fully Supported (No Internet Needed)',
cloud: locale === 'ko' ? '불가 (연결 끊기면 중단)' : 'Fails without Internet',
d3roOk: true,
},
{
feature: locale === 'ko' ? '네트워크 전송 지연 (RTT)' : 'Network Roundtrip Latency',
d3ro: '0ms (온디바이스 메모리)',
cloud: '600ms ~ 2,500ms',
d3roOk: true,
},
{
feature: locale === 'ko' ? '무제한 딕테이션 비용' : 'Unlimited Voice Dictation Cost',
d3ro: locale === 'ko' ? '영구 무료 (₩0)' : '$0 Forever Free',
cloud: '월 2만 ~ 4만원',
d3roOk: true,
},
]
const { t } = useI18n()
return (
<section id="privacy" className="relative py-20 md:py-28 overflow-hidden">
<section id="privacy" aria-labelledby="privacy-title" className="section border-t border-white/10">
<Container>
<SectionHeader
index={t.privacy.index}
title={t.privacy.title}
subtitle={t.privacy.subtitle}
/>
<SectionHeading id="privacy-title" title={t.privacy.title} subtitle={t.privacy.subtitle} />
{/* CRT instrument panel */}
<div className="crt-screen rounded-3xl p-6 md:p-8 noise-texture mb-12 shadow-2xl border border-white/15">
<div className="relative z-10">
{/* Panel header */}
<div className="flex items-center justify-between mb-6 pb-3.5 border-b border-white/[0.08]">
<div className="flex items-center gap-2">
<Led color="green" pulse />
<span className="text-xs font-medium text-emerald-400">
{t.privacy.monitorTitle}
</span>
</div>
<span className="text-xs font-medium text-neutral-300 bg-surface-700/80 px-3 py-1 rounded-full border border-white/10">
에어갭 규정 준수
</span>
</div>
{/* Metric grid */}
<div className="grid grid-cols-2 md:grid-cols-3 gap-4">
{t.privacy.metrics.map((metric, i) => (
<div key={i} className="flex flex-col gap-1.5 p-3.5 rounded-xl bg-surface-900/80 border border-white/10 shadow-inner">
<span className="text-xs text-neutral-400 font-normal">
{metric.label}
</span>
<div className="flex items-center gap-2">
<Led color="green" size="sm" />
<span className="text-sm sm:text-base font-medium text-neutral-100">
{metric.value}
</span>
</div>
</div>
))}
</div>
</div>
</div>
{/* Comparison Matrix: D3RO Voice vs Cloud Services */}
<div className="mb-12 overflow-x-auto -mx-5 md:mx-0">
<table className="w-full min-w-[650px] text-left border-collapse rounded-2xl overflow-hidden bg-surface-800/60 border border-white/10 shadow-glass-card backdrop-blur-xl">
<thead>
<tr className="border-b border-white/10 bg-surface-700/80 text-xs text-neutral-300 font-medium">
<th className="p-4 w-1/2">{locale === 'ko' ? '보안 및 프라이버시 비교 기준' : 'Security & Privacy Criterion'}</th>
<th className="p-4 text-brand-blue font-medium w-1/4">D3RO VOICE (로컬)</th>
<th className="p-4 text-neutral-400 w-1/4">일반 클라우드 STT</th>
</tr>
</thead>
<tbody className="divide-y divide-white/[0.06] text-sm">
{comparisonRows.map((row, idx) => (
<tr key={idx} className="hover:bg-surface-700/40 transition-colors">
<td className="p-4 text-neutral-200 font-normal">{row.feature}</td>
<td className="p-4 font-medium text-emerald-400 bg-emerald-500/10">
✓ {row.d3ro}
</td>
<td className="p-4 text-neutral-400 font-normal">
{row.cloud}
</td>
</tr>
))}
</tbody>
</table>
</div>
{/* Guarantee bullet cards */}
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
{t.privacy.guarantees.map((g, i) => (
<div
key={i}
className="flex items-center gap-3.5 px-5 py-4 rounded-2xl bg-surface-800/70 border border-white/10 backdrop-blur-sm shadow-sm"
>
<div className="w-5 h-5 rounded-full bg-emerald-500/15 border border-emerald-500/30 flex items-center justify-center text-emerald-400 flex-shrink-0">
<svg className="w-3 h-3" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="3" strokeLinecap="round" strokeLinejoin="round">
<polyline points="20 6 9 17 4 12" />
</svg>
</div>
<span className="text-sm text-neutral-200 font-normal">{g}</span>
{/* 사양서처럼 항목과 설명을 짝지어 읽게 한다. */}
<dl className="mt-14 border-b border-white/10">
{t.privacy.points.map((point) => (
<div key={point.title} className="grid grid-cols-1 gap-2 border-t border-white/10 py-6 md:grid-cols-12 md:gap-10">
<dt className="keep-ko text-lg font-medium text-neutral-50 md:col-span-4">{point.title}</dt>
<dd className="keep-ko text-base leading-relaxed text-neutral-300 md:col-span-8">{point.body}</dd>
</div>
))}
</div>
</dl>
<p className="mt-4">
<a href="./privacy/" className="link inline-flex min-h-[44px] items-center">{t.privacy.policyLink}</a>
</p>
</Container>
</section>
)