"use client"; import { Headphones, Server, Volume2 } from "lucide-react"; import { GlassCard } from "@/components/glass/card"; import { Button } from "@/components/ui/button"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@/components/ui/select"; import type { Channel, Guild } from "@/lib/types"; import { cn } from "@/lib/utils"; interface ConnectionCardProps { connected: boolean; activeChannelName?: string | null; guilds: Guild[]; voiceChannels: Channel[]; selectedGuild: string; selectedChannel: string; onGuildChange: (guildId: string | null) => void; onChannelChange: (channelId: string | null) => void; onConnect: () => void; onDisconnect: () => void; connecting?: boolean; } export function VoiceConnectionCard({ connected, activeChannelName, guilds, voiceChannels, selectedGuild, selectedChannel, onGuildChange, onChannelChange, onConnect, onDisconnect, connecting, }: ConnectionCardProps) { return (
Voice Connection {activeChannelName && ( {activeChannelName} )}
{connected ? ( ) : ( )}
{/* Guild select */}
{/* Channel select */}
); }