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,112 +1,15 @@
/**
* D3RO Voice Landing Page - Centralized Design Tokens
* D3RO Voice 랜딩 페이지 — 구조 상수.
*
* All visual constants live here. Components reference these tokens
* instead of hardcoding colors, spacing, or typography values.
*
* Tailwind classes map to these same values via tailwind.config.js.
* Use tokens when building inline styles or JS-driven visuals.
* 색·타입·간격·그림자 값의 정본은 tailwind.config.js 다. 이 파일은
* 여러 섹션이 함께 쓰는 구조 값(내비게이션 순서 등)만 둔다.
*/
// ── Colors ──────────────────────────────────────────────
export const color = {
brand: {
blue: '#3b82f6',
blueLight: '#60a5fa',
blueDark: '#2563eb',
blueGlow: 'rgba(59,130,246,0.5)',
blueDim: 'rgba(59,130,246,0.14)',
blueMuted: 'rgba(59,130,246,0.08)',
},
surface: {
950: '#08090c',
900: '#0d0f14',
800: '#13161f',
700: '#1a1e2b',
600: '#222838',
500: '#2b3245',
400: '#363f57',
300: '#434d69',
200: '#535f7f',
100: '#68769c',
},
neutral: {
50: '#ffffff',
100: '#f4f4f5',
200: '#e4e4e7',
300: '#d4d4d8',
400: '#a1a1aa',
500: '#71717a',
600: '#52525b',
},
semantic: {
success: '#22c55e',
warning: '#eab308',
error: '#ef4444',
},
} as const
// ── Typography ──────────────────────────────────────────
// 한+영 혼용 헤드라인의 스트로크 일관성을 위해 디스플레이도 Pretendard로 통일.
export const font = {
display: '"Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif',
sans: '"Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif',
mono: '"JetBrains Mono", "Fira Code", monospace',
} as const
// ── Spacing (px) ────────────────────────────────────────
export const space = {
section: { y: 120, yMobile: 80 },
grid: { gap: 16, gapLg: 24 },
container: { maxWidth: 1280, px: 24, pxLg: 48 },
} as const
// ── Shadows ─────────────────────────────────────────────
export const shadow = {
insetPanel: 'inset 0 1px 3px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06)',
chassis: '0 4px 20px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06)',
glowSm: '0 0 12px rgba(59,130,246,0.3)',
glowMd: '0 0 24px rgba(59,130,246,0.25), 0 0 48px rgba(59,130,246,0.1)',
glowLg: '0 0 36px rgba(59,130,246,0.35), 0 0 72px rgba(59,130,246,0.15)',
} as const
// ── Radii ───────────────────────────────────────────────
export const radius = {
instrument: '4px',
panel: '8px',
card: '16px',
cardLarge: '24px',
pill: '999px',
} as const
// ── Z-Index ─────────────────────────────────────────────
export const zIndex = {
header: 50,
overlay: 40,
modal: 60,
} as const
// ── Timing ──────────────────────────────────────────────
export const timing = {
fast: '150ms',
normal: '250ms',
slow: '400ms',
easeOut: 'cubic-bezier(0.16, 1, 0.3, 1)',
} as const
// ── Feature Labels ──────────────────────────────────────
export const tierLabel = {
free: 'FREE',
pro: 'PRO',
proPlus: 'PRO+',
} as const
// ── Nav Items ───────────────────────────────────────────
// Labels come from i18n (t.nav.*). Only hrefs and keys are defined here.
// 라벨은 i18n(t.nav.*)에서 온다. 여기에는 순서와 앵커만 둔다.
export const navItems = [
{ key: 'features' as const, href: '#features' },
{ key: 'pipeline' as const, href: '#pipeline' },
{ key: 'privacy' as const, href: '#privacy' },
{ key: 'pricing' as const, href: '#pricing' },
{ key: 'faq' as const, href: '#faq' },
{ key: 'features', href: '#features' },
{ key: 'how', href: '#how' },
{ key: 'privacy', href: '#privacy' },
{ key: 'pricing', href: '#pricing' },
{ key: 'faq', href: '#faq' },
] as const