import React, { useState } from 'react'; import { Card } from '../ui/card'; import { Button } from '../ui/button'; import { Badge } from '../ui/badge'; import { Users, Heart, Share2, DollarSign, MessageSquare, Send, Radio, Settings, Maximize2 } from 'lucide-react'; import { LiveStream } from '../../types'; import { useToast } from '../../context/ToastContext'; const featuredStream: LiveStream = { id: '1', title: 'Late Night DnB Production 🎧 | Feedback Session', streamer: 'Neuro_Glitch', viewers: 1240, thumbnailUrl: 'https://picsum.photos/id/140/800/450', tags: ['Production', 'Ableton', 'DnB'], isLive: true, category: 'Production' }; const chatMessages = [ { user: 'BassHead99', text: 'That Reese bass is filthy! 🤮🔥', color: 'text-kodo-cyan' }, { user: 'Studio_Rat', text: 'What VST is that?', color: 'text-gray-400' }, { user: 'Neuro_Glitch', text: 'It\'s Phase Plant, just initializing now.', color: 'text-kodo-gold font-bold' }, { user: 'VocalChops', text: 'Sent a $5 dono! Check my track?', color: 'text-kodo-lime' }, ]; export const LiveView: React.FC = () => { const { addToast } = useToast(); const [msgInput, setMsgInput] = useState(''); const handleSend = () => { if (!msgInput) return; addToast("Message sent to chat", "success"); setMsgInput(''); }; return (
addToast("Opening Streamer Profile")}>{featuredStream.streamer}