feat(layout): move avatar to center hero position; timer+notes+chat to left sidebar
This commit is contained in:
+15
-17
@@ -116,16 +116,13 @@ export default function App() {
|
||||
|
||||
{/* ── Main three-column body ── */}
|
||||
<div className="flex-1 flex min-h-0 px-4 gap-4">
|
||||
{/* LEFT: Avatar + Chat */}
|
||||
{/* LEFT: Focus Timer + Chat + Input */}
|
||||
<div className="w-72 shrink-0 flex flex-col gap-3">
|
||||
<div className="flex-1 min-h-0 rounded-2xl bg-white/30 overflow-hidden">
|
||||
<KiraAvatar
|
||||
isSpeaking={isKiraSpeaking}
|
||||
isListening={isRecording}
|
||||
outfit={currentOutfit}
|
||||
accessory={currentAcc}
|
||||
onTalkToggle={handleTalkToggle}
|
||||
/>
|
||||
<div className="shrink-0">
|
||||
<Timer />
|
||||
</div>
|
||||
<div className="shrink-0">
|
||||
<Notes />
|
||||
</div>
|
||||
<div className="shrink-0">
|
||||
<ChatBubble messages={messages} isKiraSpeaking={isKiraSpeaking} userName={userName} livePartial={livePartial} />
|
||||
@@ -142,14 +139,15 @@ export default function App() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* CENTER: Focus Timer + Notes */}
|
||||
<div className="flex-1 flex flex-col gap-4 min-w-0">
|
||||
<div className="flex-1 flex items-center justify-center">
|
||||
<Timer />
|
||||
</div>
|
||||
<div className="shrink-0">
|
||||
<Notes />
|
||||
</div>
|
||||
{/* CENTER: Avatar (hero) */}
|
||||
<div className="flex-1 min-w-0 rounded-2xl bg-white/30 overflow-hidden">
|
||||
<KiraAvatar
|
||||
isSpeaking={isKiraSpeaking}
|
||||
isListening={isRecording}
|
||||
outfit={currentOutfit}
|
||||
accessory={currentAcc}
|
||||
onTalkToggle={handleTalkToggle}
|
||||
/>
|
||||
</div>
|
||||
|
||||
{/* RIGHT: Ambient + Companions */}
|
||||
|
||||
Reference in New Issue
Block a user