mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-09-19 14:50:38 -07:00
Refactor App layout and enhance UI components for better usability
- Changed the default active tab in the App component from 'profiles' to 'main'. - Improved the layout of the main content area to better accommodate different views, including profiles, generation forms, and history. - Updated Sidebar component to reflect the new tab structure with a 'main' tab. - Enhanced the GenerationForm to utilize the selected profile from the UI store, improving user feedback when no profile is selected. - Added a new CircleButton component for better icon button interactions. - Adjusted styles in various components for improved responsiveness and visual consistency.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { History, Mic, Settings, Sparkles } from 'lucide-react';
|
||||
import { Home, Settings } from 'lucide-react';
|
||||
import { cn } from '@/lib/utils/cn';
|
||||
|
||||
interface SidebarProps {
|
||||
@@ -7,9 +7,7 @@ interface SidebarProps {
|
||||
}
|
||||
|
||||
const tabs = [
|
||||
{ id: 'profiles', icon: Mic, label: 'Profiles' },
|
||||
{ id: 'generate', icon: Sparkles, label: 'Generate' },
|
||||
{ id: 'history', icon: History, label: 'History' },
|
||||
{ id: 'main', icon: Home, label: 'Main' },
|
||||
{ id: 'settings', icon: Settings, label: 'Settings' },
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user