'use client'; import { useState } from 'react'; import HLSPlayer from '@/components/HLSPlayer'; import ViewerCount from '@/components/ViewerCount'; import NowPlaying from '@/components/NowPlaying'; import ChatSidebar from '@/components/ChatSidebar'; import streamingConfig from '@/config/streaming'; export default function Home() { const [showChat, setShowChat] = useState(true); // Stream URL from config - set NEXT_PUBLIC_STREAM_URL in .env.local const streamUrl = streamingConfig.streamUrl; return (
{/* Header */}
A

AeThex LABS

Live Stream

{/* Main Content */}
{/* Video Player Section */}
{/* Video Player */}
{/* Video Info Bar */}
{/* Chat Sidebar */} {showChat && (
)}
{/* Footer */}
); }