refactor: remove unused UI components and replace GlassCard with Card in voice components

- Deleted Item, Kbd, Marker, Message, NativeSelect, Questionnaire, Spinner components.
- Replaced GlassCard with Card in VoiceActivityTimeline, VoiceConnectionCard, ListenControl, MicControl, and SpeakerWaveform components.
- Introduced AppSidebar and ThemeToggle components for improved navigation and theme management.
This commit is contained in:
asepharyana
2026-08-07 17:33:12 +07:00
parent 2c995b41d7
commit 4f9d4a5c7d
50 changed files with 382 additions and 2710 deletions
@@ -2,7 +2,7 @@
import type { LucideIcon } from "lucide-react";
import { Inbox } from "lucide-react";
import { GlassPanel } from "@/components/glass/panel";
import { Card } from "@/components/ui/card";
import { cn } from "@/lib/utils";
interface EmptyStateProps {
@@ -19,13 +19,16 @@ export function EmptyState({
className,
}: EmptyStateProps) {
return (
<GlassPanel
dense
className={cn("flex flex-col items-center gap-2 py-12", className)}
<Card
className={cn(
"flex flex-col items-center gap-2 py-12",
className,
"[--card-spacing:0px]",
)}
>
<Icon className="size-8 text-text-secondary/20" />
<p className="text-sm text-text-secondary/60">{title}</p>
<p className="text-xs text-text-secondary/40">{description}</p>
</GlassPanel>
</Card>
);
}