import { SectionHeader } from '../components/SectionHeader' import { Crosshair } from '../components/Crosshair' import { Container } from '../components/Container' import { Led } from '../components/Led' import { WaveBars } from '../components/WaveBars' import { useI18n } from '../i18n' export function HowItWorks() { const { t } = useI18n() return (
{/* Left: visual panel */}
{t.pipeline.panelTitle}
{t.pipeline.panelActive}
{/* Simulated terminal output */}
{t.pipeline.sttReady} faster-whisper base
{t.pipeline.llmConnected} qwen3:4b @ localhost:11434
{t.pipeline.transcription} "{t.pipeline.sampleInput}"
{t.pipeline.aiPolish} "{t.pipeline.sampleOutput}"
{t.pipeline.panelLatency}
{/* Right: numbered steps */}
{t.pipeline.steps.map((step, i) => (
{/* Number */}
{String(i + 1).padStart(2, '0')}
{step.label}

{step.title}

{step.description}

{step.detail}
{/* Connector */} {i < t.pipeline.steps.length - 1 && (
)}
))}
) }