feat(ui): implement voice interaction and enhanced home page animations
Introduces a comprehensive voice interaction system and upgrades the home page experience with dynamic typing effects and improved layout transitions. Key changes: - Added `MicrophoneService` for managing media stream lifecycle and permissions. - Added `SpeechRecognitionService` for continuous speech-to-text processing. - Added `VoiceOrbService` using Three.js to render an animated audio-reactive orb. - Enhanced `HomePage` with a randomized typing effect for welcome titles and improved state management for message transitions. - Refactored `AiChatInputComponent` to support seamless switching between text composer and voice recording modes. - Improved `SidebarComponent` navigation logic and styling. - Updated global styles and component CSS for better theme consistency and smoother animations.
This commit is contained in:
+8
-1
@@ -10,7 +10,7 @@
|
||||
--color-info: #06b6d4;
|
||||
--color-card-bg: #ffffff;
|
||||
--color-card-border: #e2e8f0;
|
||||
--color-text-primary: #122033;
|
||||
--color-text-primary: #1D3557;
|
||||
--color-text-secondary: #374151;
|
||||
--color-text-muted: #64748b;
|
||||
--color-input-bg: #ffffff;
|
||||
@@ -36,6 +36,9 @@
|
||||
--main-content-bg: #f8fafc;
|
||||
--toggle-bg: #e5e7eb;
|
||||
--toggle-slider: #ffffff;
|
||||
--text-primary: var(--color-text-primary);
|
||||
--text-secondary: var(--color-text-secondary);
|
||||
--text-muted: var(--color-text-muted);
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] {
|
||||
@@ -65,6 +68,10 @@
|
||||
--color-input-border: #3e3e3e;
|
||||
--color-dropzone-bg: rgba(23, 23, 23, 0.6);
|
||||
--color-dropzone-border: #3e3e3e;
|
||||
|
||||
--text-primary: var(--color-text-primary);
|
||||
--text-secondary: var(--color-text-secondary);
|
||||
--text-muted: var(--color-text-muted);
|
||||
}
|
||||
|
||||
* {
|
||||
|
||||
Reference in New Issue
Block a user