feat(ui): implement home page and ai chat input with voice orb
Implement the core user interface components including the home page, a sophisticated AI chat input component, and a 3D voice visualization service using Three.js. - Add `HomePage` component with responsive layout and theme integration. - Add `AiChatInputComponent` supporting text, file attachments, and voice mode transitions. - Implement `VoiceOrbService` using Three.js to provide a reactive 3D animated orb for voice interaction. - Update routing to include the new home page. - Refactor `SettingsPage` to clean up unused RTL logic and improve UI styling. - Adjust Angular build budgets in `angular.json` to accommodate increased bundle size from Three.js.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<div class="home-page">
|
||||
<div class="home-content">
|
||||
<div class="home-header">
|
||||
<div class="home-icon-wrapper">
|
||||
<img
|
||||
class="home-logo"
|
||||
[src]="logoSrc()"
|
||||
alt="Raymand"
|
||||
/>
|
||||
</div>
|
||||
<h1 class="home-title">دستیار هوشمند</h1>
|
||||
<p class="home-subtitle">سوال خود را بپرسید، من اینجا هستم</p>
|
||||
</div>
|
||||
|
||||
<app-ai-chat-input
|
||||
placeholder="پیام خود را بنویسید..."
|
||||
(messageSent)="onMessageSent($event)"
|
||||
(fileSelected)="onFileSelected($event)"
|
||||
(voiceToggled)="onVoiceToggled($event)"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user