feat: add new pages and layout components for improved navigation and structure

- Added AppLayout component to standardize page layout with breadcrumb support.
- Introduced AppSidebar for navigation with user-specific links and admin options.
- Created new pages: SoundsPage, PlaylistsPage, ExtractionsPage, UsersPage, and SettingsPage.
- Removed obsolete SocketStatus component and replaced it with SocketBadge for connection status.
- Updated DashboardPage to utilize the new layout and sidebar components.
- Added NavGroup and NavItem components for better organization of sidebar navigation.
- Included SocketBadge to display real-time connection status.
- Updated package.json to include vitest and coverage-v8 for testing and coverage reporting.
This commit is contained in:
JSC
2025-08-02 12:12:03 +02:00
parent d2891f4f2b
commit e66ab7b7f8
16 changed files with 589 additions and 87 deletions

View File

@@ -0,0 +1,21 @@
import { AppLayout } from '@/components/AppLayout'
export function ExtractionsPage() {
return (
<AppLayout
breadcrumb={{
items: [
{ label: 'Dashboard', href: '/' },
{ label: 'Extractions' }
]
}}
>
<div className="flex-1 rounded-xl bg-muted/50 p-4">
<h1 className="text-2xl font-bold mb-4">Audio Extractions</h1>
<p className="text-muted-foreground">
Audio extraction management interface coming soon...
</p>
</div>
</AppLayout>
)
}