Skip to content

Commit 8664a70

Browse files
design fix
1 parent 9995d8c commit 8664a70

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/components/NyraChatbot.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -330,27 +330,27 @@ const NyraChatbot = () => {
330330
{browserSupportsRecording && (
331331
<button
332332
onClick={toggleVoiceMode}
333-
className={`p-2 rounded-full ${isVoiceMode ? 'bg-blue-100 text-blue-600' : 'text-slate-500 hover:bg-slate-200'} transition-colors`}
333+
className={`cursor-pointer p-2 rounded-full ${isVoiceMode ? 'bg-blue-100 text-blue-600' : 'text-slate-500 hover:bg-slate-200'} transition-colors`}
334334
aria-label="Toggle Voice Mode"
335335
>
336336
{isVoiceMode ? <FiMicOff size={18} /> : <FiMic size={18} />}
337337
</button>
338338
)}
339339
<button
340340
onClick={toggleMute}
341-
className={`p-2 rounded-full ${isMuted ? 'bg-red-100 text-red-600' : 'text-slate-500 hover:bg-slate-200'} transition-colors`}
341+
className={`cursor-pointer p-2 rounded-full ${isMuted ? 'bg-red-100 text-red-600' : 'text-slate-500 hover:bg-slate-200'} transition-colors`}
342342
aria-label="Toggle Mute"
343343
>
344344
{isMuted ? <FiVolumeX size={18} /> : <FiVolume2 size={18} />}
345345
</button>
346346
<button
347347
onClick={() => setIsFullScreen(prev => !prev)}
348-
className="p-2 rounded-full text-slate-500 hover:bg-slate-200 transition-colors hidden sm:block"
348+
className={`cursor-pointer p-2 rounded-full text-slate-500 hover:bg-slate-200 transition-colors hidden sm:block`}
349349
aria-label={isFullScreen ? "Exit Full Screen" : "Enter Full Screen"}
350350
>
351351
{isFullScreen ? <FiMinimize size={18} /> : <FiMaximize size={18} />}
352352
</button>
353-
<button onClick={() => setIsOpen(false)} className="text-slate-500 hover:text-slate-800" aria-label="Close Chat">
353+
<button onClick={() => setIsOpen(false)} className={`cursor-pointer text-slate-500 hover:text-slate-800`} aria-label="Close Chat">
354354
<FiX size={24} />
355355
</button>
356356
</div>

src/components/NyraVoiceVisualizer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ export default function NyraVoiceVisualizer({ state, onClick }: NyraVoiceVisuali
4545
) : (
4646
<div className="flex flex-col items-center gap-1">
4747
{state === 'listening' ? <FiSquare size={22} /> : <FiMic size={22} />}
48-
<div className="w-16 h-2 bg-white/20 rounded-full overflow-hidden">
48+
{/* <div className="w-16 h-2 bg-white/20 rounded-full overflow-hidden">
4949
<div className="h-full bg-white/60 animate-pulse" style={{ width: state === 'listening' ? '70%' : '20%' }} />
50-
</div>
50+
</div> */}
5151
</div>
5252
)}
5353
</motion.button>

0 commit comments

Comments
 (0)