feat(input): expand Araso Han/Eng contractions, acronyms, typo recovery, and fast cursor-tail replacement
This commit is contained in:
parent
51bf664302
commit
f403111256
80 changed files with 1449 additions and 458 deletions
|
|
@ -9,7 +9,7 @@ import { ActionRunner } from '@/components/actions/action-runner'
|
|||
export default function ActionsPage(): React.ReactElement {
|
||||
return (
|
||||
<Box sx={{ p: 4 }}>
|
||||
<PhosphorText variant="title" sx={{ mb: 1 }}>
|
||||
<PhosphorText variant="title" component="h1" sx={{ mb: 1, display: 'block' }}>
|
||||
ACTIONS
|
||||
</PhosphorText>
|
||||
<Box sx={{ color: d3roPalette.text.muted, fontSize: 13, mb: 4 }}>
|
||||
|
|
|
|||
|
|
@ -172,7 +172,7 @@ export default async function BillingPage({ searchParams }: BillingPageProps): P
|
|||
<Box sx={{ display: 'inline-flex', alignItems: 'center', gap: 1, mb: 1.5 }}>
|
||||
<TactileBadge ledColor="amber" tone="accent">D3RO VOICE PRO</TactileBadge>
|
||||
</Box>
|
||||
<Typography component="h1" sx={{ fontSize: 28, fontWeight: 500, color: 'var(--d3-text-inverse)', letterSpacing: '-0.02em', mb: 1 }}>
|
||||
<Typography component="h1" sx={{ fontSize: 28, fontWeight: 500, color: 'var(--d3-text-primary)', letterSpacing: '-0.02em', mb: 1 }}>
|
||||
구독 및 결제
|
||||
</Typography>
|
||||
<Typography sx={{ fontSize: 14, color: 'var(--d3-text-label)' }}>
|
||||
|
|
@ -183,11 +183,11 @@ export default async function BillingPage({ searchParams }: BillingPageProps): P
|
|||
<MetalCard sx={{ p: { xs: 2.5, md: 3.5 }, mb: 4 }}>
|
||||
<Stack direction={{ xs: 'column', md: 'row' }} justifyContent="space-between" gap={3}>
|
||||
<Box>
|
||||
<Typography sx={{ fontFamily: d3roFontMono, fontSize: 11, letterSpacing: 1.5, color: 'var(--d3-text-label)', mb: 1 }}>
|
||||
<Typography sx={{ fontFamily: d3roFontMono, fontSize: 11, letterSpacing: 0, color: 'var(--d3-text-label)', mb: 1 }}>
|
||||
CURRENT SUBSCRIPTION
|
||||
</Typography>
|
||||
<Box sx={{ display: 'flex', alignItems: 'center', gap: 1.5, flexWrap: 'wrap' }}>
|
||||
<Typography data-testid="billing-current-tier" sx={{ fontSize: 28, fontWeight: 600, color: 'var(--d3-text-inverse)' }}>
|
||||
<Typography data-testid="billing-current-tier" sx={{ fontSize: 28, fontWeight: 600, color: 'var(--d3-text-primary)' }}>
|
||||
{tierLabel(subscription.tier)}
|
||||
</Typography>
|
||||
<Chip
|
||||
|
|
@ -290,7 +290,7 @@ function PlanCard({
|
|||
<Typography sx={{ fontFamily: d3roFontMono, fontSize: 11, color: active || selected ? 'var(--d3-accent-main)' : 'var(--d3-text-label)', mb: 0.75 }}>
|
||||
{active ? 'CURRENT PLAN' : selected ? 'SELECTED PLAN' : recommended ? 'RECOMMENDED' : 'PLAN'}
|
||||
</Typography>
|
||||
<Typography component="h2" sx={{ fontSize: 24, fontWeight: 600, color: 'var(--d3-text-inverse)' }}>{plan.name}</Typography>
|
||||
<Typography component="h2" sx={{ fontSize: 24, fontWeight: 600, color: 'var(--d3-text-primary)' }}>{plan.name}</Typography>
|
||||
<Typography sx={{ mt: 0.5, mb: 3, color: plan.tier === 'free' ? 'var(--d3-text-label)' : 'var(--d3-accent-main)', fontFamily: d3roFontMono, fontSize: 16 }}>
|
||||
{priceLabel}
|
||||
</Typography>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// apps/web/src/app/(app)/chat/page.tsx
|
||||
// apps/web/src/app/(app)/chat/page.tsx
|
||||
// D3RO-VOICE 음성 대화 (Talk) 페이지
|
||||
|
||||
import { Box } from '@mui/material'
|
||||
|
|
@ -9,7 +9,7 @@ export default function ChatPage(): React.ReactElement {
|
|||
return (
|
||||
<Box sx={{ maxWidth: 1080, mx: 'auto', p: { xs: 2.5, md: 4 }, pt: 4, pb: 6 }}>
|
||||
<Box sx={{ mb: 3 }}>
|
||||
<PhosphorText variant="title">
|
||||
<PhosphorText variant="title" component="h1">
|
||||
VOICE INTELLIGENCE TALK
|
||||
</PhosphorText>
|
||||
</Box>
|
||||
|
|
|
|||
|
|
@ -371,8 +371,8 @@ export default function CommandsPage(): React.ReactElement {
|
|||
<Box sx={{ display: 'flex', alignItems: 'center', gap: 2 }}>
|
||||
<Box sx={{ width: 44, height: 44, borderRadius: '12px', bgcolor: 'var(--d3-accent-glow)', border: '1px solid var(--d3-accent-glow)', display: 'grid', placeItems: 'center', color: 'var(--d3-accent-main)' }}><Zap size={22} /></Box>
|
||||
<Box>
|
||||
<Typography sx={{ fontFamily: d3roFontMono, fontSize: 10, color: 'var(--d3-text-label)' }}>ACTIVE SYNCED INSTRUCTION</Typography>
|
||||
<Typography sx={{ fontSize: 18, fontWeight: 500, color: 'var(--d3-text-inverse)' }}>{activeInstruction?.name ?? '활성 명령 없음'}</Typography>
|
||||
<Typography sx={{ fontFamily: d3roFontMono, fontSize: 11, color: 'var(--d3-text-label)' }}>ACTIVE SYNCED INSTRUCTION</Typography>
|
||||
<Typography component="h1" sx={{ fontSize: 18, fontWeight: 500, color: 'var(--d3-text-primary)' }}>{activeInstruction?.name ?? '활성 명령 없음'}</Typography>
|
||||
</Box>
|
||||
</Box>
|
||||
<TactileBadge ledColor="green" tone="success">SUPABASE SSOT · REV {state.settingsRevision}</TactileBadge>
|
||||
|
|
@ -470,7 +470,7 @@ export default function CommandsPage(): React.ReactElement {
|
|||
</MetalCard>
|
||||
|
||||
<Dialog open={dialogOpen} onClose={() => { if (!saving) setDialogOpen(false) }} maxWidth="sm" fullWidth PaperProps={{ sx: { bgcolor: 'var(--d3-bg-card)', border: '1px solid var(--d3-border-default)', borderRadius: '16px', p: 1 } }}>
|
||||
<DialogTitle sx={{ color: 'var(--d3-text-inverse)', fontWeight: 500 }}>{editing ? '사용자 명령 편집' : '사용자 명령 추가'}</DialogTitle>
|
||||
<DialogTitle sx={{ color: 'var(--d3-text-primary)', fontWeight: 500 }}>{editing ? '사용자 명령 편집' : '사용자 명령 추가'}</DialogTitle>
|
||||
<DialogContent sx={{ display: 'flex', flexDirection: 'column', gap: 2, pt: 1 }}>
|
||||
<TextField label="명령 이름" value={draft.name} onChange={(event) => setDraft((current) => ({ ...current, name: event.target.value }))} inputProps={{ maxLength: 80 }} autoFocus fullWidth size="small" sx={{ mt: 1 }} />
|
||||
<TextField label="명령 설명" value={draft.description} onChange={(event) => setDraft((current) => ({ ...current, description: event.target.value }))} inputProps={{ maxLength: 240 }} fullWidth size="small" />
|
||||
|
|
@ -489,7 +489,7 @@ function PipelineStep({ icon, step, label, accent = false, last = false }: { ico
|
|||
return (
|
||||
<Box sx={{ display: 'flex', alignItems: 'center', gap: 1.5 }}>
|
||||
<Box sx={{ width: 32, height: 32, borderRadius: '50%', bgcolor: accent ? 'var(--d3-accent-glow)' : 'var(--d3-bg-elevated)', display: 'grid', placeItems: 'center', color: accent ? 'var(--d3-accent-main)' : 'var(--d3-text-secondary)' }}>{icon}</Box>
|
||||
<Box sx={{ flex: 1 }}><Typography sx={{ fontFamily: d3roFontMono, fontSize: 9, color: 'var(--d3-text-label)' }}>STEP {step}</Typography><Typography sx={{ fontSize: 12, fontWeight: 600, color: accent ? 'var(--d3-accent-main)' : 'var(--d3-text-primary)' }}>{label}</Typography></Box>
|
||||
<Box sx={{ flex: 1 }}><Typography sx={{ fontFamily: d3roFontMono, fontSize: 11, color: 'var(--d3-text-label)' }}>STEP {step}</Typography><Typography sx={{ fontSize: 12, fontWeight: 600, color: accent ? 'var(--d3-accent-main)' : 'var(--d3-text-primary)' }}>{label}</Typography></Box>
|
||||
{!last && <ArrowRight size={14} color="var(--d3-text-label)" />}
|
||||
</Box>
|
||||
)
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@ export default function DashboardPage(): React.ReactElement {
|
|||
|
||||
<Box sx={{ display: 'grid', gridTemplateColumns: { xs: '1fr', md: '1fr auto' }, gap: 3, alignItems: 'center' }}>
|
||||
<Box>
|
||||
<PhosphorText variant="hero" sx={{ mb: 1, letterSpacing: '-0.02em', lineHeight: 1.15 }}>
|
||||
<PhosphorText variant="hero" component="h1" sx={{ mb: 1, letterSpacing: '-0.02em', lineHeight: 1.15 }}>
|
||||
내 음성 작업 현황
|
||||
</PhosphorText>
|
||||
<PhosphorText variant="body" sx={{ color: d3roPalette.text.secondary, display: 'block', mb: 2.5 }}>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ import {
|
|||
import { Download, Pencil, Plus, RefreshCw, Search, Trash2, Upload } from 'lucide-react'
|
||||
import type { D3roSupabaseClient, DictionaryEntry } from '@d3ro/api-client'
|
||||
import { MetalCard, PhosphorText, PhysicalButton, TactileBadge } from '@d3ro/ui/components/ds'
|
||||
import { d3roFontMono, d3roPalette } from '@d3ro/ui/theme'
|
||||
import { d3roPalette } from '@d3ro/ui/theme'
|
||||
import { useAuth } from '@/components/providers/auth-provider'
|
||||
import { getSupabaseBrowserClient } from '@/lib/supabase-browser'
|
||||
import {
|
||||
|
|
@ -355,7 +355,7 @@ export default function DictionaryPage(): React.ReactElement {
|
|||
<Box sx={{ maxWidth: 1080, mx: 'auto', p: { xs: 2.5, md: 4 }, pt: 4, pb: 10 }}>
|
||||
<Box sx={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', gap: 2, mb: 3 }}>
|
||||
<Box>
|
||||
<PhosphorText variant="title">CUSTOM DICTIONARY</PhosphorText>
|
||||
<PhosphorText variant="title" component="h1">CUSTOM DICTIONARY</PhosphorText>
|
||||
<PhosphorText variant="meta" sx={{ display: 'block', mt: 0.75, color: d3roPalette.text.dimLabel }}>
|
||||
{total} ENTRIES · ACCOUNT SYNC
|
||||
</PhosphorText>
|
||||
|
|
@ -422,7 +422,6 @@ export default function DictionaryPage(): React.ReactElement {
|
|||
{(['all', 'user', 'technical', 'auto'] as const).map((value) => (
|
||||
<TactileBadge
|
||||
key={value}
|
||||
mono
|
||||
tone={category === value ? 'accent' : 'default'}
|
||||
onClick={() => setCategory(value)}
|
||||
sx={{ cursor: 'pointer', height: 36, px: 1.5 }}
|
||||
|
|
@ -458,12 +457,12 @@ export default function DictionaryPage(): React.ReactElement {
|
|||
<Box sx={{ display: 'flex', justifyContent: 'space-between', alignItems: 'flex-start', gap: 2 }}>
|
||||
<Box sx={{ minWidth: 0 }}>
|
||||
<Box sx={{ display: 'flex', alignItems: 'center', gap: 1.5, mb: 1, flexWrap: 'wrap' }}>
|
||||
<Typography sx={{ fontSize: 18, fontWeight: 500, color: 'var(--d3-text-inverse)', overflowWrap: 'anywhere' }}>{entry.word}</Typography>
|
||||
{entry.pronunciation && <TactileBadge mono tone="accent">[{entry.pronunciation}]</TactileBadge>}
|
||||
<Typography sx={{ fontSize: 18, fontWeight: 500, color: 'var(--d3-text-primary)', overflowWrap: 'anywhere' }}>{entry.word}</Typography>
|
||||
{entry.pronunciation && <TactileBadge tone="accent">[{entry.pronunciation}]</TactileBadge>}
|
||||
</Box>
|
||||
<Box sx={{ display: 'flex', alignItems: 'center', gap: 1 }}>
|
||||
<TactileBadge mono tone="mono">{CATEGORY_LABELS[entry.category]}</TactileBadge>
|
||||
<Typography sx={{ fontFamily: d3roFontMono, fontSize: 11, color: 'var(--d3-text-label)' }}>{entry.usage_count}회 사용</Typography>
|
||||
<TactileBadge tone="mono">{CATEGORY_LABELS[entry.category]}</TactileBadge>
|
||||
<Typography sx={{ fontSize: 11, fontVariantNumeric: 'tabular-nums', color: 'var(--d3-text-label)' }}>{entry.usage_count}회 사용</Typography>
|
||||
</Box>
|
||||
</Box>
|
||||
<Box sx={{ display: 'flex', gap: 0.25 }}>
|
||||
|
|
@ -492,7 +491,7 @@ export default function DictionaryPage(): React.ReactElement {
|
|||
fullWidth
|
||||
PaperProps={{ sx: { bgcolor: 'var(--d3-bg-card)', border: '1px solid var(--d3-border-default)', borderRadius: '16px', p: 1 } }}
|
||||
>
|
||||
<DialogTitle sx={{ color: 'var(--d3-text-inverse)', fontWeight: 500 }}>{editing ? '단어 편집' : '새 단어 추가'}</DialogTitle>
|
||||
<DialogTitle sx={{ color: 'var(--d3-text-primary)', fontWeight: 500 }}>{editing ? '단어 편집' : '새 단어 추가'}</DialogTitle>
|
||||
<DialogContent sx={{ display: 'flex', flexDirection: 'column', gap: 2, pt: 1 }}>
|
||||
<TextField
|
||||
label="단어"
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@ export default function HistoryDetailPage(): React.ReactElement {
|
|||
<Stack spacing={3}>
|
||||
<Box sx={{ display: 'flex', justifyContent: 'space-between', alignItems: 'flex-start', gap: 2 }}>
|
||||
<Box>
|
||||
<PhosphorText variant="title">TRANSCRIPTION DETAIL</PhosphorText>
|
||||
<PhosphorText variant="title" component="h1">TRANSCRIPTION DETAIL</PhosphorText>
|
||||
<Typography sx={{ mt: 1, color: d3roPalette.text.muted, fontFamily: d3roFontMono, fontSize: 12 }}>
|
||||
{new Date(entry.created_at).toLocaleString('ko-KR')} · REV {entry.revision}
|
||||
</Typography>
|
||||
|
|
@ -313,8 +313,8 @@ export default function HistoryDetailPage(): React.ReactElement {
|
|||
function HistoryField({ label, children }: { label: string; children: React.ReactNode }): React.ReactElement {
|
||||
return (
|
||||
<Box>
|
||||
<Typography component="h2" sx={{ mb: 1, color: d3roPalette.text.muted, fontFamily: d3roFontMono, fontSize: 11, letterSpacing: 1.5 }}>
|
||||
{label.toUpperCase()}
|
||||
<Typography component="h2" sx={{ mb: 1, color: d3roPalette.text.muted, fontSize: 11, fontWeight: 500, letterSpacing: 0 }}>
|
||||
{label}
|
||||
</Typography>
|
||||
{children}
|
||||
</Box>
|
||||
|
|
@ -324,7 +324,7 @@ function HistoryField({ label, children }: { label: string; children: React.Reac
|
|||
function Metadata({ label, value }: { label: string; value: string }): React.ReactElement {
|
||||
return (
|
||||
<Box sx={{ p: 1.5, bgcolor: d3roPalette.bg.inset, borderRadius: 1 }}>
|
||||
<Typography sx={{ color: d3roPalette.text.muted, fontFamily: d3roFontMono, fontSize: 10 }}>{label}</Typography>
|
||||
<Typography sx={{ color: d3roPalette.text.muted, fontSize: 11, fontWeight: 500 }}>{label}</Typography>
|
||||
<Typography sx={{ mt: 0.5, color: d3roPalette.text.primary, fontSize: 13, overflowWrap: 'anywhere' }}>{value}</Typography>
|
||||
</Box>
|
||||
)
|
||||
|
|
|
|||
|
|
@ -245,7 +245,7 @@ export default function HistoryPage(): React.ReactElement {
|
|||
return (
|
||||
<Box sx={{ maxWidth: 1080, mx: 'auto', p: { xs: 2.5, md: 4 }, pt: 4, pb: 10 }}>
|
||||
<Box sx={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', mb: 3 }}>
|
||||
<PhosphorText variant="title">TRANSCRIPTION HISTORY</PhosphorText>
|
||||
<PhosphorText variant="title" component="h1">TRANSCRIPTION HISTORY</PhosphorText>
|
||||
<PhosphorText variant="meta" sx={{ color: d3roPalette.text.dimLabel }}>
|
||||
{items.length}{nextCursor ? '+' : ''} ENTRIES
|
||||
</PhosphorText>
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ export default async function KnowledgePage(): Promise<React.ReactElement> {
|
|||
|
||||
return (
|
||||
<Box sx={{ p: 4 }}>
|
||||
<PhosphorText variant="title" sx={{ mb: 1 }}>
|
||||
<PhosphorText variant="title" component="h1" sx={{ mb: 1, display: 'block' }}>
|
||||
KNOWLEDGE
|
||||
</PhosphorText>
|
||||
<Box sx={{ color: d3roPalette.text.muted, fontSize: 13, mb: 4 }}>
|
||||
|
|
@ -77,9 +77,9 @@ export default async function KnowledgePage(): Promise<React.ReactElement> {
|
|||
px: 1.5,
|
||||
py: 0.5,
|
||||
borderRadius: 1,
|
||||
fontSize: 10,
|
||||
letterSpacing: '1px',
|
||||
textTransform: 'uppercase',
|
||||
fontSize: 11,
|
||||
fontWeight: 500,
|
||||
letterSpacing: 0,
|
||||
bgcolor: doc.indexed ? d3roPalette.tag.greenBg : d3roPalette.tag.orangeBg,
|
||||
color: doc.indexed ? d3roPalette.tag.green : d3roPalette.tag.orange
|
||||
}}
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ export default async function MeetingDetailPage({ params }: PageProps): Promise<
|
|||
return (
|
||||
<Box sx={{ p: 4 }}>
|
||||
<Box sx={{ mb: 4 }}>
|
||||
<PhosphorText variant="title">
|
||||
<PhosphorText variant="title" component="h1">
|
||||
{meeting.title ?? '(제목 없음)'}
|
||||
</PhosphorText>
|
||||
<Box sx={{ color: d3roPalette.text.muted, fontSize: 12, mt: 1 }}>
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ export default async function MeetingsPage(): Promise<React.ReactElement> {
|
|||
|
||||
return (
|
||||
<Box sx={{ p: 4 }}>
|
||||
<PhosphorText variant="title" sx={{ mb: 4 }}>
|
||||
<PhosphorText variant="title" component="h1" sx={{ mb: 4, display: 'block' }}>
|
||||
MEETINGS
|
||||
</PhosphorText>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// apps/web/src/app/(app)/record/page.tsx
|
||||
// apps/web/src/app/(app)/record/page.tsx
|
||||
// D3RO-VOICE 실시간 음성 녹음 페이지
|
||||
|
||||
import { Box } from '@mui/material'
|
||||
|
|
@ -9,7 +9,7 @@ export default function RecordPage(): React.ReactElement {
|
|||
return (
|
||||
<Box sx={{ maxWidth: 1080, mx: 'auto', p: { xs: 2.5, md: 4 }, pt: 4, pb: 10 }}>
|
||||
<Box sx={{ mb: 4 }}>
|
||||
<PhosphorText variant="title">
|
||||
<PhosphorText variant="title" component="h1">
|
||||
REAL-TIME VOICE RECORDER
|
||||
</PhosphorText>
|
||||
</Box>
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ export default async function TeamDetailPage({ params }: PageProps): Promise<Rea
|
|||
return (
|
||||
<Box sx={{ p: 4 }}>
|
||||
<Box sx={{ mb: 4 }}>
|
||||
<PhosphorText variant="title">{teamData.name}</PhosphorText>
|
||||
<PhosphorText variant="title" component="h1">{teamData.name}</PhosphorText>
|
||||
<Box sx={{ color: d3roPalette.text.muted, fontSize: 12, mt: 1 }}>
|
||||
생성 {new Date(teamData.created_at).toLocaleDateString('ko-KR')}
|
||||
</Box>
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ export default async function TeamsPage(): Promise<React.ReactElement> {
|
|||
|
||||
return (
|
||||
<Box sx={{ p: 4 }}>
|
||||
<PhosphorText variant="title" sx={{ mb: 4 }}>
|
||||
<PhosphorText variant="title" component="h1" sx={{ mb: 4, display: 'block' }}>
|
||||
TEAMS
|
||||
</PhosphorText>
|
||||
|
||||
|
|
@ -75,7 +75,8 @@ export default async function TeamsPage(): Promise<React.ReactElement> {
|
|||
px: 1.5,
|
||||
py: 0.5,
|
||||
borderRadius: 1,
|
||||
fontSize: 10,
|
||||
fontSize: 11,
|
||||
fontWeight: 500,
|
||||
bgcolor:
|
||||
team.role === 'owner'
|
||||
? d3roPalette.tag.purpleBg
|
||||
|
|
@ -88,11 +89,10 @@ export default async function TeamsPage(): Promise<React.ReactElement> {
|
|||
: team.role === 'admin'
|
||||
? d3roPalette.tag.orange
|
||||
: d3roPalette.tag.green,
|
||||
textTransform: 'uppercase',
|
||||
letterSpacing: '1px'
|
||||
letterSpacing: 0
|
||||
}}
|
||||
>
|
||||
{team.role}
|
||||
{team.role.toUpperCase()}
|
||||
</Box>
|
||||
</MetalCard>
|
||||
</Link>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
import { useRouter } from 'next/navigation'
|
||||
import { useEffect, useState } from 'react'
|
||||
import { d3roPalette } from '@d3ro/ui/theme'
|
||||
import { d3roFontMono, d3roFontSans, d3roFocusRing, d3roPalette } from '@d3ro/ui/theme'
|
||||
import { Box, Stack, Alert } from '@mui/material'
|
||||
import { useI18n } from '@d3ro/i18n'
|
||||
import { getSupabaseBrowserClient, isSupabaseConfigured } from '@/lib/supabase-browser'
|
||||
|
|
@ -95,7 +95,7 @@ export default function LoginPage(): React.ReactElement {
|
|||
justifyContent: 'center',
|
||||
bgcolor: d3roPalette.bg.app,
|
||||
p: 2,
|
||||
fontFamily: '"Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif'
|
||||
fontFamily: d3roFontSans
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
|
|
@ -143,10 +143,9 @@ export default function LoginPage(): React.ReactElement {
|
|||
m: 0,
|
||||
fontSize: '22px',
|
||||
fontWeight: 500,
|
||||
fontFamily: 'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace',
|
||||
letterSpacing: '0.25em',
|
||||
color: d3roPalette.text.primary,
|
||||
textIndent: '0.25em'
|
||||
fontFamily: d3roFontMono,
|
||||
letterSpacing: '0.02em',
|
||||
color: d3roPalette.text.primary
|
||||
}}
|
||||
>
|
||||
D3RO-VOICE
|
||||
|
|
@ -154,11 +153,10 @@ export default function LoginPage(): React.ReactElement {
|
|||
<Box
|
||||
sx={{
|
||||
mt: 1,
|
||||
fontSize: '9px',
|
||||
fontFamily: 'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace',
|
||||
letterSpacing: '0.18em',
|
||||
color: d3roPalette.text.label,
|
||||
textTransform: 'uppercase'
|
||||
fontSize: '11px',
|
||||
fontFamily: d3roFontSans,
|
||||
letterSpacing: 0,
|
||||
color: d3roPalette.text.label
|
||||
}}
|
||||
>
|
||||
{t('login.subtitle') ?? 'Precision Voice Intelligence'}
|
||||
|
|
@ -300,10 +298,10 @@ export default function LoginPage(): React.ReactElement {
|
|||
<Box sx={{ flex: 1, height: '1px', bgcolor: d3roPalette.border.default }} />
|
||||
<Box
|
||||
sx={{
|
||||
fontSize: '10px',
|
||||
fontFamily: 'ui-monospace, monospace',
|
||||
fontSize: '11px',
|
||||
fontFamily: d3roFontSans,
|
||||
color: d3roPalette.text.label,
|
||||
letterSpacing: '0.1em'
|
||||
letterSpacing: 0
|
||||
}}
|
||||
>
|
||||
{t('login.or') ?? '또는'}
|
||||
|
|
@ -317,11 +315,12 @@ export default function LoginPage(): React.ReactElement {
|
|||
<Box>
|
||||
<Box
|
||||
component="label"
|
||||
htmlFor="login-email"
|
||||
sx={{
|
||||
display: 'block',
|
||||
fontSize: '10px',
|
||||
fontFamily: 'ui-monospace, monospace',
|
||||
letterSpacing: '0.15em',
|
||||
fontSize: '11px',
|
||||
fontFamily: d3roFontMono,
|
||||
letterSpacing: 0,
|
||||
color: d3roPalette.text.label,
|
||||
mb: 0.75,
|
||||
pl: 0.5
|
||||
|
|
@ -330,6 +329,7 @@ export default function LoginPage(): React.ReactElement {
|
|||
EMAIL
|
||||
</Box>
|
||||
<Box
|
||||
id="login-email"
|
||||
component="input"
|
||||
type="email"
|
||||
required
|
||||
|
|
@ -345,12 +345,12 @@ export default function LoginPage(): React.ReactElement {
|
|||
px: 2,
|
||||
fontSize: '14px',
|
||||
color: d3roPalette.text.primary,
|
||||
outline: 'none',
|
||||
boxSizing: 'border-box',
|
||||
transition: 'border-color 0.15s ease',
|
||||
'&:focus': {
|
||||
borderColor: d3roPalette.accent.main
|
||||
},
|
||||
'&:focus-visible': d3roFocusRing,
|
||||
'&::placeholder': {
|
||||
color: 'color-mix(in srgb, var(--d3-text-label) 40%, transparent)'
|
||||
}
|
||||
|
|
@ -361,11 +361,12 @@ export default function LoginPage(): React.ReactElement {
|
|||
<Box>
|
||||
<Box
|
||||
component="label"
|
||||
htmlFor="login-password"
|
||||
sx={{
|
||||
display: 'block',
|
||||
fontSize: '10px',
|
||||
fontFamily: 'ui-monospace, monospace',
|
||||
letterSpacing: '0.15em',
|
||||
fontSize: '11px',
|
||||
fontFamily: d3roFontMono,
|
||||
letterSpacing: 0,
|
||||
color: d3roPalette.text.label,
|
||||
mb: 0.75,
|
||||
pl: 0.5
|
||||
|
|
@ -374,6 +375,7 @@ export default function LoginPage(): React.ReactElement {
|
|||
PASSWORD
|
||||
</Box>
|
||||
<Box
|
||||
id="login-password"
|
||||
component="input"
|
||||
type="password"
|
||||
required
|
||||
|
|
@ -389,12 +391,12 @@ export default function LoginPage(): React.ReactElement {
|
|||
px: 2,
|
||||
fontSize: '14px',
|
||||
color: d3roPalette.text.primary,
|
||||
outline: 'none',
|
||||
boxSizing: 'border-box',
|
||||
transition: 'border-color 0.15s ease',
|
||||
'&:focus': {
|
||||
borderColor: d3roPalette.accent.main
|
||||
},
|
||||
'&:focus-visible': d3roFocusRing,
|
||||
'&::placeholder': {
|
||||
color: 'color-mix(in srgb, var(--d3-text-label) 40%, transparent)'
|
||||
}
|
||||
|
|
@ -403,28 +405,27 @@ export default function LoginPage(): React.ReactElement {
|
|||
</Box>
|
||||
</Stack>
|
||||
|
||||
{/* Primary Orange CTA Button */}
|
||||
{/* Primary CTA Button */}
|
||||
<Box
|
||||
component="button"
|
||||
type="submit"
|
||||
disabled={signingIn}
|
||||
sx={{
|
||||
width: '100%',
|
||||
bgcolor: d3roPalette.accent.main,
|
||||
bgcolor: d3roPalette.accent.solid,
|
||||
border: 'none',
|
||||
borderRadius: '12px',
|
||||
py: 1.75,
|
||||
fontSize: '14px',
|
||||
fontWeight: 500,
|
||||
letterSpacing: '0.05em',
|
||||
color: d3roPalette.bg.app,
|
||||
letterSpacing: 0,
|
||||
color: d3roPalette.accent.ink,
|
||||
cursor: signingIn ? 'not-allowed' : 'pointer',
|
||||
boxShadow: '0 0 25px var(--d3-accent-glow)',
|
||||
transition: 'all 0.15s ease',
|
||||
'&:hover': {
|
||||
filter: 'brightness(1.08)',
|
||||
boxShadow: '0 0 30px var(--d3-accent-glow)'
|
||||
bgcolor: d3roPalette.accent.solidHover
|
||||
},
|
||||
'&:focus-visible': d3roFocusRing,
|
||||
'&:active': {
|
||||
transform: 'scale(0.99)'
|
||||
}
|
||||
|
|
|
|||
|
|
@ -218,7 +218,7 @@ export function ActionRunner(): React.ReactElement {
|
|||
sx={{
|
||||
bgcolor: d3roPalette.tag.purpleBg,
|
||||
color: d3roPalette.tag.purple,
|
||||
fontFamily: 'monospace'
|
||||
fontFamily: 'var(--d3-font-mono)'
|
||||
}}
|
||||
/>
|
||||
</Box>
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ export function ChatPanel(): React.ReactElement {
|
|||
sx={{
|
||||
fontFamily: d3roFontMono,
|
||||
fontSize: '11px',
|
||||
letterSpacing: '0.2em',
|
||||
letterSpacing: 0,
|
||||
fontWeight: 500,
|
||||
color: 'var(--d3-text-label)'
|
||||
}}
|
||||
|
|
@ -232,7 +232,7 @@ export function ChatPanel(): React.ReactElement {
|
|||
animation: 'pulse 1s infinite'
|
||||
}}
|
||||
/>
|
||||
<IconButton size="small" onClick={() => setMessages([])} sx={{ color: 'var(--d3-text-label)', ml: 1 }}>
|
||||
<IconButton aria-label="대화 초기화" size="small" onClick={() => setMessages([])} sx={{ color: 'var(--d3-text-label)', ml: 1 }}>
|
||||
<Trash2 size={15} />
|
||||
</IconButton>
|
||||
</Box>
|
||||
|
|
@ -282,7 +282,7 @@ export function ChatPanel(): React.ReactElement {
|
|||
<Typography
|
||||
sx={{
|
||||
fontFamily: d3roFontMono,
|
||||
fontSize: '9px',
|
||||
fontSize: '11px',
|
||||
color: 'var(--d3-text-label)',
|
||||
mt: 0.5,
|
||||
textAlign: msg.role === 'user' ? 'right' : 'left',
|
||||
|
|
@ -319,11 +319,15 @@ export function ChatPanel(): React.ReactElement {
|
|||
borderRadius: '14px',
|
||||
border: '1px solid var(--d3-border-default)',
|
||||
p: 1,
|
||||
gap: 1
|
||||
gap: 1,
|
||||
'&:focus-within': {
|
||||
borderColor: 'var(--d3-accent-main)'
|
||||
}
|
||||
}}
|
||||
>
|
||||
<input
|
||||
type="text"
|
||||
aria-label="메시지 입력"
|
||||
value={input}
|
||||
onChange={(e) => setInput(e.target.value)}
|
||||
onKeyDown={(e) => {
|
||||
|
|
@ -337,13 +341,13 @@ export function ChatPanel(): React.ReactElement {
|
|||
flex: 1,
|
||||
background: 'transparent',
|
||||
border: 'none',
|
||||
outline: 'none',
|
||||
color: 'var(--d3-text-secondary)',
|
||||
fontSize: '14px',
|
||||
paddingLeft: '12px'
|
||||
}}
|
||||
/>
|
||||
<IconButton
|
||||
aria-label="메시지 보내기"
|
||||
onClick={() => void handleSend()}
|
||||
disabled={busy || !input.trim()}
|
||||
sx={{
|
||||
|
|
@ -351,7 +355,7 @@ export function ChatPanel(): React.ReactElement {
|
|||
height: 36,
|
||||
bgcolor: 'var(--d3-accent-glow)',
|
||||
color: 'var(--d3-accent-main)',
|
||||
'&:hover': { bgcolor: 'var(--d3-accent-main)', color: 'var(--d3-text-inverse)' }
|
||||
'&:hover': { bgcolor: 'var(--d3-accent-solid)', color: 'var(--d3-accent-ink)' }
|
||||
}}
|
||||
>
|
||||
<Send size={16} />
|
||||
|
|
@ -361,11 +365,11 @@ export function ChatPanel(): React.ReactElement {
|
|||
<Box sx={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', mt: 1.5, px: 1 }}>
|
||||
<Box sx={{ display: 'flex', alignItems: 'center', gap: 1 }}>
|
||||
<Box sx={{ width: 6, height: 6, borderRadius: '50%', bgcolor: 'var(--d3-tag-green)', boxShadow: '0 0 5px var(--d3-tag-green)' }} />
|
||||
<Typography sx={{ fontFamily: d3roFontMono, fontSize: '9px', color: 'var(--d3-text-label)' }}>
|
||||
<Typography sx={{ fontFamily: d3roFontMono, fontSize: '11px', color: 'var(--d3-text-label)' }}>
|
||||
CLOUD CLAUDE
|
||||
</Typography>
|
||||
</Box>
|
||||
<Typography sx={{ fontFamily: d3roFontMono, fontSize: '9px', color: 'var(--d3-text-label)', opacity: 0.5 }}>
|
||||
<Typography sx={{ fontFamily: d3roFontMono, fontSize: '11px', color: 'var(--d3-text-label)', opacity: 0.5 }}>
|
||||
PRECISION DATA LINK
|
||||
</Typography>
|
||||
</Box>
|
||||
|
|
|
|||
|
|
@ -115,7 +115,8 @@ export function KnowledgeSearch(): React.ReactElement {
|
|||
borderRadius: 0.5,
|
||||
bgcolor: d3roPalette.tag.greenBg,
|
||||
color: d3roPalette.tag.green,
|
||||
fontSize: 10
|
||||
fontSize: 11,
|
||||
fontVariantNumeric: 'tabular-nums'
|
||||
}}
|
||||
>
|
||||
{Math.round(r.similarity * 100)}%
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
'use client'
|
||||
'use client'
|
||||
|
||||
// apps/web/src/components/layout/sidebar.tsx
|
||||
// D3RO VOICE 대시보드 좌측 사이드바 — 정본 네비게이션
|
||||
|
|
@ -134,11 +134,11 @@ export function Sidebar(): React.ReactElement {
|
|||
}}
|
||||
/>
|
||||
</Box>
|
||||
<PhosphorText variant="heading" sx={{ letterSpacing: '0.1em' }}>
|
||||
<PhosphorText variant="heading">
|
||||
D3RO VOICE
|
||||
</PhosphorText>
|
||||
</Box>
|
||||
<Box sx={{ fontSize: '10px', fontFamily: 'ui-monospace, monospace', color: d3roPalette.text.muted }}>
|
||||
<Box sx={{ fontSize: '11px', fontFamily: 'var(--d3-font-mono)', color: d3roPalette.text.muted }}>
|
||||
v1.11.0
|
||||
</Box>
|
||||
</Box>
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ export function DocumentEditor({ doc }: DocumentEditorProps): React.ReactElement
|
|||
placeholder="제목"
|
||||
sx={{ flex: 1, mr: 2 }}
|
||||
/>
|
||||
<IconButton onClick={() => setOpen(false)} size="small">
|
||||
<IconButton aria-label="닫기" onClick={() => setOpen(false)} size="small">
|
||||
<CloseIcon />
|
||||
</IconButton>
|
||||
</Stack>
|
||||
|
|
@ -153,7 +153,7 @@ export function DocumentEditor({ doc }: DocumentEditorProps): React.ReactElement
|
|||
variant="outlined"
|
||||
slotProps={{
|
||||
input: {
|
||||
style: { fontFamily: 'monospace', fontSize: 13 }
|
||||
style: { fontFamily: 'var(--d3-font-mono)', fontSize: 13 }
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -97,7 +97,8 @@ export function LiveTranscriptList({
|
|||
borderRadius: 0.5,
|
||||
bgcolor: d3roPalette.tag.orangeBg,
|
||||
color: d3roPalette.tag.orange,
|
||||
fontSize: 9
|
||||
fontSize: 11,
|
||||
fontWeight: 500
|
||||
}}
|
||||
>
|
||||
EDITED
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ export function MemoForm({ meetingId, meetingStartedAt }: MemoFormProps): React.
|
|||
{error}
|
||||
</Alert>
|
||||
)}
|
||||
<Box sx={{ color: d3roPalette.text.muted, fontSize: 10, mt: 0.5 }}>
|
||||
<Box sx={{ color: d3roPalette.text.muted, fontSize: 11, mt: 0.5 }}>
|
||||
회의 시작 후 경과 시간으로 timestamp_ms가 자동 계산됩니다.
|
||||
</Box>
|
||||
</Box>
|
||||
|
|
|
|||
|
|
@ -243,7 +243,7 @@ export function MicRecorder(): React.ReactElement {
|
|||
sx={{
|
||||
fontFamily: d3roFontMono,
|
||||
fontSize: '11px',
|
||||
letterSpacing: '0.2em',
|
||||
letterSpacing: 0,
|
||||
fontWeight: 500,
|
||||
color: state === 'recording' ? 'var(--d3-accent-main)' : 'var(--d3-text-label)'
|
||||
}}
|
||||
|
|
@ -376,9 +376,9 @@ export function MicRecorder(): React.ReactElement {
|
|||
<Typography
|
||||
sx={{
|
||||
fontFamily: d3roFontMono,
|
||||
fontSize: '10px',
|
||||
fontSize: '11px',
|
||||
color: state === 'recording' ? 'var(--d3-accent-main)' : 'var(--d3-text-label)',
|
||||
letterSpacing: '0.1em'
|
||||
letterSpacing: 0
|
||||
}}
|
||||
>
|
||||
{state === 'recording' ? 'LISTENING_' : 'STANDBY'}
|
||||
|
|
@ -424,9 +424,9 @@ export function MicRecorder(): React.ReactElement {
|
|||
<Typography
|
||||
sx={{
|
||||
fontFamily: d3roFontMono,
|
||||
fontSize: '9px',
|
||||
fontSize: '11px',
|
||||
color: 'var(--d3-text-label)',
|
||||
letterSpacing: '0.15em',
|
||||
letterSpacing: 0,
|
||||
opacity: 0.6
|
||||
}}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue