This commit is contained in:
kacper 2026-03-06 22:51:19 -05:00
parent 6acf267d48
commit b7614eb3f8
4794 changed files with 1280808 additions and 1546 deletions

View file

@ -0,0 +1,35 @@
interface VoiceStatusProps {
text: string;
visible: boolean;
}
export function VoiceStatus({ text, visible }: VoiceStatusProps) {
return (
<div id="voiceStatus" class={visible ? "visible" : ""}>
{text}
</div>
);
}
interface ControlBarProps {
onReset(): void;
}
export function ControlBar({ onReset }: ControlBarProps) {
return (
<div id="controls">
<button
id="resetSessionBtn"
class="control-btn"
type="button"
onClick={(e) => {
e.preventDefault();
e.stopPropagation();
onReset();
}}
>
Reset
</button>
</div>
);
}