diff --git a/app/capture/page.tsx b/app/capture/page.tsx index 0de2128..c2c0fd8 100644 --- a/app/capture/page.tsx +++ b/app/capture/page.tsx @@ -204,14 +204,28 @@ export default function CapturePage() { )} {state === 'recording' && ( <> -
+
recording
- {countdown <= 15 && ( -- {countdown}s -
- )} ++ {(() => { + const elapsed = MAX_SECONDS - countdown; + const em = Math.floor(elapsed / 60); + const es = elapsed % 60; + const rm = Math.floor(countdown / 60); + const rs = countdown % 60; + return `${em}:${es.toString().padStart(2,'0')} / ${rm}:${rs.toString().padStart(2,'0')} left`; + })()} +
> )} {state === 'transcribing' && (