Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default function Page() {
function SimpleVoiceAssistant(props: { onConnectButtonClicked: () => void }) {
const { state: agentState } = useVoiceAssistant();
return (
<>
<div className="flex flex-col h-full relative">
<AnimatePresence>
{agentState === "disconnected" && (
<motion.button
Expand All @@ -77,17 +77,17 @@ function SimpleVoiceAssistant(props: { onConnectButtonClicked: () => void }) {
Start a conversation
</motion.button>
)}
<div className="w-3/4 lg:w-1/2 mx-auto h-full">
<div className="w-3/4 lg:w-1/2 mx-auto flex-grow overflow-y-auto pb-28">
<TranscriptionView />
</div>
</AnimatePresence>

<RoomAudioRenderer />
<NoAgentNotification state={agentState} />
<div className="fixed bottom-0 w-full px-4 py-2">
<div className="fixed bottom-0 w-full px-4 py-2 bg-[var(--lk-bg)]">
<ControlBar />
</div>
</>
</div>
);
}

Expand Down